File Formats Wiki
Advertisement
RSS
Blank

Filename extension .rss, .xml +
Internet media type application/rss+xml (unregistered)
File formats category - v  e   edit
Smallwikipedialogo.png Wikipedia has an article related to:

RSS is an XML-based web feed file format.

From version 2.0, the initials of the format meant Really Simple Syndication.

Format[]

There are many RSS formats, based on where they are used. An RSS file usually ends in either .rss or .xml, and is an XML file.

RSS files have the rss root element:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    ...
</rss>

A file can have multiple channels, which are distinct sets of items in the web feed. A channel is defined by the channel element, along with some other children elements:

  • title - Required. The title of the channel.
  • link - Required. A URL to the website who provides the web feed.
  • description - Required. A description of the channel.
  • language - Optional. The language code of the language used by the channel. Example: "en-US".

There are also other optional elements.

An item is defined by the item element, which should be children of a channel element. Children elements are:

  • title - Required. The title of the item.
  • link - Required. A URL link to a website. The idea is if the item contains a summary of an article in a website, the link will be a link to the full article.
  • description - Required. A description of the item.
  • author - Optional. E-mail address of the author of the item.

There are also other optional elements.

See also[]

External links[]

Advertisement