Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Rowing Service RSS feed

27 views
Skip to first unread message

Ewoud Dronkert

unread,
May 11, 2006, 3:57:14 AM5/11/06
to
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.

kda...@kidare.com

unread,
May 11, 2006, 5:17:35 AM5/11/06
to

Ewoud Dronkert wrote:

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

Edd

unread,
May 11, 2006, 5:29:18 AM5/11/06
to
kda...@kidare.com wrote:

> 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

Ewoud Dronkert

unread,
May 11, 2006, 5:45:07 AM5/11/06
to
On 11 May 2006 02:17:35 -0700, kda...@kidare.com wrote:
>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.

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.

kda...@kidare.com

unread,
May 11, 2006, 10:38:29 AM5/11/06
to

Edd wrote:

Yep, good point. Number of hits would be maintained, but not their
source, etc.

She needs anchors!

Kit

Ewoud Dronkert

unread,
May 11, 2006, 3:06:45 PM5/11/06
to
kda...@kidare.com wrote:
> She needs anchors!

Is that the new Henley Handicap System of which I heard so much?

--
E. Dronkert

Ewoud Dronkert

unread,
May 11, 2006, 4:39:35 PM5/11/06
to
Ewoud Dronkert wrote:
> Inspirated by an idea from Neil, I made a fairly basic RSS 2.0 feed

> for RQ's page. It's linked from http://www.usrtriton.nl/rowingservice/

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

Neil Wallace

unread,
May 12, 2006, 11:35:27 AM5/12/06
to

Ewoud,

you are a star.
that's the mutts nutts.

Works great as a live bookmark in Firefox.

Neil.


0 new messages