Google

Home
Most Popular
Petals

|
*
2005/11/29
 22:19:47

RSS and site updates

Inspired by JL! a while back, I finally got around to updating my RSS feeds. I split into two feeds, one for the main entries here, and the second for the comments. Both are also not just top x, but incorporate a time-based criteria as well. So if I stop updating (or people stop commenting), my feed won't become like some certain ones where old entries pop back up in the RSS readers since they're so old. Yea, that's working with bad client design (expire based on fetch date rather than last seen), but it seems to be a common bad client design.

Anyways, the feeds are in the source code of the main index. For those too lazy to look, they're Entries and Comments.

As I already had code to handle scheduled but action-based static files updates in place for sitemaps, I used it for this too. The feeds are also now static files, making readers that pay attention to last update times at the HTTP level more efficient. This also means that there may be a few minutes delay before entries or comments appear in the feeds. If you're pulling them at any sane interval (>= 15 minutes), you won't notice. You may have also already noticed the other new addition. If you haven't you apparently don't use RSS.

#
By erik on 2005/12/01 at 13:21:11

So...what are the chances you could include the post text in the RSS feeds instead of just the first 50 words or so?

...makes life easier for those of us who use RSS aggregators.

#
By Jeremy on 2005/12/01 at 13:22:54

Good call. That was a spec limitation with 0.92. Since I changed them all to 2.0 there's no length limit anymore. I'll get that changed at some point.

#
By Jeremy on 2005/12/01 at 19:54:18

Changed. I may see about adding in the other content at some point too, but then I have to worry about it being valid XML, so that's not there yet.

#
By erik on 2005/12/02 at 08:19:58

thanks!