<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #180: Add JSON views for external services</title>
    <link>http://localhost:8080/trac/ticket/180</link>
    <description>&lt;p&gt;
TN.org needs to be able to communicate with other websites and applications behind the scenes. This could ultimately be to share data with partner sites (e.g. search on Permaculture association returns TT initiatives), but is initially to return requests based on lat/long from the incoming mobile application.
&lt;/p&gt;
&lt;p&gt;
Install and configure so that mobile application can send lat/long requests along with content types (people, projects, initiatives, events) and TN returns location specific responses.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/180</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 15 Dec 2010 00:36:31 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/180#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:1</guid>
      <description>
        &lt;p&gt;
Services 3 beta 1 is now on LIVE...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 16 Dec 2010 18:07:00 GMT</pubDate>
      <title>status changed</title>
      <link>http://localhost:8080/trac/ticket/180#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;accepted&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Thinking out loud, the services needed are as follows:
&lt;/p&gt;
&lt;p&gt;
External Sites &amp;amp; Apps (Paul's stuff)
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Ability for external to pass in a lat/long and 'type' (event, news, person, ini, proj etc) and  get back list of node titles, a link to node, last updated date and distance from lat/long.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Sharing Engine - from TN.org
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Return list of initiatives with location and feeds - ALL to prime system
&lt;/li&gt;&lt;li&gt;As above but just recent updates to maintain system once primed.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Sharing Engine - to TN.org/other sites
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;ability to receive lat/long and return feed items (RSS feed etc) related to it.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
This ties in well with extending TN near me (&lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/182" title="enhancement: Add location request to TN.org (closed: fixed)"&gt;#182&lt;/a&gt;)... Any thoughts, Ed?
&lt;/p&gt;
&lt;p&gt;
Will start adding views &amp;amp; services on DEV now.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Thu, 16 Dec 2010 21:17:41 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/180#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:3</guid>
      <description>
        &lt;p&gt;
Externals may want access to 'latest' (e.g. Patterns - I know Paul's after them too)
&lt;/p&gt;
&lt;p&gt;
'list of initiatives with location and feeds' if you mean being able to return a list of feed items of the initiatives' news related to lat/long which could appear in TN near me, YES PLEASE
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 12 Jan 2011 17:25:19 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/180#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Web service 'lite' in place for SE stuff...
&lt;/p&gt;
&lt;p&gt;
Additionally, Paul &lt;a class="missing wiki"&gt;MacKay?&lt;/a&gt; wants this for his app:
&lt;/p&gt;
&lt;p&gt;
Inis:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;name
&lt;/li&gt;&lt;li&gt;status
&lt;/li&gt;&lt;li&gt;region
&lt;/li&gt;&lt;li&gt;initiative type
&lt;/li&gt;&lt;li&gt;community type
&lt;/li&gt;&lt;li&gt;approx members
&lt;/li&gt;&lt;li&gt;main contact
&lt;/li&gt;&lt;li&gt;website
&lt;/li&gt;&lt;li&gt;lat/long
&lt;/li&gt;&lt;li&gt;description
&lt;/li&gt;&lt;li&gt;themes ?
&lt;/li&gt;&lt;li&gt;related projects
&lt;/li&gt;&lt;li&gt;PPoC uid
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Projects:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;title
&lt;/li&gt;&lt;li&gt;website
&lt;/li&gt;&lt;li&gt;lat/long
&lt;/li&gt;&lt;li&gt;description
&lt;/li&gt;&lt;li&gt;main contact
&lt;/li&gt;&lt;li&gt;PPoC uid
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
All in a nice JSON feed.
&lt;/p&gt;
&lt;p&gt;
Prob need two versions of these views:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;'all' as a dumb dump to prime the remote cache
&lt;/li&gt;&lt;li&gt;'recently updated' which takes a date and shows updates only to update the remote cache.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Patterns yet to be specced...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Wed, 12 Jan 2011 21:51:02 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/180#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:5</guid>
      <description>
        &lt;p&gt;
hang loose on patterns for now - Rob said that there are likely to be changes...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Fri, 14 Jan 2011 15:52:41 GMT</pubDate>
      <title>summary changed</title>
      <link>http://localhost:8080/trac/ticket/180#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;Add web services&lt;/em&gt; to &lt;em&gt;Add JSON views for external services&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Services module NOT being used this time around - overkill for our simple use-cases.
&lt;/p&gt;
&lt;p&gt;
Updating title
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Mon, 17 Jan 2011 20:56:57 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/180#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.15&lt;/em&gt; to &lt;em&gt;0.65&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
New JSON view output of initiatives at:  &lt;a class="ext-link" href="http://www.transitionnetwork.org/transition-services/directories/initiatives/all"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/transition-services/directories/initiatives/all&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
NOTE this is effectively a data dump and is inefficient. Will speak to Paul to see if adding &lt;a class="ext-link" href="http://drupal.org/project/views_daterange"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://drupal.org/project/views_daterange&lt;/a&gt; makes sense so we can pull back, say, all inis updated since the mobile app last checked.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Fri, 21 Jan 2011 00:28:33 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/180#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:8</guid>
      <description>
        &lt;p&gt;
discussion ongoing with Paul &lt;a class="missing wiki"&gt;MacKay?&lt;/a&gt;, projects to follow.
&lt;/p&gt;
&lt;p&gt;
And the &lt;a class="missing wiki"&gt;ContentTypes?&lt;/a&gt; page represents the start of the API/data documentation.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Tue, 25 Jan 2011 19:36:52 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/180#comment:9</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/180#comment:9</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;accepted&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.65&lt;/em&gt; to &lt;em&gt;0.9&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Projects also have this: &lt;a class="ext-link" href="http://www.transitionnetwork.org/transition-services/directories/projects/all"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/transition-services/directories/projects/all&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
And, so clients can get a smaller chunk of data - these two return only those that have been updated within 7 days.
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="http://www.transitionnetwork.org/transition-services/directories/initiatives/updated-week"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/transition-services/directories/initiatives/updated-week&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://www.transitionnetwork.org/transition-services/directories/projects/updated-week"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/transition-services/directories/projects/updated-week&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Poss need 'updated within month' version too...
&lt;/p&gt;
&lt;p&gt;
Have now created all required views, will close this until futher request come through.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>