Recommendation: latest RSS2.0 specification (Chinese Version) Daquan

Source: Internet
Author: User
For the original English version, see explain (for rss2.0, it is the abbreviation of these three words, for rss1.0, it is the abbreviation of RDFSiteSummary, and 1.0 and 2.0 are two systems ). RSS based

See http://blogs.law.harvard.edu/tech/rss for the original English version

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

RSS is based on XML, and all RSS must comply with the XML 1.0 specification published on the w3c website.

In an RSS document, the root element is It has a required attribute version to indicate the rss specification that the document complies with. if the rss document complies with this specification, the version value must be 2.0.

   The element has only one child element, containing information about the channel. Channels are all blogs, and items refer to an article or log (also called post ).

List of child elements of the RSS2.0 element channel

Element Description (Description) value importance Example (Example) title channel name required GoUpstate.com News Headlines link channel URL required http://www.goupstate.com/Description Channel Description required The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web site. language: The language in which the article is published. you can use the optional en-us copyright channel content in the list recommended by netscape or w3c. optional: Copyright 2002, spartanburg Herald-Journal managingEditor obligations compiled e-mail optional geo@herald.com (George Matesky) webMaster responsible for channel skills transactions website administrator email optional betty@herald.com (Betty Guernsey) pubDate Channel content announcement date, the format complies with the RFC822 pattern (the year can be two or four people) can choose Sat, 07 Sep 2002 00:00:01 GMT lastBuildDate Channel content last correction date can choose Sat, 07 Sep 2002 09:42:31 GMT category one or more types of the specified channel News *** s Generator native program name for this channel optional MightyInHouse Content System v2.3 docs points to the URL of the pattern stated for this RSS file optional http://blogs.law.harvard.edu/tech/rss cloud Allows processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds. more info here. optional Ttl validity period, which indicates that the channel can be cached for a maximum of minutes. optional. 60 Image specifies a GIF, JPEG, or PNG image to display the rating option along with the channel (important: Adult, restricted, or children) optional textInput specifies a text input box for users to enter. the specific information and efficacy are not fixed. Optional skipHours prompts message aggregators, which can be skipped during those hours. The optional skipDays prompt message aggregator, which can be skipped in those days. Optional

2 pages in total: previous 1 [2] Next


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.