Tags

The Wellynews API


Word cloud by Wordle

A number of large news organisations have begun providing APIs to their content. These services allow content to be queried programmatically for use in mash ups and the like.

The Wellynews API lets you do something simular with the local newsitems indexed by Search Wellington.

For example, the API can provide a feed of local newsitems related to consultation; or maybe zebras. It can also handle potentially interesting combinations, such as what Wellington City Council has said about the Indoor Sports Centre or sculpture on the waterfront.

Getting started

Supported Formats

The API allows newsitems to be extracted in RSS or JSON (Javascript) formats. RSS is widely supported by feed readers, web browsers and server side libraries. JSON is typically used for passing data into browser based Javascript applications and mashups.

The desired format is specified by appending ethier rss or json to the end of the query url.

ie. Transport newsitems in RSS format:

or the same newsitems in JSON format:

Specifying tags and publishers

When querying for newsitems (below) you have the option of filtering by tag or publisher. Tags and publishers are specified by substituting the appropriate url snippet into your request.

ie. The url snippet for Wellington City Council is wellington-city-council.

A complete list of available tag and publisher url snippets is provided below.

Newsitem queries

The following types of newsitem query are supported.

Tag newitems

Returns newsitems tagged with a given tag.

ie. All newsitems tagged with soccer, in RSS format.

Publisher newsitems

Returns newsitems published by a specific publisher.

ie. newsitems published by the Capital Times, in JSON format.

Combinations

Returns newsitems tagged with a combination of two tags, or a publisher and a tag.

The tags are seperated with a plus character. For combinations involving a publisher, the publisher must always appear on the left hand side of the plus.

ie. newsitems tagged with transport and consultation and Wellington City Council media releases tagged with indoor sports centre.

Credit: The combination url scheme was inspired by the Guardian newspapers' tag combiners.

Commented newsitems

Returns newsitems which have been commented on.

ie. Commented newsitesm in JSON format.

Commented newsitems also specifiy the newsitems'comment feed url on the commentFeed field on the JSON results.

Commented newsitems for a tag

Returns commented newsitems for a given tag.

ie. Commented newsitems tagged with waterfront in JSON format.

Geotagged newsitems

Returns newsitems which have been geotagged.

ie. Geotagged newsitems in RSS format.

Pagination

Each RSS or JSON call returns a maximum of 30 results. For JSON calls, additional results can be obtained from using the page parameter to paginate through the results.

ie. page 6 of the Victoria University newsitems:

You can see the total number of available results in the totalItems field of the JSON results. The showingFrom and showingTo fields tell you which resuls you are currently viewing:


{
  "totalItems": 377,
  "showingFrom": 151,
  "showingTo": 180,
  "newsitems": [ ... ]
}

JSONP callbacks

You can specify that JSON results should be wrapped in a JSONP style callback, using the optional callback parameter. This is approch is required when making cross domain JSON calls from a web brower.

ie.

Your callback function name may contain letters, numbers and underscores only.

Geotagging

Where applicable, geotags are also embedded in our RSS feeds using the GeoRSS standard. A GeoRSS tagged feed item has this format:

<item>
<title>Can you replace the Hilton?</title>
<geo:lat>-41.284896</geo:lat>
<geo:long>174.778531</geo:long>
</item>

RSS to JSON feed mirroring

Provides JSON copies of local RSS feeds. This makes it easier to integrate feeds into sites using Javascript.

ie. Wellington City Councils' latest news feed as a JSON list:

A complete list of feed url snippets is provided below.

URL snippets

Available Tags
TagURL snippet
Accommodation accommodation
Animals animals
Architecture architecture
Art art
Blanket man blanket-man
Blogs blogs
Books books
Bus review bus-review
Business business
Busking busking
Cinema cinema
City Guides cityguides
Community Groups communitygroups
Conservation conservation
Earthquake earthquake
Earthquake strengthening earthquake-strengthening
Education education
Election 2013 candidates election-2013-candidates
election2011 election2011
Elections 2010 elections2010
Emergency Services emergencyservices
Events events
Fashion fashion
Featured featured
Fire ban fire-ban
Gay & Bisexual gaybisexual
Government government
Health health
Internet internet
Issues issues
Law law
Libraries libraries
liquor licensing liquor-licensing
Local History localhistory
Media media
Misc misc
MMA mma
Obituaries obituaries
Open data open-data
Performing Arts performingarts
Petone petone
Pies pies
Places places
Real Estate realestate
Restaurants and Bars restaurantsbars
Reviews reviews
Sausages sausages
Scraper required scraper-required
Snow snow
Sport sport
Stadium stadium
storm storm
Tourism tourism
Transport transport
Tsunami tsunami
Video video
Water restrictions water-restrictions
WCN Hosted wcnhosted
Webcams webcams
Wellington wellington
Zombies zombies
Available Publishers
PublisherURL snippet
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
$publisher.name $publisher.urlWords
Available RSS to JSON Feeds
FeedURL snippet
Adam Art Gallery feed /feed/adam-art-gallery-feed
Aikido Tenshindo /feed/aikido-tenshindo
All Saints Hataitai news /feed/all-saints-hataitai-news
Amesbury Drive School feed /feed/amesbury-drive-school-feed
Archdiocese of Wellington - Wel-com articles /feed/archdiocese-of-wellington-wel-com-articles
Architecture Centre news /feed/architecture-centre-news
Aro Valley Community Centre - News/Blog /feed/aro-valley-community-centre-newsblog
Aro Valley Community Council's Facebook wall /feed/aro-valley-community-councils-facebook-wall
Aro Valley Pre-School news /feed/aro-valley-pre-school-news
Athletics Wellington news /feed/athletics-wellington-news
Auckland Trains » Wellington /feed/auckland-trains-wellington
BNU match reports /feed/bnu-match-reports
BNU news /feed/bnu-news
Back To The Future /feed/back-to-the-future
Bats posts /feed/bats-posts
Better Wellington posts /feed/better-wellington-posts
Binge Culture Collective news /feed/binge-culture-collective-news
Bluebridge news /feed/bluebridge-news
Bodega posts /feed/bodega-posts
Bowls Tawa news /feed/bowls-tawa-news
Brooklyn Early Childhood Centre news /feed/brooklyn-early-childhood-centre-news
Brooklyn Residents Association news /feed/brooklyn-residents-association-news
Brooklyn School news /feed/brooklyn-school-news
Building Madness in Mt Vic feed /feed/building-madness-in-mt-vic-feed
Butterfly Creek Theatre Troupe news /feed/butterfly-creek-theatre-troupe-news
CMHV news /feed/cmhv-news
CPL news /feed/cpl-news
Capital Mosaic posts /feed/capital-mosaic-posts
Capital Times news items /feed/capital-times-news-items
CataBlog Feed /feed/catablog-feed
Celia Wade Brown news releases /feed/celia-wade-brown-news-releases
CentrePort news /feed/centreport-news
City Gallery media releases /feed/city-gallery-media-releases
Click Local feed /feed/click-local-feed
Clyde Quay School news /feed/clyde-quay-school-news
Coastguard Mana news /feed/coastguard-mana-news
Community Law Wellington and Hutt Valley /feed/community-law-wellington-and-hutt-valley
Cricket Wellington /feed/cricket-wellington
Cricket Wellington news /feed/cricket-wellington-news
Crossways news /feed/crossways-news
Cycling in Wellington posts /feed/cycling-in-wellington-posts
DCM alerts archive /feed/dcm-alerts-archive
Dave Choat - Care not Cuts feed /feed/dave-choat-care-not-cuts-feed
Days Bay Residents Association news /feed/days-bay-residents-association-news
Downstage news /feed/downstage-news
Downstage theatre blog posts /feed/downstage-theatre-blog-posts
Dowse news /feed/dowse-news
Drama Christi news /feed/drama-christi-news
Dwell news /feed/dwell-news
East by West updates /feed/east-by-west-updates
Elements Cafe blog /feed/elements-cafe-blog
Eye of the Fish feed /feed/eye-of-the-fish-feed
Flight Coffee news /feed/flight-coffee-news
Friends of Futuna Charitable Trust news /feed/friends-of-futuna-charitable-trust-news
GW Feed /feed/gw-feed
GW Have Your Say Consultations /feed/gw-have-your-say-consultations
Garage Project posts /feed/garage-project-posts
Gigatown Porirua posts /feed/gigatown-porirua-posts
Greens - Wellington feed /feed/greens-wellington-feed
HOBM news feed /feed/hobm-news-feed
HVFPU news /feed/hvfpu-news
HVH news /feed/hvh-news
Hands off the Hutt posts /feed/hands-off-the-hutt-posts
Harbour City Hockey club news /feed/harbour-city-hockey-club-news
Hataitai Community website posts /feed/hataitai-community-website-posts
Have You Say posts /feed/have-you-say-posts
Houghton Valley School news /feed/houghton-valley-school-news
Hutt Chick /feed/hutt-chick
Hutt City Press Releases /feed/hutt-city-press-releases
HuttNZ feed /feed/huttnz-feed
Iko Iko blog /feed/iko-iko-blog
Iona Pannett posts /feed/iona-pannett-posts
Island Bay Medical Centre news /feed/island-bay-medical-centre-news
JBC news /feed/jbc-news
JJMorgan and co news /feed/jjmorgan-and-co-news
JVL Line alerts /feed/jvl-line-alerts
Jack Yan posts /feed/jack-yan-posts
Jack Yan posts /feed/jack-yan-posts
Jacob Toner posts /feed/jacob-toner-posts
John Morrison feed /feed/john-morrison-feed
Johnsonville Cricket Club news /feed/johnsonville-cricket-club-news
Justin Lester blog /feed/justin-lester-blog
KTSC news /feed/ktsc-news
KTSC news /feed/ktsc-news
Kapiti Aero Club news /feed/kapiti-aero-club-news
Kapiti Cycling Club news /feed/kapiti-cycling-club-news
Kapiti Playhouse Inc - News /feed/kapiti-playhouse-inc-news
Karori Anglican news /feed/karori-anglican-news
Karori Baptist Church news /feed/karori-baptist-church-news
Keep Crossways posts /feed/keep-crossways-posts
Keith Johnson posts /feed/keith-johnson-posts
Kilbirnie Lyall Bay Rongotai Progressive Association posts /feed/kilbirnie-lyall-bay-rongotai-progressive-association-posts
Kilbirnie School news /feed/kilbirnie-school-news
Kilbirnie community Festival news /feed/kilbirnie-community-festival-news
King's Church news /feed/kings-church-news
Kupe Canoe Club news /feed/kupe-canoe-club-news
LBSLSC news /feed/lbslsc-news
Land Search and Rescue in Wellington feed /feed/land-search-and-rescue-in-wellington-feed
Lazy Fern blog feed /feed/lazy-fern-blog-feed
MK news /feed/mk-news
Mana Kayak Racing Club news /feed/mana-kayak-racing-club-news
Mark Greening posts /feed/mark-greening-posts
Metlink news /feed/metlink-news
Metlink offical news feed /feed/metlink-offical-news-feed
Metropolitan Cathedral of the Sacred Heart posts /feed/metropolitan-cathedral-of-the-sacred-heart-posts
Moot Cook mobilised /feed/moot-cook-mobilised
Mount Vic Dojo news /feed/mount-vic-dojo-news
Mt Victoria Residents Association news /feed/mt-victoria-residents-association-news
Multicultural Services Centre of Wellington posts /feed/multicultural-services-centre-of-wellington-posts
Muritai School principals blog /feed/muritai-school-principals-blog
NIWA Wellington Regional Science and Technology Fair news /feed/niwa-wellington-regional-science-and-technology-fair-news
NRA news /feed/nra-news
Naenae Boxing Academy posts /feed/naenae-boxing-academy-posts
Newswire Wellington /feed/newswire-wellington
Newswire sport feed /feed/newswire-sport-feed
Newswire.co.nz arts feed /feed/newswireconz-arts-feed
Newswire.co.nz news feed /feed/newswireconz-news-feed
Newtown Art Project news /feed/newtown-art-project-news
Newtown Festival posts /feed/newtown-festival-posts
Ngaio Progressive Association news /feed/ngaio-progressive-association-news
Ngaio School Library posts /feed/ngaio-school-library-posts
North face track blog feed /feed/north-face-track-blog-feed
Olympic Harriers news feed /feed/olympic-harriers-news-feed
Orchestra Wellington posts /feed/orchestra-wellington-posts
Oriental Bay Residents’ Association posts /feed/oriental-bay-residents-association-posts
Ories news /feed/ories-news
Osteria del Toro posts /feed/osteria-del-toro-posts
PNP news /feed/pnp-news
PSLG news /feed/pslg-news
Partners Porirua posts /feed/partners-porirua-posts
Pataka posts /feed/pataka-posts
Petone Rugby Club news /feed/petone-rugby-club-news
Petone Rugby club match reports /feed/petone-rugby-club-match-reports
Petone Sportsville posts /feed/petone-sportsville-posts
Poneke Dojo news /feed/poneke-dojo-news
Porirua Chamber of Commerce news /feed/porirua-chamber-of-commerce-news
Porirua City Council Sports Grounds Status feed /feed/porirua-city-council-sports-grounds-status-feed
Porirua Fire Brigade news /feed/porirua-fire-brigade-news
Pukerua Bay Soccer Club news /feed/pukerua-bay-soccer-club-news
Queen Margarets College Principals blog /feed/queen-margarets-college-principals-blog
Queen Margarets College news /feed/queen-margarets-college-news
Rainey Collions lawyers news /feed/rainey-collions-lawyers-news
Randell Cottage Writers Trust news /feed/randell-cottage-writers-trust-news
Raumati Swimming Club news /feed/raumati-swimming-club-news
Richter City Roller Derby feed /feed/richter-city-roller-derby-feed
Richter City blog feed /feed/richter-city-blog-feed
Rimutaka Incline Railway Heritage Trust news /feed/rimutaka-incline-railway-heritage-trust-news
Rugby Club Weekly Feed /feed/rugby-club-weekly-feed
SSR news /feed/ssr-news
Saints news /feed/saints-news
Salient Features Feed /feed/salient-features-feed
Salient News Feed /feed/salient-news-feed
Salient main feed /feed/salient-main-feed
Sarah Free posts /feed/sarah-free-posts
Save Crossways campaign feed /feed/save-crossways-campaign-feed
Save Kapiti feed /feed/save-kapiti-feed
Save the Basin posts /feed/save-the-basin-posts
Scots College news /feed/scots-college-news
ScotsTV /feed/scotstv
SeniorNet Wellington news /feed/seniornet-wellington-news
Sharon Blaikie blog /feed/sharon-blaikie-blog
Sidestrip feed /feed/sidestrip-feed
Six oclock swill feed /feed/six-oclock-swill-feed
Snapper blog /feed/snapper-blog
Spirit Taekwon-Do news /feed/spirit-taekwon-do-news
Squash Wellington news /feed/squash-wellington-news
Squash Wellington news feed /feed/squash-wellington-news-feed
St Catherines Colleges news /feed/st-catherines-colleges-news
St James' Anglican Church news /feed/st-james-anglican-church-news
St Johns in the City sermons /feed/st-johns-in-the-city-sermons
St Patricks Silverstream news feed (media rss) /feed/st-patricks-silverstream-news-feed
St Pats Silverstream news /feed/st-pats-silverstream-news
St Teresas Catholic Parish news /feed/st-teresas-catholic-parish-news
Star Boating Club news /feed/star-boating-club-news
Star Boating Club news /feed/star-boating-club-news
Stokes Valley Volunteer Fire Brigade news /feed/stokes-valley-volunteer-fire-brigade-news
Stop Out news /feed/stop-out-news
Stopout match reports /feed/stopout-match-reports
Sustainable Wellington Transport posts /feed/sustainable-wellington-transport-posts
Swim Wellington Feed /feed/swim-wellington-feed
T3 Track Blog feed /feed/t3-track-blog-feed
Table Tennis Wellington blog posts /feed/table-tennis-wellington-blog-posts
Taita Circket Club news /feed/taita-circket-club-news
Te Papa blog feed /feed/te-papa-blog-feed
Thorndon Residents Assocation blog /feed/thorndon-residents-assocation-blog
Toi Whakaari New Zealand Drama School news /feed/toi-whakaari-new-zealand-drama-school-news
Tourism Wellington media releases /feed/tourism-wellington-media-releases
Transition Towns Brooklyn news /feed/transition-towns-brooklyn-news
Tranz Metro delays /feed/tranz-metro-delays
Tranz Metro news /feed/tranz-metro-news
Upper Hutt City Council news /feed/upper-hutt-city-council-news
Upper Hutt Hockey Club Game Reports /feed/upper-hutt-hockey-club-game-reports
VBC news /feed/vbc-news
VHF group news /feed/vhf-group-news
VUW News feed /feed/vuw-news-feed
VUWSA news /feed/vuwsa-news
Vic Library news /feed/vic-library-news
Vic Rowing news /feed/vic-rowing-news
WCBA blog feed /feed/wcba-blog-feed
WCC Watch feed /feed/wcc-watch-feed
WCC public notices /feed/wcc-public-notices
WCL Blog feed /feed/wcl-blog-feed
WCN news /feed/wcn-news
WECC media releases /feed/wecc-media-releases
WEGC homepage items /feed/wegc-homepage-items
WFA news /feed/wfa-news
WHF news /feed/whf-news
WHS news /feed/whs-news
WIA news /feed/wia-news
WIAL press releases /feed/wial-press-releases
WLSAR news /feed/wlsar-news
WMC news /feed/wmc-news
WMC news /feed/wmc-news
WRC news /feed/wrc-news
WRFU Feed /feed/wrfu-feed
WRRA news /feed/wrra-news
WSAC news /feed/wsac-news
WST news /feed/wst-news
WYC news /feed/wyc-news
Waikanae Golf Club news /feed/waikanae-golf-club-news
Wakefield Hospital media releases /feed/wakefield-hospital-media-releases
Watering Hole Ministries what's been happening /feed/watering-hole-ministries-whats-been-happening
Well Health Trust news /feed/well-health-trust-news
Wellington Beekeepers Association news /feed/wellington-beekeepers-association-news
Wellington Beekeepers Association notices /feed/wellington-beekeepers-association-notices
Wellington Cathedral news /feed/wellington-cathedral-news
Wellington Children's Hospital news /feed/wellington-childrens-hospital-news
Wellington Circus Trust news /feed/wellington-circus-trust-news
Wellington City Council - Public Input /feed/wellington-city-council-public-input
Wellington City Council Latest News /feed/wellington-city-council-latest-news
Wellington City Council current e-Petitions /feed/wellington-city-council-current-e-petitions
Wellington City Council open consultations /feed/wellington-city-council-open-consultations
Wellington Civic Trust news /feed/wellington-civic-trust-news
Wellington Floorball news /feed/wellington-floorball-news
Wellington Girls' College news /feed/wellington-girls-college-news
Wellington Greens news /feed/wellington-greens-news
Wellington Heritage Multiple Unit Preservation Trust news /feed/wellington-heritage-multiple-unit-preservation-trust-news
Wellington Inner-City Residents and Business Association posts /feed/wellington-inner-city-residents-and-business-association-posts
Wellington Jewish Community Centre news /feed/wellington-jewish-community-centre-news
Wellington Jewish Community Centre news /feed/wellington-jewish-community-centre-news
Wellington Live Music Blog feed /feed/wellington-live-music-blog-feed
Wellington Medical Research Foundation news /feed/wellington-medical-research-foundation-news
Wellington Rape Crisis posts /feed/wellington-rape-crisis-posts
Wellington Region Cycleways /feed/wellington-region-cycleways
Wellington Rugby Referees Associaton news feed /feed/wellington-rugby-referees-associaton-news-feed
Wellington Samaritans's blog /feed/wellington-samaritanss-blog
Wellington Scoop features /feed/wellington-scoop-features
Wellington Scottish Athletics news /feed/wellington-scottish-athletics-news
Wellington Tennis Club news /feed/wellington-tennis-club-news
Wellington Tri news /feed/wellington-tri-news
Wellington Warlords posts /feed/wellington-warlords-posts
Wellington Windsurfing Association News /feed/wellington-windsurfing-association-news
Wellington Xiamen Association news /feed/wellington-xiamen-association-news
Wellington Zoo News /feed/wellington-zoo-news
Wellington on a plate blog /feed/wellington-on-a-plate-blog
Wellingtonista Blog Feed /feed/wellingtonista-blog-feed
Wellurban Feed /feed/wellurban-feed
Wests rugby news /feed/wests-rugby-news
Wgtn U-13 Hatch Cup Team 2009 news /feed/wgtn-u-13-hatch-cup-team-2009-news
Whitireia Community Polytechnic News Feed /feed/whitireia-community-polytechnic-news-feed
Whitireia Community Polytechnic news /feed/whitireia-community-polytechnic-news
Zealandia blog feed /feed/zealandia-blog-feed
Zealandia feed /feed/zealandia-feed
Zealandia news /feed/zealandia-news
Zephyr Rovers FC /feed/zephyr-rovers-fc
cuba st project posts /feed/cuba-st-project-posts
drama* on the waterfront posts /feed/drama-on-the-waterfront-posts
strathmorepark posts /feed/strathmorepark-posts

Usage Example

Example: Using JSON and Javascript to pull the latest transport newsitems into a page.

Transport

Source code

The Javascript source code for the above example is available below.

This example was implemented using the JQuery Javascript library. Any other JSON library could be used.

Following, is a line by line breakdown of what the example is doing:

Lines 1-2: HTML for the Transport heading and an emptry div tag which JQuery will write the newsitems into.

Line 4: Sourcing in the JQuery library file; you would normally do the in the head tag.

Lines 6-8: JQuery. Once the page has finished loading and is ready, fetch JSON data from the API and pass it to the function renderNewsitems.

Lines 10-16: JQuery. The renderNewsitems function is using JQuery to write out the first 4 items from the JSON data as HTML into the empty newsitems div.

Contact

Doing something interesting with this?

Contact enquires (at) wellington.gen.nz and let us know.



$site_information.trackingCode