Search Wellington is Wellington's own regional web directory.
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 appears daily on the front page of Search Wellington and is also available as an RSS feed.
I do not want my content indexed
Search Wellington honours the robots exclusion standard. Organisations can indiciate in their robots.txt that Search Wellington should not index their content.
The following lines in your robots.txt file will result in your content been removed from the index:
Any enquires should 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.
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 a machine readable for for reuse by other members of the community.
Our ethos is if we use a piece of data to render one of our own pages, then generally that data should also be available as a feed.
RSS and JSON feeds
All of the main page types are available as an RSS or JSON feed. Appending /rss or /json to a site url will in most cases provide the underlying data in the desired format. (credit - this url scheme is inspired by the Guardian newspaper's site)
The complete range of available feeds is documented in the API instructions.
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: http://wellington.gen.nz/geotagged?location=Island+Bay
-RSS feeds of newsitems near a location
ie. An RSS feed of newsitems near Petone Station: http://wellington.gen.nz/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
The aggregation system is a Java application which makes use of Mysql and Apache solr. The source code is available for review on Github.