Re: Rowing Service RSS feed
- From: kdavies@xxxxxxxxxx
- Date: 11 May 2006 02:17:35 -0700
Ewoud Dronkert wrote:
Inspirated by an idea from Neil, I made fairly basic RSS 2.0 feed for
RQ's page. It's linked from http://www.usrtriton.nl/rowingservice/
Actually it just grabs and parses the "new.html" page. It displays the
first 60 or so characters of every bulleted item of the last 5 days.
It links back to the new.html page with "named anchor" links that for
the time being don't go anywhere, so you will land at the top of the
page. RQ shall probably insert the necessary html tags when she has
the time; then the links will point to the start of each daily update
which is slightly more relevant. In the RSS feed, each item only has a
title, no description.
The feed is cached on my server, by the way, and only refreshed if the
local copy is older than 3 hours. I think that's fast enough (and will
get RQ only 7 or 8 extra hits on the site per day no matter how many
people subscribe to the feed).
It will all fall apart if the source structure of the new.html page
changes too much :)
Cheers,
E.
Useful, thanks!
One thought: rather than just directing the browser to new.html in the
feed, you could relay the HTML to the client via your server,
dynamically adding anchors in the process. Depends on how much HTML
processing you want to get involved with.
But I agree, ideally each item gets an anchor.
Regards
Kit
.
- Follow-Ups:
- Re: Rowing Service RSS feed
- From: Ewoud Dronkert
- Re: Rowing Service RSS feed
- From: Edd
- Re: Rowing Service RSS feed
- References:
- Rowing Service RSS feed
- From: Ewoud Dronkert
- Rowing Service RSS feed
- Prev by Date: Re: Topics for beginners
- Next by Date: Re: Rowing Service RSS feed
- Previous by thread: Rowing Service RSS feed
- Next by thread: Re: Rowing Service RSS feed
- Index(es):
Relevant Pages
|