News boxes.

Another project I spent some time on, about a year ago now, with significant amounts of help from Richard Pope, is some way of easily putting democracy news onto webpages. Think googleads, but for local democracy information.

Behind the scenes, it again uses the model, of pulling in RSS feeds and then spitting them out of the database. Instead of aiming at big webpages and sites, it is targetted at small fragments of html. You visit the site, enter your postcode, pick which information you want included (based on your postcode, it tells you who your mp is and localises what you see), then you get given a fragment of html to paste into your webpages. That’s it.

Whenever someone looks at your website after inclusion of the fragment, they get the latest democracy news for your area, what your mp has been doing, saying, and what pledgebank pledges are happening in your area. We hope to add more sources of information over time, but this is what we’re starting with (as the information is easily accessible).

While this implementation is focussed on democracy, there is very little which is tied to democracy. It could be reused for any area of interest where there are multiple feeds of interest which need aggregation, in a simple fashion.

Over time, an enhancement could be to, where a browser has an override cookie, show information local to the browser itself, rather than to the website owner. But that’s going to be left as an exercise for the reader.

posted: 26 Jun 2006