The problem was that FreeRoller has two DNS names 'freeroller.net' and 'roller.anthonyeden.com' and Roller uses the Servlet API request.getRequestURL() method to determine the URLs for RSS feed permalinks. Normally, this would not be a problem. You enter the freeroller.net address in your aggregator and you always get permalinks the to freeroller.net domain.
After Roller started caching RSS feeds, this became a problem. Sometimes RSS feeds would be cached with the freeroller.net address and sometimes they would be cached with the roller.anthonyeden.com address. If your aggregator recieved a copy of a feed at 1PM with the freeroller.net address and the same unchanged feed at 2PM with the roller.anthonyeden.com address, it would be fooled into thinking that every news item in the feed had been updated because the permalinks are different.
I fixed this by changing Roller so that it determines it's base URL only once and then stores this URL in the ServletContext as an attribute. There is still a risk that when Roller is restarted, feeds will appear to have been updated depending on whether the first request is for freeroller.net or roller.anthonyeden.com. Anybody have a better solution?
Bryan Field-Elliot suggests adding a configuration parameter so that a Roller admin can specify the 'base URL for RSS permalinks'. Sounds good to me.
This work is licensed under a Creative Commons License.
Copyright 2002-2007, David M Johnson (dave.johnson at rollerweblogger.org)
This is a personal weblog, I do not speak for my employer.

Buy now from Amazon.com
Or direct from Manning
| « November 2008 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 8 | |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 20 | 21 | 22 | |||
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | ||||||
| Today | ||||||
Allen Gilliland
Anil Gangolli
Dan Axon
Danese Cooper
Film Babble Blog
Geertjan's Weblog
Henri Yandell
James Robertson
Jim Grisanzio
Josh Staiger
Linda Skrocki
Pat Chanezon
Rama
Ruby Sinreich
Simon Phipps
Tim Bray
Will Snow
Janne Jalkanen
Joe Gregorio
Matt Raible
Mike Cannon Brookes
Rafe Colburn
Sam Ruby
Simon Brown
My other sites