³ÉÈË¿ìÊÖ Complaints in RSS
[Made by ³ÉÈË¿ìÊÖ Staff]
This simple perl script (after all I only write simple perl scripts) scrapes the HTML of the ³ÉÈË¿ìÊÖ's Complaints site to produce an RSS feed of the ³ÉÈË¿ìÊÖ's published responses. It also scrapes each article to make the RSS feed a bit richer by including the opening couple of paragraphs of the ³ÉÈË¿ìÊÖ's response as the
I formatted it to RSS0.91 because that is what News use - however it may not always validate if there is HTML embedded in the articles themselves that I have failed to strip out.
In my short term "to do" list I'd like shoe-horn some sort of date-stamping of the publication date into the RSS, and learn how to cache it so it doesn't have to call all the pages on every request. Because that is dumb. And maybe include the original complaint to give it more context.
In the long term to improve it I'd get it generated automatically by Scoop like the Comedy blog has, but I forgot to specify it during the project :-)
Comments