RSS sources?

Status
Not open for further replies.

mudboy

Ars Legatus Legionis
17,501
Subscriptor
Well, it's time to ditch My Yahoo as my start page, the ads are taking up too much space. So, I've decided to build my own dynamic start page that grabs content from RSS files. I found a decent list of content providers here:

http://www.xmlnews.org/RSS/content.html

But was wondering if you guys knew of any more RSS sources for news content. Also, anyone have any good or bad experiences integrating RSS content into your own sites?

Thanks

Pete
 

StoneTable

Ars Praefectus
3,274
Subscriptor++
RSS is pretty standard these days. We have an RSS feed here. Most news sites have them available. Just poke around a bit and you'll find them.

I've integrated RSS feeds on a few sites, and haven't really run into any problems. The only advice I can offer is to not pull the RSS feed from the site every time someone loads your page. If you are using PHP, I can email you some code that will cache the RSS feed every X minutes, so you're not stressing the server you're pulling the feed from.
 

Prototyped

Ars Legatus Legionis
11,126
StoneTable,

About Ars' RDF feed -- does a request for the RSS feed also get an HTTP Last-modified header, and does it treat a HEAD request differently than a GET request? If it did, a HEAD request for the RSS data would provide the Last-modified information, which could be parsed to determine whether the data had changed. This could be done in a periodic fashion (say, through a job scheduler) to minimize server load and bandwidth consumption.
 

StoneTable

Ars Praefectus
3,274
Subscriptor++
Originally posted by Prototyped:
StoneTable,

About Ars' RDF feed -- does a request for the RSS feed also get an HTTP Last-modified header, and does it treat a HEAD request differently than a GET request? If it did, a HEAD request for the RSS data would provide the Last-modified information, which could be parsed to determine whether the data had changed. This could be done in a periodic fashion (say, through a job scheduler) to minimize server load and bandwidth consumption.

Yes, the server should respond as normal to a HEAD request. The RSS file is recreated on a scheduled basis, though. Plus, the use of HEAD still touches the server. My rule of thumb in the PHP I use to display it on other sites is to just grab the file once every 30 minutes.
Here is the PHP script I use. It'll cache the file every X minutes.
 
Well, I investigated this recently, so I though I would toss in my two cents. In case you do not know, RSS is just XML. However, RSS is an agreed upon standard for writing XML for a specific purpose: syndication. Of course, the W3C manages the standard. They have some nice, but a little confusing, articles available about RSS. Furthermore, the agreed upon standard requires a file that describes the standard itself (DTD file). Actually, you don't create the DTD. Instead you simply link to it (you might already know this, but I thought I would be complete). After that, you simply need to create your RSS file according to specifications. Check out this article for information about writing XML in the appropriate RSS format. Also, check out xml.com for more general information. They have some good articles on RSS and other more general articles about RSS, RPC, SOAP, and of course XML.

Finally, if you want to take the easy route, then you cannot live without RADIO. This application does everything for you and it was developed by the man that create the RSS and SOAP standards, Dave Winer. Trust me, just read the information about the application. Hope that helps.

peptidbond
 
Status
Not open for further replies.