Skip to content

Puffbox

Simon Dickson's gov-tech blog, active 2005-14. Because permalinks.

2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007 | 2006 | 2005

Code For The People company e-government news politics technology Uncategorised

api award barackobama barcampukgovweb bbc bis blogging blogs bonanza borisjohnson branding broaderbenefits buddypress budget cabinetoffice careandsupport chrischant civilservice coi commentariat commons conservatives consultation coveritlive crimemapping dailymail datasharing datastandards davidcameron defra democracy dfid directgov dius downingstreet drupal engagement facebook flickr foi foreignoffice francismaude freedata gds google gordonbrown governanceofbritain govuk guardian guidofawkes health hosting innovation internetexplorer labourparty libdems liveblog lynnefeatherstone maps marthalanefox mashup microsoft MPs mysociety nhs onepolitics opensource ordnancesurvey ournhs parliament petitions politics powerofinformation pressoffice puffbox rationalisation reshuffle rss simonwheatley skunkworks skynews statistics stephenhale stephgray telegraph toldyouso tomloosemore tomwatson transparency transport treasury twitter typepad video walesoffice wordcamp wordcampuk wordpress wordupwhitehall youtube

Privacy Policy

  • X
  • Link
  • LinkedIn
  • 9 Jun 2008
    technology
    google, rss

    Embed RSS feeds via Google

    RSS is my answer to everything. So simple, so straightforward, so flexible. Yet, as I’ve mentioned here before, I’m amazed how few government web sites – especially new ones – offer feeds. The number using RSS feeds to pull content in, of course, is even smaller. A few months back, I asked readers how many had websites which could import content via RSS. The results were depressingly predictable (or should that be predictably depressing?).

    If it’s something you’d like to add to your site, Google might well have a solution. They’ve made available a ‘feed API’, based on simple Javascript, to pull headlines together from any RSS feeds (yes, plural) you specify, and turn them into HTML for inclusion in your pages. You can have a conventional one-line ticker, or a vertical presentation: in an aggregated list, or divided by source. Adding a live view of the latest headlines from any given (RSS-enabled) site just became as easy as copy-and-paste… assuming your CMS is OK about you entering Javascript.

    Of course Google’s far from the first to do this… but I’ve never seen a similar service with the same big-name, long-term backing. The code looks relatively simple to hack if you need to, and you should be able to dress it up in the host site’s font/colours using basic CSS. Plus, the Google ‘widgets’ are really neat, with hover effects and animations built in. It’s far from ‘industrial strength’, but it might well be enough for smaller projects.

    Responses

    1. Steve Ellwood
      9 Jun 2008

      Remebering, of course, that many folk suppress Javascript by default… (Firefox No Script fr’instance).
      Having said that, it’s excellent news.

    2. Andrew
      9 Jun 2008

      Do you mean ‘many nerds suppress Javascript by default’?

    3. Andrew
      9 Jun 2008

      I can’t imagine that many people have got the faintest idea what you’re talking about.

Proudly Powered by WordPress