RSS "channel/item" Element

Q

What is the RSS "channel/item" element?

✍: FYIcenter.com

A

The RSS "channel/item" element is an optional sub element of the "channel" element to specify a news item of this RSS feed.

The RSS "channel/item" element contains the following sub elements.

  • title - REQUIRED, if "description" is not specified. The title of the news item. For example: <title>iPhone X Released!</title>.
  • description - REQUIRED, if "title" is not specified. For example: <description>Apple's new iPhone X, unveiled on Tuesday has an edge-to-edge OLED display and a $999 price tag.</description>.
  • link - OPTIONAL. The URL of the item. http://nytimes.com/2004/12/07FEST.html For example: <link>http://phone.fyicenter.com/Apple_iPhone/</link>.
  • author - OPTIONAL. Email address of the author of the item. For example: <author>johnny@fyicenter.com</author>.
  • category - OPTIONAL. Includes the item in one or more categories. For example: <category>Technology/Phone</category>.
  • comments - OPTIONAL. URL of a page for comments relating to the item. For example: <comments>http://phone.fyicenter.com/Apple_iPhone</comments>.
  • enclosure - OPTIONAL. Describes a media object that is attached to the item. For example: <enclosure url="http://www.scripting.com/mp3s/weatherReportSuite.mp3" length="12216320" type="audio/mpeg" />.
  • guid - OPTIONAL. A string that uniquely identifies the item. For example: <guid isPermaLink="true">http://phone.fyicenter.com/Apple_iPhone/</guid>.
  • pubDate - OPTIONAL. The publication date of the item in the RFC 822 standard format. For example: <pubDate>Sun, 17 Sep 2017 17:30:51 +0200</pubDate>.
  • source - OPTIONAL. The RSS channel that the item came from.. For example: <source url="http://dev.fyicenter.com/rss_xml.php">FYI Center for Developers</source>.

 

HTML Tags in RSS "channel/item/description"

RSS "channel/textInput" Element

RSS specifications

⇑⇑ RSS FAQ and Tutorials

2017-11-11, 1700🔥, 0💬