Antone Roundy wrote:
On Thursday, June 16, 2005, at 04:37 PM, James M Snell wrote:
Scenario: A content source is updated 100 times per hour. The Atom
feed currently only displays the 20 most recent entries. Users who
are not checking the feed every 10 minutes or so are missing entries.
How do we address this?
1) Tell users to poll more frequently--if they don't, that's their problem
Doesn't solve the problem, probably makes things worse.
2) Make the feed longer than 20 entries
Same as 1)
2a) If the feed is SOMETIMES updated 100 times per hour, but sometimes
only twice per hour, dynamically set the feed length--when regenerating
the feed, include all entries updated in the last hour or so, down to
some minimum number
Same as 2)
3) Push instead of pull
This works.
4) Create a new link @rel to point to the next X entries and keep a
series of static documents containing the older entries
Might work, but requires at least as much extra mechanism as a query param.
cheers
Bill