RSS 2.0 specification
RSS is an abbreviation for Really Simple Syndication (for RSS2.0, it is the abbreviation of these three words. It is the abbreviation of RDF Site Summary, 1.0 and 2.0 is two systems) RSS based on XML All RSS must follow the XML 1.0 specification published on the W3C website. In an RSS document, the root element is
RSS2.0 Element Channel List of Child Elements
Element Description (Descripting) Value Domain Importance Example (Example) Title Channel Name Essential GoupState.com News HeadlinesLink channel URL must-have http://www.goupState.com/description channel Description of the Latest News from GoUpstate.com, a Spartanburg Herald-Journal Web site.language article used language channels available or netscape w3c list of recommended optional en-uscopyright optional channel content copyright copyright 2002, Spartanburg Herald-JournalmanagingEditor editor of email may Selecting geo@herald.com WebMaster responsible for channel technical transactions website administrator Email Optional Betty@herald.com (betty Guernse) Pubdate Channel content issuance date, format Follow RFC822 format (2 or 4 digits) Optional SAT, 07 Sep 2002 00:00:01 GMTLASTBUILDDATE Channel Content Last Modified Date Optional SAT, 07 Sep 2002 09:42:31 Gmtcategory Specifies one or several categories of the channel to which the channel belongs can be selected
Description (ELEMENT) Description Value Domain Importance Example (EXAMPLE) URL Picture of URL Essential Title Image Title, the URL of the Alt Attribute for HTTP (actually often replaced by channel URL) Width picture The width (pixel unit) Maximum 144, the default 88 Optional Height picture is high (pixel unit) maximum 400, the default 31 optional Description with the Title property for LINK optional
List of child elements of rss2.0 elements CHANNEL CLOUD
Element Description Value Domain Importance Example (Example) DomainCloud Program The Domain Name of the DomainCloud Project Radio.XMLSTORAGESYSTEM.COMPORT Access the port 80Path program passing the port 80Path program (not necessarily a real path) / RPC2REGisterProcedure Registered service or process XMLSTORAGESYSTEM.RSSPLEASENOTIFYPROTOCOL protocol XML-RPC, SOAP, HTTP-POST 1 XML-RPCRS2.0 element CHANNEL's child element textInput child elements list
Description (Description) Value Domain Importance Example (Example) Titlesubmit button label must-have Description explanation Text Enter the NameText Area object name must have a list of LINK procedures Submitted CGI program necessary
For Item's content, please read the XML-RPC-based bloggerapi learning. Description: RSS2.0 requires and
versus
The difference between the two is the same in some cases, but the former can refer to a certain location in a few long texts (the so-called pages anchor).