Posted: 8/23/2011
I'm not sure if this topic came up in the past .. (i'm sure it has)... but how does one go about adding RSS news feeds to an HTML page? you know the type scrolling across pages and updated by the minute or daily.is there a site that write the script for you and how does one go about adding that to the html page. or, if that's not advisable, which is the best way to go about doing this?ps: i'm quite new to the web design thing.thanks.
Posted: 8/24/2011
nbsabbj mino said: I'm not sure if this topic came up in the past .. (i'm sure it has)... but how does one go about adding RSS news feeds to an HTML page? you know the type scrolling across pages and updated by the minute or daily.is there a site that write the script for you and how does one go about adding that to the html page. or, if that's not advisable, which is the best way to go about doing this?ps: i'm quite new to the web design thing.thanks.
Hi there.
You can easily do that using jQuery Ajax and inject the HTML by appending the returned data set from the RSS feed.
Please, take a look at the following two links:
- http://kyleschaeffer.com/best-practices/the-perfect-jquery-ajax-request/ - How to make jQuery Ajax request to RSS Feeds. Actually, in this blog the user makes comparison between plain ajax and jquery ajax, however the demo shows loading RSS feeds which is for you. Take a look at the second code snippet.
- http://www.noprobweb.com/rss_feed_flux_jquery.php - jQuery RSS Feeds plugin.
Hope this is helpful.
Regards,Hajan