-----Original Message----- From: openguides-london-bounces@openguides.org [mailto:openguides-london-bounces@openguides.org]On Behalf Of Andrew Black Sent: 13 December 2005 14:10 To: Discussion of the Open Guide to London. Subject: [OGL] RSS is a bit temperamental
The RSS facility on London openguides is great when it works but from time to time produces XML that Thunderbird doesnt like. I havnt managed to pin down what is upsetting it but there something wrong on Fri 9 /12 ( We got the "Sites about London" and "Little Venice" but nothing latter that day).
The next entry after "Little Venice" is for "Shish, NW2 4NH". The XML looks fine to me, and I notice that the comma has veen correctly escaped in the URLs. Maybe Thunderbird doesn't like escaped commas.
- <item rdf:about="http://london.openguides.org/index.cgi?id=Shish%2C_NW2_4NH;version=3"> <title>Shish, NW2 4NH</title> <link>http://london.openguides.org/index.cgi?id=Shish%2C_NW2_4NH;version=3</link> <description>[JohnGH]</description> dc:date2005-12-09T19:59:40+00:00</dc:date> dc:contributorJohnGH</dc:contributor> modwiki:statusupdated</modwiki:status> modwiki:importancemajor</modwiki:importance> <modwiki:diff /> modwiki:version3</modwiki:version> <modwiki:history /> <rdfs:seeAlso rdf:resource="http://london.openguides.org/index.cgi?id=Shish%2C_NW2_4NH;format=rdf" /> </item>
What I am inclined to do is run a cron job that gets a snapshot of the RSS every hour - I suspect there is the odd item that is generating "unusual" XML but once that one has wrapped of the bottom it starts working again.
Sounds like what I had running for the og_mirror script.
BTW - does the RSS always give the the last 15 items. or the items in a particular time period.
Yes, these are the two options at present. You can also get RSS feeds of the last x changes for a contributor, and all nodes in a category or locale.