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
> 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.
If RQ uses web server statistics for anything then that sort of
reprocessing might present a problem, I'd have thought.
--
Edd
Great idea :) Rachel's busy for a few days she said, but she also said
adding a few anchors shouldn't be too much trouble. I'll wait for
that. Also, she will want the traffic, ad exposure and visitor
statistics.
>But I agree, ideally each item gets an anchor.
Yeah that's the normal way, but with each item being fairly short (not
really full articles) I think linking to the days is acceptable.
Yep, good point. Number of hits would be maintained, but not their
source, etc.
She needs anchors!
Kit
Is that the new Henley Handicap System of which I heard so much?
--
E. Dronkert
Sorry to keep replying to this thread I started. Heads up for php
geeks and other interested parties: I've added a link to the php
source. Comments welcome.
--
E. Dronkert
Ewoud,
you are a star.
that's the mutts nutts.
Works great as a live bookmark in Firefox.
Neil.