How To Generate a Feed category Element

Q

How To Generate a Feed category Element? - RSS FAQs - Atom Feed File Structure and Elements

✍: FYIcenter.com

A

The <category> element is not a required sub-element of the <feed> element. However, it is recommended to have one or more <category> elements to provide classifications for this feed.

The <category> element has 3 attributes:

  • <term> - Specifying a short term for this category.
  • <label> - Specifying a long label for this category.
  • <scheme> - Specifying a URI as a reference for this category.

2007-05-12, 4817👍, 0💬