<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1494: API call for getting a user's public activity stream as rendered rtext</title>
    <link>http://localhost/ticket/1494</link>
    <description>&lt;p&gt;
This could be implemented as a separate API call, or the rendered text versions of the activities could be added into the JSON returned by the existing API call.
&lt;/p&gt;
&lt;p&gt;
This requires setting up templates for rendering activity streams items and detail items as nice, human-readable text.
&lt;/p&gt;
&lt;p&gt;
There are some open questions, e.g.: Do we want the entire activity stream rendered as a block of plain text? As HTML? Or do we want a list of JSON objects, where each object contains its textual and/or HTML representations as fields?
&lt;/p&gt;
&lt;p&gt;
Activity stream items and their related detail items are separate objects that each have their own textual representations.
&lt;/p&gt;
&lt;p&gt;
For a mockup of the kind of text messages we want, see:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://datahub.pudo.org/pudo"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://datahub.pudo.org/pudo&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
but note that this ticket is just for creating the text snippets themselves, not rendering then in an HTML page or RSS feed. Also the mockup only show activity items and not their detail items.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1494</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Mon, 05 Dec 2011 12:41:06 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1494#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1494#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1494?action=diff&amp;amp;version=1"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Mon, 19 Dec 2011 10:17:44 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost/ticket/1494#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1494#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-sprint-2011-12-05&lt;/em&gt; to &lt;em&gt;current-ckan-sprint-2011-12-19&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Mon, 19 Dec 2011 14:53:59 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost/ticket/1494#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1494#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;current-ckan-sprint-2011-12-19&lt;/em&gt; to &lt;em&gt;ckan-sprint-2012-01-09&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Mon, 19 Dec 2011 17:52:25 GMT</pubDate>
      <title>summary, description, milestone changed</title>
      <link>http://localhost/ticket/1494#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1494#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;Setup templates for activity streams&lt;/em&gt; to &lt;em&gt;API call for getting a user's public activity stream as rendered rtext&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1494?action=diff&amp;amp;version=4"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;current-ckan-sprint-2012-01-09&lt;/em&gt; to &lt;em&gt;ckan-v1.6&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Mon, 19 Dec 2011 18:19:42 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1494#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/1494#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1494?action=diff&amp;amp;version=5"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Tue, 03 Jan 2012 12:16:53 GMT</pubDate>
      <title>milestone changed; keywords set</title>
      <link>http://localhost/ticket/1494#comment:6</link>
      <guid isPermaLink="false">http://localhost/ticket/1494#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;keywords&lt;/strong&gt;
              &lt;em&gt;5d&lt;/em&gt; added
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-v1.6&lt;/em&gt; to &lt;em&gt;current-ckan-sprint-2012-01-09&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Mon, 09 Jan 2012 10:12:31 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1494#comment:7</link>
      <guid isPermaLink="false">http://localhost/ticket/1494#comment:7</guid>
      <description>
        &lt;p&gt;
I've added a controller function for getting a user's activity stream as rendered html to ckan/logic/action/get.py in this commit: &lt;a class="ext-link" href="https://github.com/okfn/ckan/commit/30264997c7fe34324381123d6741d404baa67c1e"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/okfn/ckan/commit/30264997c7fe34324381123d6741d404baa67c1e&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I'm proposing to leave it at that for now and not actually hook this controller function up to an API call, as I'm not sure how useful an API call for getting rendered HTML will be (we already have an API call for getting the user's activity stream a JSON).
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Mon, 09 Jan 2012 11:49:17 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1494#comment:8</link>
      <guid isPermaLink="false">http://localhost/ticket/1494#comment:8</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;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;wontfix&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>