SEVEN THINGS YOU CAN DO TO LEAD A GREENER LIFE
  • Walk_the_walk_off
  • Stay_grounded_off
  • All_consuming_off
  • Easy_on_the_meat_off
  • Human_heat_off
  • Plug_out_off
  • Stick_with_what_you_got_off
Home > Green Thing Labs > Homepage Api >

Green Thing Labs

Homepage API

Homepage content

Homepage content can be accessed as an XML file, which contains links to more information on the current homepage content.

URL: http://v2.dothegreenthing.com/index.xml

Method: GET

      <?xml version="1.0" encoding="UTF-8"?>
      <main>
        <action href="http://www.dothegreenthing.com/actions/walk_the_walk">Walk The Walk</action>
        <content href="http://www.dothegreenthing.com/content/meet_green_thing">Meet Green Thing</content>
        <stories>
          <story href="http://www.dothegreenthing.com/stories/12188_a_green_creature_thing_while_doing_the_pedalling_thing">a green creature thing while doing the pedalling thing</story>
          <story href="http://www.dothegreenthing.com/stories/12187_eat_less_meat">Eat less meat</story>
          <story href="http://www.dothegreenthing.com/stories/12186_i_don_t_waste_petrol_any_more">I don't waste petrol any more</story>
        </stories>
      </main>
    

The tags refer to other items available through the API: Stories, Actions, and Content Items

Feed

There is a "hosepipe" feed which contains all the latest stories, content and blog posts posted to the site:

URL: http://www.dothegreenthing.com/index.atom

Method: GET

This feed will always contain the 10 latest content items, 10 latest blog posts, and 10 latest stories. This will be the case even if more than 10 stories have been posted since the last content item. Ordering of different content types is not guaranteed to remain consistent! This feed includes geoRSS information for each story item.

Latest from the Green Thing Blog:
The secret second life of chairs | (Images: Country Living Magazine, Unconsumption) There are a lot of good ideas out there for making...