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.
http://www.buzzingblog.com/dayliferss/feed.php?query=Barack%20Obama&limit=20
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.
| Attachment | Size |
|---|---|
| feed.zip | 3.55 KB |
Comments
Thanks for the RSS feed generator
Sumit,
Thanks for the great effort. RSS feeds for articles will be very useful in creating mashups with other platforms and content management systems.
Daylife has also hosted a version of the script here - http://demos.daylife.com/demos/feed.php?query=%22Barack%20Obama%22&limit=5
Change the query and limit parameter for your use.
-- Vineet
Thanks Vineet
My blog post for RSS feed generator
http://www.sumitk.net/rss_generator
hope you all will enjoy it :)
sumit