I haven't written up a wiki page for this yet, but I'd like to get
some feedback if possible:

Tag Data API

Make tag statistics data available via a simple XML format so that
other applications can access our tag data.

New URIs proposed:
   /roller-services/tagdata - get tag data for entire site
   /roller-services/tagdata/weblogs/[handle] - get tag data for specific weblog

Request parameters supported by URIs:
   sort - either "alphabetical" or "popularity"

Tag data format (application/xml+tagdata) could be something like this:
   <tags>
      <tag name="bluenote" count="24" />
      <tag name="rocksteady" count="349" />
      <tag name="ska" count="349" />
      . . .
      <link rel="next"
href="http://localhost:8080/roller/roller-services/tagdata?page=2"; />
   </tags>

As in Atom protocol, the <link> element is used to support next/previous paging.

Other Tag Data APIs

See also:
   http://www.flickr.com/services/api/flickr.tags.getHotList.html
   http://del.icio.us/help/api/tags


Tracking this as ROL-1545:
http://opensource.atlassian.com/projects/roller/browse/ROL-1545

Reply via email to