Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Paul Watt
November 18, 2006, 6:37 pm
rate this thread
Re: RSS feeds
Depends on the format and so-forth.
Generally, you just put something like this in the header of your
<link rel="alternate" type="application/rss+xml" title="My Title"
For parsing them to be shown in a web page, you can use XSLT or a library
to parse them, in perl XML::RSS is handy.
The thing to be wary of is the type of feed, as there are several of them out
there. If you know it's RSS 2.0 in advance, you'll be way ahead. Unfortunately,
this isn't always so..
You really shouldn't just include them each time a page is loaded as it'll
bandwidth, make your RSS provider(s) unhappy and cause pages to load slow. You
might use something like XML::RSS to pre-parse an RSS feed from say, a cron
and then insert the parsed results into your page. That way, you're only hitting
them once every day (or however often you fetch the feed) and your page will load
For reading them:
Here's my "cheap-o RSS reader" http://weird.podro.com/gouf/art/text_rss/
I have it set to post RSS feeds to a local news server, along with other
logs and so-forth. So I can read news with.. well.. a news reader.
http://www.geniegate.com Custom web programming
firstname.lastname@example.org (rot13) User Management Solutions
Re: RSS feeds
John Need help with SEO? Get started with a SEO report of your site: