Ticket #1494 (new enhancement) — at Version 5

Opened 2 years ago

Last modified 2 years ago

API call for getting a user's public activity stream as rendered rtext

Reported by: seanh Owned by: seanh
Priority: awaiting triage Milestone: ckan-sprint-2012-01-09
Component: ckan Keywords: 5d
Cc: Repository: ckan
Theme: none

Description (last modified by seanh) (diff)

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.

This requires setting up templates for rendering activity streams items and detail items as nice, human-readable text.

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?

Activity stream items and their related detail items are separate objects that each have their own textual representations.

For a mockup of the kind of text messages we want, see:

http://datahub.pudo.org/pudo

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.

Change History

comment:1 Changed 2 years ago by seanh

  • Description modified (diff)

comment:2 Changed 2 years ago by seanh

  • Milestone changed from ckan-sprint-2011-12-05 to current-ckan-sprint-2011-12-19

comment:3 Changed 2 years ago by seanh

  • Milestone changed from current-ckan-sprint-2011-12-19 to ckan-sprint-2012-01-09

comment:4 Changed 2 years ago by seanh

  • Summary changed from Setup templates for activity streams to API call for getting a user's public activity stream as rendered rtext
  • Description modified (diff)
  • Milestone changed from current-ckan-sprint-2012-01-09 to ckan-v1.6

comment:5 Changed 2 years ago by seanh

  • Description modified (diff)
Note: See TracTickets for help on using tickets.