Dapper changes RSS feed ?

Dennis Kaarsemaker dennis at kaarsemaker.net
Fri Nov 11 12:48:00 UTC 2005


On vr, 2005-11-11 at 13:28 +0100, Vincent Trouilliez wrote:

> Thanks for fixing it ;-) I don't know a thing about RSS... once you have
> modified the feed, do I have to un-subscribe and resubscribe, for the
> change to take effect, or will BLAM see the change automatically next
> time I refresh ? 

You don't have to do a thing, the feed will steadily grow until it
contains 80 item and then it'll keep the last 80.

Or to say it in python, i changed

rssdb['msgs'] = rssdb['msgs'][-49:] + [msg]

to 

rssdb['msgs'] = rssdb['msgs'][-79:] + [msg]
-- 
Dennis K.
  - Linux for human beings: http://www.ubuntulinux.org
  - Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051111/82d6bb3e/attachment.sig>


More information about the ubuntu-users mailing list