How To Generate a Feed author Element

Q

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

✍: FYIcenter.com

A

The <author> element is not a required sub-element of the <feed> element. However, it is required to have a feed author element, if one of the feed entries does not have an author element. This requirement is to make sure that every feed entry has an author information.

The <author> element is actually a container element, with 3 sub-elements defined as:

  • <name> - Specifying the author's name. For example: Karl King. name is a required sub-element.
  • <email> - Specifying the author's email address. For example: karl_king@fyicenter.com. email is not a required sub-element.
  • <uri> - Specifying the author's Web page, if exists. For example: http://www.fyicenter.com/karl_king. url is not a required sub-element.

2007-05-12, 4557👍, 0💬