The Wellington Newslog draws in notices and newsitems published by local organisations. The resulting content isn't going to be what you'll find in a newspaper but we think that's half the attraction.
The Newslog is also available as an RSS feed.
Getting content out of the system
By running an aggregator we're taking a slight liberty with other people's content. It's therefore important that we've transparent about what we're doing. To this end our index is available in machine readable formats for reuse by other members of the community.
Our ethos is that if we use a piece of data to render one of our own pages, that data should also be available in a feed.
RSS and JSON feeds
The main content of each page is available as an RSS feed or JSON. Appending /rss or /json to a page url to access these feeds (credit - this url scheme is inspired by the Guardian newspaper's site)
The complete set of available feeds is documented in the API instructions.
Any enquires can be directed to
enquires (at) wellington.gen.nz
Right - One of the copper clad Nikau palm trees which dot the Civic Square and line the exterior of the Central Library building.
Valued at $25,000 NZ each, these additions to the Square were suggested by the architect Ian Athfield as a way of making the area more inviting. The Nikaus have become somewhat of an icon for Wellington City.
The Nikau, is a distinctive New Zealand native tree. Reassembling a feather duster, it grows to approximately 20ft.
The Nikau palm is found throughout New Zealand, growing as far south as Christchurch. While the trunk of this tree is of no use for building it's large leaves provided useful shelter for the early Maori, who also ate the young shots and buds. Wood Pigeons consume the berries in large quantities. The Nikau berry is extremely hard and was sometimes used as shotgun ammunition by early settlers.
Some of the newsitems in our feeds contain position information. This information makes the following possible:
-Searching for newitems based on location
ie. Newsitems near Islandbay: /geotagged?location=Island+Bay
-RSS feeds of newsitems near a location
ie. An RSS feed of newsitems near Petone Station: /geotagged/rss?location=Petone+Station
-Newsitems near your current position (HTML5 browsers such as Firefox 4 and Safari 5 only)
Click the near me link on the geotagged newsitems page to experiment with this feature
I do not want my content indexed
Wellynews honours the robots exclusion standard. Organisations can indicate in their robots.txt that Wellynews should not index their content.
The following lines in your robots.txt file will result in your content been removed from the index:
User-agent: wellynews (https://wellington.gen.nz/about)
You can also contact us directly to request exclusion.
A Java application which uses and MongoDB and Elastic search. The source code is available for review on Github.