- From: Chris Lilley <chris@w3.org>
- Date: Mon, 12 Jan 2009 19:22:06 +0100
- To: Cameron McCormack <cam@mcc.id.au>
- CC: public-svg-wg@w3.org
On Sunday, January 11, 2009, 4:03:14 AM, Cameron wrote: CM> FYI, I’ve got the syndicated news on w3.org/Graphics/SVG/ working again. CM> A Perl script runs periodically on my machine which will fetch the CM> svg.org news feed and insert its contents into the page. CM> Doug, in case you wanted to investigate getting this to run on W3C CM> machines, I’ve put the script here: CM> http://arc.mcc.id.au/temp/2009/svg-news-updater/ CM> update-news.pl is the script that runs hourly. It mirrors news feed to CM> svg.org/feeds/quick_news.rss, hacks the doctype to fix the bad XML and CM> writes that to ./quick_news.rss, then transforms it with news.xsl if the CM> RSS or Overview-template.html have been updated, then cvs commits it. CM> Note that there are some hardcoded directories in update-news.pl. Note that the feed from svg.org is frequently not well formed and almost alway snot valid. The cause of the nwf is typically unescaped ampersands in URIs, and the invalidity is mostly missing alt attributes on images. Both of these seem easy to fix in a script, although the alt="" would merely make the result valid and not actually improve it in real terms. Yes, it would be great to have the automatic syndication working again. -- Chris Lilley mailto:chris@w3.org Technical Director, Interaction Domain W3C Graphics Activity Lead Co-Chair, W3C Hypertext CG
Received on Monday, 12 January 2009 18:22:24 UTC