Random RSS Feed Generator

By: sumitk

21 May 2008

Finally my Random RSS feed generator using Daylife's API is ready and out. Daylife guys's have accepted it and they are now using it to do some cool mashups on their news servers. I am very happy to see its use there. The basic thing about this peice of software is - you query the server with required tags and server responds to you with a RSS feed on that topic fetching results from wide news sources on Daylife. The best part about this produced RSS is it produces RSS from whole web resources as Daylife is collecting and compiling news from lot of sources all over web. Example using this script : suppose I want a script on China earthquake topic so URL : http://www.buzzingblog.com/dayliferss/rss.php?query=china%20earthquake&l... It will produce you a feed from latest news resources over this topic. Without limit default it returns 10 results in feeds. I wanna thank Daylie developer Vineet Gupta who helped a lot during writing and debugging this script. Journey throughout behind production of this script : Before reaching this effortless method to produce RSS from Daylife's API I also tried a few others. The first one was use of a software with loops around in raw xml tags and produces RSS feed from it. It was a real mess as the feed changes automatically after a few refreshes. Oh my complete waste of 2 day work :(. Next someone on #xml told me to go for XSL stylesheets to modify existing XML to desired RSS. So I spent a whole night finding and writing about these XSL sheets :). I say they really do something but i was not able to see any RSS output through them. So this method failed as well :(. Now at last the final survival was DOM so I go for it through a php script. Seriously it was the easiest one to go thru. I wrote a few scripts over this and now we are with a final version 1.02 with everything working fine and beautifully :) . The script right now is hosted over my other blog http://www.buzzingblog.com/dayliferss/rss.php?query=India&limiy=20 Happy feeding with this link :) In end special thanks to Mr. Vineet Gupta for his help in php library and debugging stuff.

  • No comments

No Responses yet to Random RSS Feed Generator

Post new comment

The content of this field is kept private and will not be shown publicly.