³ÉÈË¿ìÊÖ

« Previous | Main | Next »

³ÉÈË¿ìÊÖ Complaints in RSS

Post categories:

| 09:23 UK time, Tuesday, 5 April 2005

[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

More from this blog...

Topical posts on this blog

Categories

These are some of the popular topics this blog covers.

³ÉÈË¿ìÊÖ iD

³ÉÈË¿ìÊÖ navigation

³ÉÈË¿ìÊÖ Â© 2014 The ³ÉÈË¿ìÊÖ is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.