Recommendation: The latest RSS 2.0 specification

Source: Internet
Author: User
Tags date format version

RSS is the abbreviation of Really Simple Syndication (for rss2.0, the abbreviation for these three words, for rss1.0 is the RDF Site summary abbreviation, 1.0 and 2.0 go two systems).


RSS is based on XML, and all RSS must follow the XML 1.0 specification published on the Web site.


in an RSS document, the root element is, with a prerequisite attribute version indicating the RSS specification that the document follows, and if the RSS document follows this specification, the version value must be 2.0

theelement has only one child element that contains some information about the channel. The channel (channel) is the entire blog, items (item) refers to an article or journal (also known as post).


RSS2.0 element Channel List of child elements

Elements (Element) Description (Description) Range Importance Example (Example)
Title Channel name Necessary goupstate.com News Headlines
Link The URL of the channel Necessary http://www.goupstate.com/
Description Description of the Channel Necessary The latest news from Goupstate.com, a Spartanburg herald-journal Web site.
Language The language that the Channel article uses, Available in Netscape or the list of the consortium recommended Optional En-US
Copyright Copyright Description of Channel content Optional Copyright 2002, Spartanburg Herald-journal
Managingeditor The editor's email Optional Geo@herald.com (George Matesky)
Webmaster Responsible for the channel technical Affairs webmaster Email Optional Betty@herald.com (Betty Guernsey)
pubdate Channel content release date, format follows RFC822 format (year can be 2 or 4 digits) Optional Sat, Modified SEP 2002 00:00:01 GMT
Lastbuilddate Last modified date of channel content Optional Sat, Modified SEP 2002 09:42:31 GMT
Category Specify one or more categories to which the channel belongs Optional Newspapers
Generator The program name that generated the channel Optional Mightyinhouse Content System v2.3
Docs A URL that points to the format description used for the RSS file Optional Http://blogs.law.harvard.edu/tech/rss
cloud allows processes to register with a cloud to is notified of updates to the channel, implementing a lightweight PU Blish-subscribe protocol for RSS feeds. More info here. optional Ttl Validity period to indicate the maximum time that the channel can be cached

Minutes as Units


Optional60










Image Specifies a GIF or JPEG or PNG picture to display with the channel Optional
Rating The rating of this channel (mainly refers to adults, restrictions, children, etc.) Optional
TextInput Specify a text input box for user input, the specific information and function is undecided. Optional
Skiphours Tip The news aggregator, those hours it can skip. Optional
Skipdays Hint news aggregator, those days it can skip. Optional


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.