RSS 2.0 Specification

Source: Internet
Author: User
Tags date format soap domain domain name
rss| Specification RSS 2.0 specification


RSS is the abbreviation for Really Simple Syndication (for rss2.0, it is the abbreviation for these three words, for the 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 <rss&gt, with a prerequisite attribute version to indicate the RSS specification that the document follows, and if the RSS document follows this specification, the version value must be 2.0.

The
<rss> element 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 A list of child elements





elements (Element) description (Description) The importance of an example (Example)


Title channel name must goupstate.com News headlines


link channel URL must be http://www.goupstate.com/

The
Description Channel description must be the latest news from Goupstate.com, a Spartanburg herald-journal Web site.





language channel The language used in the article, available in Netscape or the list of recommended by the consortium can be selected en-US

Copyright
of the content of the copyright channel Optional 2002, Spartanburg Herald-journal


Managingeditor Editor's email optional geo@herald.com (George Matesky)


Webmaster is responsible for 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, SEP 2002 00:00:01 GMT


lastbuilddate channel content last modified date optional Sat, SEP 2002 09:42:31 GMT


Category One or more of the categories that the specified channel belongs to <category>Newspapers</category>


Generator The program name that generated the channel is optional mightyinhouse Content System v2.3


docs The 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 Publish-subscribe protocol for RSS feeds. More info here. Optional <cloud domain= "rpc.sys.com port=" path= "/RPC2" registerprocedure= "Pingme" protocol= "soap"/>


TTL validity period to indicate the maximum time for which the channel can be cached (optional) <ttl>60</ttl>


image specifies a GIF or JPEG or PNG picture to display the optional
with the channel

rating the level of this channel (mainly refers to adults, restrictions, children, etc.) optional


TextInput Specify a text input box for user input, specific information and features are undecided. Optional


skiphours Prompts the news aggregator, those hours it can skip. Optional


skipdays prompts news aggregator, those days it can skip. Optional











a list of child elements of the child element image of RSS2.0 element channel





elements (Element) description (Description) The importance of an example (Example)


URL must be a URL picture

Title of the
title picture, the ALT attribute required for HTTP

The URL of the
link Web site (often replaced by a channel URL) must be

The width of the
width (pixel) is the maximum 144, the default 88 optional

The height of the
height picture (in pixels) is the maximum 400, the default 31 optional


description for Link's title attribute optional








the child element cloud of the RSS2.0 element channel





elements (Element) description (Description) The importance of an example (Example)

The domain name or IP address of the machine where the
domain cloud program resides radio.xmlstoragesystem.com


Port accesses the ports passed by Clound program 80


Path Program (not necessarily the true path)/RPC2


registerprocedure registered available services or procedures xmlstoragesystem.rsspleasenotify


Protocol protocol XML-RPC, SOAP, http-post One of XML-RPC








the child element textinput of the RSS2.0 element channel





elements (Element) description (Description) The importance of an example (Example)


Title submit button's label must be


Description Explain text input area prerequisite

The name of the
name Text area object must be


Link handles the requested CGI program required








on the content of item, please see BLOGGERAPI Learning based on XML-RPC.


Description:


rss2.0 Requirements <link> and <url> of the value of a very partial start, must be registered in the IANA, such as http://or https://or ftp://.


an RSS file can include elements that are not defined here, as long as it is defined in a namespace.


A common problem is the difference between the two, which in some cases is the same, but the former can refer to a certain position in a long text (that is, the so-called page Anchor point bar).











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.