Reply to comment

RSS feed for Articles about any term using DayPI Search

By sumit_kataria

I have written a PHP script that generates RSS feeds for articles by calling Daylife's search APIs for any topic, queries, tags or events happening in the world.

Each item in the RSS feeds contains an article headline, description, published time and link to the original source of the article. To produce a desired RSS feed of your interest, you can use the script that I have hosted by forming a URL that looks like:

http://www.buzzingblog.com/dayliferss/rss.php?query=<search term of your choice>

For e.g.,

http://www.buzzingblog.com/dayliferss/feed.php?query=Barack%20Obama

Read more about Daylife's Search query syntax to form your queries intelligently.

You can also specify the number of items you want to pull in the feed using a limit parameter. So your final URL will looks like

http://www.buzzingblog.com/dayliferss/feed.php?query=Barack%20Obama&limit=20

The last parameter that the script allows is source_filter_id. Read more about source filters here to learn how you can restrict your search to a limited number of sources.

With the availability of RSS feeds on top of the Daylife API, opportunities to build news applications are endless. The script calls the Daylife API on every request and builds the RSS feed in real time. Webmasters can use RSS generator to produce feeds on desired topics to feed them their Drupal/Joomla or any other RSS supported content management systems.

You can download the script and run it on your own server, in case, you want to customize it. You will need to substitute your own accesskey and shared secret that you received from Daylife to make the script work.

 

AttachmentSize
feed.zip3.55 KB

Reply

CAPTCHA
This question helps us test whether you are a human visitor and to prevent automated spam submissions.
3 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.