New Features
By Art Hanson on July 14th, 2009 | 1 Comment »We updated Nation of Neighbors over the weekend. In addition to fixing a number of bugs we’ve added some new features and made some significant changes. Here’s what’s new:
Community Pages
Group Managers can now add pages to their Nation of Neighbors group. To add a page, click the ‘Manage’ tab on your group’s page then select the ‘Group Pages’ option from the list. You can choose to show your pages to the world or keep them private for community members only. You can also choose to allow community members to add their own comments to the page.
Community URL
We’ve changed the URL format for community groups. The new format is ‘nationofneighbors.com/community/state/group name’. Hopefully this will make the URL easier to remember and more recognizable. If you have a link to your Nation of Neighbors group on your community website please update it!
API
Add your group’s Nation of Neighbors activity to your community website! We’ve added the fist part of our new API (Application Programming Interface). Our API currently returns recent reports assigned to your community and / or community posts formatted as JSON data. If you’re a programmer, you’re welcome to display the data however you’d like. For everyone else, follow the easy directions below.
To get started, simply add the following lines of code to your webpage right before the closing </body> tag.
<script type="text/javascript" src="http://www.nationofneighbors.com/js/api.js"></script> <script type="text/javascript" src="http://www.nationofneighbors.com /api/activity?callback=NoN&limit=10&key=GroupID&feed=reports,posts"></script>
The Options are:
- callback: You won’t want to change this unless you want to write your own javascript handler for the JSON data returned by Nation of Neighbors.
- limit: the number of items you want returned.
- key: your group id. You can get this by clicking on the ‘Manage’ tab on your group page.
- feed: the options are
- reports – show only recent reports assigned to your community
- posts – show only recent community posts
- reports,posts – show both
Add the following code where you want the activity list to appear
<div id="NoN_local_activity"> <h2 class="sidebar-title">Recent Activity on Nation of Neighbors</h2> <ul id="activity_list"></ul> </div>
You should know that, in order to comply with our privacy policy, the API will only return the first name of the person making a post. In order to see the full name members will need to sign in to their Nation of Neighbors account. We’ll be adding more specific instructions as well as a short tutorial. Of course, if you need help please send us an email and we’ll be glad to lend a hand.
News Feed
We’ve added a ‘Get More’ link to the bottom of the news feed. Want to see more reports from the past? Keep clicking ‘Get More’ – they’ll load automatically and be added to the report map.
Report Page
We’ve updated the layout of the report page.
Feedback
We’ve signed up with UserVoice.com to collect member feedback. You’ll see the new ‘Feedback’ tab on the right side of most pages. Is something not working? Maybe a new feature you’d like for us to add? Please click the Feedback tab and tell us about it!
We’ll publish more specific details on our new API in the next few days, including the JSON format.