Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request parameters supported:

  • page: page number of results to be returned
  • prefix: only return tags that start with this string
  • format: format to be returned 'xml' for Atom categories, 'json' for JSON

New classes to be created

  • TagDataServlet: New Servlet that returns tag data
  • TagDataCache: New cache to be used by Servlet to cache tag content

Format to be returned

Instead of inventing a new format, return tag data in Atom protocol Categories format and add a couple of extension elements to hold tag frequency and view URI. If there are a large number of tags, server can use the <atom:link> element to specify a next and previous URI for paging. For example:

...