{"id":3133100,"date":"2022-04-07T13:26:22","date_gmt":"2022-04-07T13:26:22","guid":{"rendered":"https:\/\/www.newsomaticapi.com\/?p=3133100"},"modified":"2022-04-07T13:26:22","modified_gmt":"2022-04-07T13:26:22","slug":"feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts","status":"publish","type":"post","link":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/","title":{"rendered":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts"},"content":{"rendered":"<p>A new update landed to NewsomaticAPI and the <a href=\"https:\/\/1.envato.market\/newsomatic\">Newsomatic plugin<\/a>, the possibility was added to filter results and exclude countries from the returned news results.<\/p>\n<p>Based on popular request, the Newsomatic plugin and the NewsomaticAPI service were both updated, a new feature was added to them: you can filter posts and exclude countries from being listed in the results.<\/p>\n<p>This can be useful in many cases, for example: if you query English language posts and want to import content from all English speaking countries excluding Great Britain and USA. <\/p>\n<p>You can read more about this new feature also in the <a href=\"https:\/\/www.newsomaticapi.com\/api-documentation\/\">documentation of NewsomaticAPI<\/a>.<\/p>\n<p>If you have more similar update ideas for the Newsomatic plugin or for NewsomaticAPI, let me know in the comments of this post and I will be happy to read them and implement them!<\/p>\n<p><center><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/DwBKVEFPvRk\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/center><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new update landed to NewsomaticAPI and the Newsomatic plugin, the possibility was added to filter results and exclude countries from the returned news results. Based on popular request, the Newsomatic plugin and the NewsomaticAPI service were both updated, a new feature was added to them: you can filter posts and exclude countries from being &#8230;.&nbsp;&nbsp;<a class=\" special\" href=\"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":3133127,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1287755,1287754,1287756],"class_list":["post-3133100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-newsomaticapi","tag-countries","tag-exclude-countries","tag-newsomatic"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Newsomatic API\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"NewsomaticAPI\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-04-07T13:26:22+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-04-07T13:26:22+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#article\",\"name\":\"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI\",\"headline\":\"Feature update for NewsomaticAPI: exclude countries from the resulting news posts\",\"author\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/author\\\/newsomaticapisecret\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.newsomaticapi.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Orange-Reading-Challenge-Burst-YouTube-Thumbnail.png\",\"width\":1280,\"height\":720},\"datePublished\":\"2022-04-07T13:26:22+00:00\",\"dateModified\":\"2022-04-07T13:26:22+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#webpage\"},\"articleSection\":\"NewsomaticAPI, countries, exclude countries, newsomatic\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.newsomaticapi.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/category\\\/newsomaticapi\\\/#listItem\",\"name\":\"NewsomaticAPI\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/category\\\/newsomaticapi\\\/#listItem\",\"position\":2,\"name\":\"NewsomaticAPI\",\"item\":\"https:\\\/\\\/www.newsomaticapi.com\\\/category\\\/newsomaticapi\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#listItem\",\"name\":\"Feature update for NewsomaticAPI: exclude countries from the resulting news posts\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#listItem\",\"position\":3,\"name\":\"Feature update for NewsomaticAPI: exclude countries from the resulting news posts\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/category\\\/newsomaticapi\\\/#listItem\",\"name\":\"NewsomaticAPI\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/#organization\",\"name\":\"NewsomaticAPI\",\"description\":\"An API for searching global news\",\"url\":\"https:\\\/\\\/www.newsomaticapi.com\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/author\\\/newsomaticapisecret\\\/#author\",\"url\":\"https:\\\/\\\/www.newsomaticapi.com\\\/author\\\/newsomaticapisecret\\\/\",\"name\":\"Newsomatic API\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3c91d269f7b36fc9a9faa95fde1c0e7073047393cd1a0b9d7eee77d8053e3462?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Newsomatic API\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#webpage\",\"url\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/\",\"name\":\"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/author\\\/newsomaticapisecret\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/author\\\/newsomaticapisecret\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.newsomaticapi.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/Orange-Reading-Challenge-Burst-YouTube-Thumbnail.png\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#mainImage\",\"width\":1280,\"height\":720},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\\\/#mainImage\"},\"datePublished\":\"2022-04-07T13:26:22+00:00\",\"dateModified\":\"2022-04-07T13:26:22+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/#website\",\"url\":\"https:\\\/\\\/www.newsomaticapi.com\\\/\",\"name\":\"NewsomaticAPI\",\"description\":\"An API for searching global news\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.newsomaticapi.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI","description":"","canonical_url":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#article","name":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI","headline":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts","author":{"@id":"https:\/\/www.newsomaticapi.com\/author\/newsomaticapisecret\/#author"},"publisher":{"@id":"https:\/\/www.newsomaticapi.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.newsomaticapi.com\/wp-content\/uploads\/2022\/04\/Orange-Reading-Challenge-Burst-YouTube-Thumbnail.png","width":1280,"height":720},"datePublished":"2022-04-07T13:26:22+00:00","dateModified":"2022-04-07T13:26:22+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#webpage"},"isPartOf":{"@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#webpage"},"articleSection":"NewsomaticAPI, countries, exclude countries, newsomatic"},{"@type":"BreadcrumbList","@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.newsomaticapi.com#listItem","position":1,"name":"Home","item":"https:\/\/www.newsomaticapi.com","nextItem":{"@type":"ListItem","@id":"https:\/\/www.newsomaticapi.com\/category\/newsomaticapi\/#listItem","name":"NewsomaticAPI"}},{"@type":"ListItem","@id":"https:\/\/www.newsomaticapi.com\/category\/newsomaticapi\/#listItem","position":2,"name":"NewsomaticAPI","item":"https:\/\/www.newsomaticapi.com\/category\/newsomaticapi\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#listItem","name":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.newsomaticapi.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#listItem","position":3,"name":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts","previousItem":{"@type":"ListItem","@id":"https:\/\/www.newsomaticapi.com\/category\/newsomaticapi\/#listItem","name":"NewsomaticAPI"}}]},{"@type":"Organization","@id":"https:\/\/www.newsomaticapi.com\/#organization","name":"NewsomaticAPI","description":"An API for searching global news","url":"https:\/\/www.newsomaticapi.com\/"},{"@type":"Person","@id":"https:\/\/www.newsomaticapi.com\/author\/newsomaticapisecret\/#author","url":"https:\/\/www.newsomaticapi.com\/author\/newsomaticapisecret\/","name":"Newsomatic API","image":{"@type":"ImageObject","@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3c91d269f7b36fc9a9faa95fde1c0e7073047393cd1a0b9d7eee77d8053e3462?s=96&d=mm&r=g","width":96,"height":96,"caption":"Newsomatic API"}},{"@type":"WebPage","@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#webpage","url":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/","name":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.newsomaticapi.com\/#website"},"breadcrumb":{"@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#breadcrumblist"},"author":{"@id":"https:\/\/www.newsomaticapi.com\/author\/newsomaticapisecret\/#author"},"creator":{"@id":"https:\/\/www.newsomaticapi.com\/author\/newsomaticapisecret\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.newsomaticapi.com\/wp-content\/uploads\/2022\/04\/Orange-Reading-Challenge-Burst-YouTube-Thumbnail.png","@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#mainImage","width":1280,"height":720},"primaryImageOfPage":{"@id":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/#mainImage"},"datePublished":"2022-04-07T13:26:22+00:00","dateModified":"2022-04-07T13:26:22+00:00"},{"@type":"WebSite","@id":"https:\/\/www.newsomaticapi.com\/#website","url":"https:\/\/www.newsomaticapi.com\/","name":"NewsomaticAPI","description":"An API for searching global news","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.newsomaticapi.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"NewsomaticAPI","og:type":"article","og:title":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI","og:url":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/","article:published_time":"2022-04-07T13:26:22+00:00","article:modified_time":"2022-04-07T13:26:22+00:00","twitter:card":"summary","twitter:title":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts | NewsomaticAPI"},"aioseo_meta_data":{"post_id":"3133100","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-11-10 11:17:22","updated":"2026-01-04 19:00:02","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.newsomaticapi.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.newsomaticapi.com\/category\/newsomaticapi\/\" title=\"NewsomaticAPI\">NewsomaticAPI<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tFeature update for NewsomaticAPI: exclude countries from the resulting news posts\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.newsomaticapi.com"},{"label":"NewsomaticAPI","link":"https:\/\/www.newsomaticapi.com\/category\/newsomaticapi\/"},{"label":"Feature update for NewsomaticAPI: exclude countries from the resulting news posts","link":"https:\/\/www.newsomaticapi.com\/feature-update-for-newsomaticapi-exclude-countries-from-the-resulting-news-posts\/"}],"_links":{"self":[{"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/posts\/3133100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/comments?post=3133100"}],"version-history":[{"count":1,"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/posts\/3133100\/revisions"}],"predecessor-version":[{"id":3133130,"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/posts\/3133100\/revisions\/3133130"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/media\/3133127"}],"wp:attachment":[{"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/media?parent=3133100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/categories?post=3133100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsomaticapi.com\/apis\/wp\/v2\/tags?post=3133100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}