{"id":187,"date":"2017-07-20T07:27:26","date_gmt":"2017-07-20T07:27:26","guid":{"rendered":"http:\/\/blog.staginginstance.com\/?p=187"},"modified":"2018-04-30T22:08:28","modified_gmt":"2018-04-30T22:08:28","slug":"using-ibm-watsons-discovery-service-get-fresh-content","status":"publish","type":"post","link":"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/","title":{"rendered":"Using IBM Watson&#8217;s Discovery Service to get fresh content"},"content":{"rendered":"<p>Fresh content on a website serves multiple purposes, including keeping you in the\u00a0search engine loop. Updating your site is just as important to search engines as it is to your visitors. Search engines generally give high praises to websites that offer new information and sources for search requests. However, being desirable to search engines is not the only reason to update your site frequently.<\/p>\n<p>We often find it hard to get fresh content for our website. We have to go through tonnes of websites, blog articles and much more to get a decent amount of content to share on our website.<!--more--><\/p>\n<p>Although there are many websites providing you content, but if you&#8217;re looking for a permanent solution you can go for IBM Watson&#8217;s Discovery service.<\/p>\n<blockquote>\n<p style=\"text-align: right;\">Watson Discovery News is a dataset of primarily English language news sources that is updated continuously, with approximately 300,000 new articles and blogs added daily.<\/p>\n<p style=\"text-align: right;\">This indexed dataset is pre-enriched with the following cognitive insights: Keyword Extraction, Entity Extraction, Concept Tagging, Relation Extraction, Sentiment Analysis, and Taxonomy Classification.<\/p>\n<p style=\"text-align: right;\">The following additional metadata is also added: crawl date, publication date, URL ranking, host rank, and anchor text. Historical search is available for the past 60 days of news data.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1354\" height=\"580\" class=\"wp-image-190 aligncenter\" src=\"http:\/\/blog.staginginstance.com\/wp-content\/uploads\/2017\/07\/IBMWatson.png\" alt=\"IBM Watson\" srcset=\"https:\/\/geekabhi.com\/blog\/wp-content\/uploads\/2017\/07\/IBMWatson.png 1354w, https:\/\/geekabhi.com\/blog\/wp-content\/uploads\/2017\/07\/IBMWatson-300x129.png 300w, https:\/\/geekabhi.com\/blog\/wp-content\/uploads\/2017\/07\/IBMWatson-768x329.png 768w, https:\/\/geekabhi.com\/blog\/wp-content\/uploads\/2017\/07\/IBMWatson-1024x439.png 1024w\" sizes=\"(max-width: 1354px) 100vw, 1354px\" \/><\/p><\/blockquote>\n<p>You can integrate it in your website and start publishing content from within your system. Implementation is fairly easy. I recently had an opportunity to integrate it in one of the products i am working on. It is a simple curl api call done using a proper authentications.\u00a0It has wide variety of filters, aggregations to refine your results and give what exactly you require for your website.<\/p>\n<p>You can download it from Github Repo:\u00a0<a href=\"https:\/\/github.com\/abhij89\/ibm-watson-discovery-api\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/abhij89\/ibm-watson-discovery-api<\/a><\/p>\n<p>Installation is fairly easy:<\/p>\n<ul>\n<li>Download the code.<\/li>\n<li>Extract it and add DiscoveryApi.php in project<\/li>\n<li>Then use the following code to start using it:<\/li>\n<\/ul>\n<pre><code>require_once('DiscoveryApi.php');\r\n\r\n$alchemy = new DiscoveryApi();\r\n$data = $alchemy-&gt;queryCollection(\"IBM\", \"\", \"1 day\");\r\necho \"&lt;pre&gt;\";print_r($data);<\/code><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fresh content on a website serves multiple purposes, including keeping you in the\u00a0search engine loop. Updating your site is just as important to search engines as it is to your visitors. Search engines generally give high praises to websites that offer new information and sources for search requests. However, being desirable to search engines is&hellip; <a class=\"more-link\" href=\"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/\">Continue reading <span class=\"screen-reader-text\">Using IBM Watson&#8217;s Discovery Service to get fresh content<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[3,23,8,2],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using IBM Watson&#039;s Discovery Service to get fresh content - Learner at life<\/title>\n<meta name=\"description\" content=\"Implementing IBM Watson&#039;s Discovery api to get fresh content every day for your website. Download it from GIthub now. Installation is easy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using IBM Watson&#039;s Discovery Service to get fresh content\" \/>\n<meta property=\"og:description\" content=\"Implementing IBM Watson&#039;s Discovery api to get fresh content every day for your website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/\" \/>\n<meta property=\"og:site_name\" content=\"Learner at life\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/abhij89\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-20T07:27:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-04-30T22:08:28+00:00\" \/>\n<meta name=\"author\" content=\"Abhishek Jain\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Using IBM Watson&#039;s Discovery Service to get fresh content\" \/>\n<meta name=\"twitter:description\" content=\"Implementing IBM Watson&#039;s Discovery api to get fresh content every day for your website.\" \/>\n<meta name=\"twitter:image\" content=\"http:\/\/blog.staginginstance.com\/wp-content\/uploads\/2017\/07\/IBMWatson.png\" \/>\n<meta name=\"twitter:creator\" content=\"@abhij89\" \/>\n<meta name=\"twitter:site\" content=\"@abhij89\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abhishek Jain\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/\",\"url\":\"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/\",\"name\":\"Using IBM Watson's Discovery Service to get fresh content - Learner at life\",\"isPartOf\":{\"@id\":\"https:\/\/geekabhi.com\/blog\/#website\"},\"datePublished\":\"2017-07-20T07:27:26+00:00\",\"dateModified\":\"2018-04-30T22:08:28+00:00\",\"author\":{\"@id\":\"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/75cf5ee8cc7d8c1a9ba81628bb57443e\"},\"description\":\"Implementing IBM Watson's Discovery api to get fresh content every day for your website. Download it from GIthub now. Installation is easy.\",\"breadcrumb\":{\"@id\":\"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/geekabhi.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using IBM Watson&#8217;s Discovery Service to get fresh content\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/geekabhi.com\/blog\/#website\",\"url\":\"https:\/\/geekabhi.com\/blog\/\",\"name\":\"Learner at life\",\"description\":\"Blog to help you learn stuff\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/geekabhi.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/75cf5ee8cc7d8c1a9ba81628bb57443e\",\"name\":\"Abhishek Jain\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/85387a40fe2c6954082743d1a8aa6c0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/85387a40fe2c6954082743d1a8aa6c0f?s=96&d=mm&r=g\",\"caption\":\"Abhishek Jain\"},\"description\":\"Techie with 10+ years of experience and counting.\",\"sameAs\":[\"http:\/\/www.geekabhi.com\",\"https:\/\/twitter.com\/abhij89\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using IBM Watson's Discovery Service to get fresh content - Learner at life","description":"Implementing IBM Watson's Discovery api to get fresh content every day for your website. Download it from GIthub now. Installation is easy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/","og_locale":"en_US","og_type":"article","og_title":"Using IBM Watson's Discovery Service to get fresh content","og_description":"Implementing IBM Watson's Discovery api to get fresh content every day for your website.","og_url":"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/","og_site_name":"Learner at life","article_publisher":"http:\/\/abhij89","article_published_time":"2017-07-20T07:27:26+00:00","article_modified_time":"2018-04-30T22:08:28+00:00","author":"Abhishek Jain","twitter_card":"summary_large_image","twitter_title":"Using IBM Watson's Discovery Service to get fresh content","twitter_description":"Implementing IBM Watson's Discovery api to get fresh content every day for your website.","twitter_image":"http:\/\/blog.staginginstance.com\/wp-content\/uploads\/2017\/07\/IBMWatson.png","twitter_creator":"@abhij89","twitter_site":"@abhij89","twitter_misc":{"Written by":"Abhishek Jain","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/","url":"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/","name":"Using IBM Watson's Discovery Service to get fresh content - Learner at life","isPartOf":{"@id":"https:\/\/geekabhi.com\/blog\/#website"},"datePublished":"2017-07-20T07:27:26+00:00","dateModified":"2018-04-30T22:08:28+00:00","author":{"@id":"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/75cf5ee8cc7d8c1a9ba81628bb57443e"},"description":"Implementing IBM Watson's Discovery api to get fresh content every day for your website. Download it from GIthub now. Installation is easy.","breadcrumb":{"@id":"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/geekabhi.com\/blog\/using-ibm-watsons-discovery-service-get-fresh-content\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/geekabhi.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Using IBM Watson&#8217;s Discovery Service to get fresh content"}]},{"@type":"WebSite","@id":"https:\/\/geekabhi.com\/blog\/#website","url":"https:\/\/geekabhi.com\/blog\/","name":"Learner at life","description":"Blog to help you learn stuff","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/geekabhi.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/75cf5ee8cc7d8c1a9ba81628bb57443e","name":"Abhishek Jain","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/85387a40fe2c6954082743d1a8aa6c0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/85387a40fe2c6954082743d1a8aa6c0f?s=96&d=mm&r=g","caption":"Abhishek Jain"},"description":"Techie with 10+ years of experience and counting.","sameAs":["http:\/\/www.geekabhi.com","https:\/\/twitter.com\/abhij89"]}]}},"_links":{"self":[{"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/posts\/187"}],"collection":[{"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":8,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"predecessor-version":[{"id":197,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/posts\/187\/revisions\/197"}],"wp:attachment":[{"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}