rss| Standard
What is RSS?
RSS is a form of site content aggregation.
Its name is the abbreviation of Really simple syndication .
RSS is one of the XML. All RSS documents follow the XML 1.0 specification , which is posted on the Web site.
here is an overview of the RSS version history.
In an RSS document, the outermost layer is a <rss> element that must specify the version attribute, which makes clear what RSS version specification this document complies with. If an RSS document is represented by this specification, then its version attribute must be 2.0.
The <rss> element has only one child element <channel>, and contains some information about the channel (metadata) and its contents.
Sample file
Here are some RSS sample files: RSS 0.91, 0.92 , and 2.0.
Note that the link addresses and servers that these sample files point to May no longer exist. By the time the 0.91 document was written, this 0.91 sample file had been created. The history of maintaining a sample file may be a good idea.
About this document
This document was completed in the autumn of 2002, with a version of 2.0.1.
It contains all the modifications and additions that began with the RSS 0.91 Specification (2000), as well as new features included in RSS 0.92 (December 2000) and RSS 0.94 (August 2002).
Please refer to the detailed document history here .
The necessary and optional channel elements are described first in this document, followed by the child elements of <item>. Finally, answer some of the frequently encountered problems and provide guidelines for future development routes and RSS extensions.
Required channel elements
Here is a list of the channel (channel) elements that must be included, each with a simple description, an example, where it should appear, and a more detailed description of the link address.
01. Title
Name: Title
Description: The name of the channel. It shows how others are accessing your service. If you have an HTML site that is consistent with the content of your RSS file, your Title element value should be the same as the title of your site.
Example: The headline of Goupstate.com's news.
02. Link
Name: Link
Description: The URL link address of the corresponding channel's Web site.
Example: http://www.goupstate.com/.
03. description
Name: Description
Description: A description of the channel.
Example: The latest news from Goupstate.com, a Spartanburg herald-journal Web site.