Community articleSearch tags category document
Added by IBM contributorIBM on March 27, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

The category document identifies the tags that have been assigned to particular items, such as blog posts or community entries. Tags are single-word keywords that categorize a posting or entry. A tag classifies the information in the posting or entry to make it easier to find the content later. The format of the tags document is an Atom publishing protocol (APP) categories document.

This article describes the response format of the deprecated Tags Facet Request API.




The category document identifies the tags that have been assigned to particular items, such as blog posts or community entries. Tags are single-word keywords that categorize a posting or entry. A tag classifies the information in the posting or entry to make it easier to find the content later. The format of the tags document is an Atom publishing protocol (APP) categories document.

All elements are in the http://www.w3.org/2007/app namespace, except those that are prefixed as follows:

atom

In the http://www.w3.org/2005/Atom namespace.

snx

In the http://www.ibm.com/xmlns/prod/sn namespace.

Table 1. Child element of the <app:categories> element

Element
Description
<atom:category>
Describes a tag. The attributes of this element are described in Table 2.


Table 2. The <atom:category> element

Attribute
Description
term
The tag.
snx:frequency
The number of posts or entries to which the tag has been assigned.


Parent topic: Search API Atom entry types