在网上找了一篇Rss2.0格式的介绍,据说是官方的,根据文章的说明做了个Xml文档出来,自己留个备份,希望能对大家有点帮助。

RSS 2.0 文档格式<?xml version="1.0" ?>
RSS 2.0 文档格式
<rss version="2.0">
RSS 2.0 文档格式    
<channel>
RSS 2.0 文档格式        
<!--Required Elements Begin-->
RSS 2.0 文档格式        
<title>
RSS 2.0 文档格式            
<!--The name of the channel.-->
RSS 2.0 文档格式            
<!--It's how people refer to your service.-->
RSS 2.0 文档格式            
<!--If you have an HTML website that contains the same information as your RSS file, the title of your channel should be the same as the title of your website.-->
RSS 2.0 文档格式            
<!--[Example:GoUpstate.com News Headlines]-->
RSS 2.0 文档格式        
</title>
RSS 2.0 文档格式        
<link>
RSS 2.0 文档格式            
<!--The URL to the HTML website corresponding to the channel.-->
RSS 2.0 文档格式            
<!--[Example:http://www.goupstate.com/]-->
RSS 2.0 文档格式        
</link>
RSS 2.0 文档格式        
<description>
RSS 2.0 文档格式            
<!--Phrase or sentence describing the channel.-->
RSS 2.0 文档格式            
<!--[Example:The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web site.]-->
RSS 2.0 文档格式        
</description>
RSS 2.0 文档格式        
<!--Required Elements End-->
RSS 2.0 文档格式        
<!--Optional Elements Begin-->
RSS 2.0 文档格式        
<language>
RSS 2.0 文档格式            
<!--The language the channel is written in.-->
RSS 2.0 文档格式            
<!--This allows aggregators to group all Italian language sites, for example, on a single page. A list of allowable values for this element, as provided by Netscape, is here.-->
RSS 2.0 文档格式            
<!--You may also use values defined by the W3C.-->
RSS 2.0 文档格式            
<!--[Example:en-us]-->
RSS 2.0 文档格式        
</language>
RSS 2.0 文档格式        
<copyright>
RSS 2.0 文档格式            
<!--Copyright notice for content in the channel.-->
RSS 2.0 文档格式            
<!--[Example:Copyright 2002, Spartanburg Herald-Journal]-->
RSS 2.0 文档格式        
</copyright>
RSS 2.0 文档格式        
<managingEditor>
RSS 2.0 文档格式            
<!--Email address for person responsible for editorial content.-->
RSS 2.0 文档格式            
<!--[Example:geo@herald.com (George Matesky)]-->
RSS 2.0 文档格式        
</managingEditor>
RSS 2.0 文档格式        
<webMaster>
RSS 2.0 文档格式            
<!--Email address for person responsible for technical issues relating to channel.-->
RSS 2.0 文档格式            
<!--[Example:betty@herald.com (Betty Guernsey)]-->
RSS 2.0 文档格式        
</webMaster>
RSS 2.0 文档格式        
<pubDate>
RSS 2.0 文档格式            
<!--The publication date for the content in the channel.-->
RSS 2.0 文档格式            
<!--For example, the New York Times publishes on a daily basis, the publication date flips once every 24 hours.-->
RSS 2.0 文档格式            
<!--That's when the pubDate of the channel changes.-->
RSS 2.0 文档格式            
<!--All date-times in RSS conform to the Date and Time Specification of RFC 822, with the exception that the year may be expressed with two characters or four characters (four preferred).-->
RSS 2.0 文档格式            
<!--[Example:Sat, 07 Sep 2002 00:00:01 GMT]-->
RSS 2.0 文档格式        
</pubDate>
RSS 2.0 文档格式        
<lastBuildDate>
RSS 2.0 文档格式            
<!--The last time the content of the channel changed.-->
RSS 2.0 文档格式            
<!--[Example:Sat, 07 Sep 2002 09:42:31 GMT]-->
RSS 2.0 文档格式        
</lastBuildDate>
RSS 2.0 文档格式        
<category>
RSS 2.0 文档格式            
<!--one or more categories that the channel belongs to.-->
RSS 2.0 文档格式            
<!--Follows the same rules as the <item>-level category element.-->
RSS 2.0 文档格式            
<!--[Example:<category>Newspapers</category>]-->
RSS 2.0 文档格式        
</category>
RSS 2.0 文档格式        
<generator>
RSS 2.0 文档格式            
<!--A string indicating the program used to generate the channel.-->
RSS 2.0 文档格式            
<!--[Example:MightyInHouse Content System v2.3]-->
RSS 2.0 文档格式        
</generator>
RSS 2.0 文档格式        
<docs>
RSS 2.0 文档格式            
<!--A URL that points to the documentation for the format used in the RSS file.-->
RSS 2.0 文档格式            
<!--It's probably a pointer to this page.-->
RSS 2.0 文档格式            
<!--It's for people who might stumble across an RSS file on a Web server 25 years from now and wonder what it is.-->
RSS 2.0 文档格式            
<!--[Example:http://blogs.law.harvard.edu/tech/rss]-->
RSS 2.0 文档格式        
</docs>
RSS 2.0 文档格式        
<cloud>
RSS 2.0 文档格式            
<!--processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.-->
RSS 2.0 文档格式            
<!--[Example:<cloud domain="rpc.sys.com" port="80" path="/RPC2" registerProcedure="pingMe" protocol="soap"/>]-->
RSS 2.0 文档格式            
<!--It specifies a web service that supports the rssCloud interface which can be implemented in HTTP-POST, XML-RPC or SOAP 1.1.-->
RSS 2.0 文档格式            
<!--Its purpose is to allow processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.-->
RSS 2.0 文档格式            
<!--<cloud domain="rpc.sys.com" port="80" path="/RPC2" registerProcedure="myCloud.rssPleaseNotify" protocol="xml-rpc" />-->
RSS 2.0 文档格式            
<!--In this example, to request notification on the channel it appears in, you would send an XML-RPC message to rpc.sys.com on port 80, with a path of /RPC2. The procedure to call is myCloud.rssPleaseNotify.-->
RSS 2.0 文档格式        
</cloud>
RSS 2.0 文档格式        
<ttl>
RSS 2.0 文档格式            
<!--ttl stands for time to live.-->
RSS 2.0 文档格式            
<!--It's a number of minutes that indicates how long a channel can be cached before refreshing from the source.-->
RSS 2.0 文档格式            
<!--[Example:<ttl>60</ttl>]-->
RSS 2.0 文档格式        
</ttl>
RSS 2.0 文档格式        
<image>
RSS 2.0 文档格式            
<!--Required Elements Of <image> Begin-->
RSS 2.0 文档格式            
<!--a GIF, JPEG or PNG image that can be displayed with the channel.-->
RSS 2.0 文档格式            
<url>
RSS 2.0 文档格式                
<!--is the URL of a GIF, JPEG or PNG image that represents the channel.-->
RSS 2.0 文档格式            
</url>
RSS 2.0 文档格式            
<title>
RSS 2.0 文档格式                
<!--describes the image, it's used in the ALT attribute of the HTML <img> tag when the channel is rendered in HTML.-->
RSS 2.0 文档格式            
</title>
RSS 2.0 文档格式            
<link>
RSS 2.0 文档格式                
<!--is the URL of the site, when the channel is rendered, the image is a link to the site. (Note, in practice the image <title> and <link> should have the same value as the channel's <title> and <link>.-->
RSS 2.0 文档格式            
</link>
RSS 2.0 文档格式            
<!--Required Elements Of <image> End-->
RSS 2.0 文档格式            
<!--Optional Elements Of <image> Begin-->
RSS 2.0 文档格式            
<width>
RSS 2.0 文档格式                
<!--Maximum value for width is 144, default value is 88.-->
RSS 2.0 文档格式            
</width>
RSS 2.0 文档格式            
<height>
RSS 2.0 文档格式                
<!--Maximum value for height is 400, default value is 31.-->
RSS 2.0 文档格式            
</height>
RSS 2.0 文档格式            
<!--Optional Elements Of <image> End-->
RSS 2.0 文档格式        
</image>
RSS 2.0 文档格式        
<rating>
RSS 2.0 文档格式            
<!--The PICS rating for the channel.]-->
RSS 2.0 文档格式        
</rating>
RSS 2.0 文档格式        
<textInput>
RSS 2.0 文档格式            
<!--Specifies a text input box that can be displayed with the channel.-->
RSS 2.0 文档格式            
<!--The purpose of the <textInput> element is something of a mystery.-->
RSS 2.0 文档格式            
<!--You can use it to specify a search engine box. Or to allow a reader to provide feedback.-->
RSS 2.0 文档格式            
<!--Most aggregators ignore it.-->
RSS 2.0 文档格式            
<!--Required Elements Of <textInput> Begin-->
RSS 2.0 文档格式            
<title>
RSS 2.0 文档格式                
<!--The label of the Submit button in the text input area.-->
RSS 2.0 文档格式            
</title>
RSS 2.0 文档格式            
<description>
RSS 2.0 文档格式                
<!--Explains the text input area.-->
RSS 2.0 文档格式            
</description>
RSS 2.0 文档格式            
<name>
RSS 2.0 文档格式                
<!--The name of the text object in the text input area.-->
RSS 2.0 文档格式            
</name>
RSS 2.0 文档格式            
<link>
RSS 2.0 文档格式                
<!--The URL of the CGI script that processes text input requests.-->
RSS 2.0 文档格式            
</link>
RSS 2.0 文档格式            
<!--Required Elements Of <textInput> End-->
RSS 2.0 文档格式        
</textInput>
RSS 2.0 文档格式        
<skipHours>
RSS 2.0 文档格式            
<!--A hint for aggregators telling them which hours they can skip.-->
RSS 2.0 文档格式        
</skipHours>
RSS 2.0 文档格式        
<skipDays>
RSS 2.0 文档格式            
<!--A hint for aggregators telling them which days they can skip.-->
RSS 2.0 文档格式        
</skipDays>
RSS 2.0 文档格式        
<!--Optional Elements End-->
RSS 2.0 文档格式        
<item>
RSS 2.0 文档格式            
<!--Optional Elements Of <item> Begin-->
RSS 2.0 文档格式            
<title>
RSS 2.0 文档格式                
<!--The title of the item.-->
RSS 2.0 文档格式                
<!--[Example:Venice Film Festival Tries to Quit Sinking]-->
RSS 2.0 文档格式            
</title>
RSS 2.0 文档格式            
<link>
RSS 2.0 文档格式                
<!--The URL of the item.-->
RSS 2.0 文档格式                
<!--[Example:http://nytimes.com/2004/12/07FEST.html]-->
RSS 2.0 文档格式            
</link>
RSS 2.0 文档格式            
<description>
RSS 2.0 文档格式                
<!--The item synopsis.-->
RSS 2.0 文档格式                
<!--[Example:Some of the most heated chatter at the Venice Film Festival this week was about the way that the arrival of the stars at the Palazzo del Cinema was being staged.]-->
RSS 2.0 文档格式            
</description>
RSS 2.0 文档格式            
<author>
RSS 2.0 文档格式                
<!--Email address of the author of the item.-->
RSS 2.0 文档格式                
<!--It's the email address of the author of the item.-->
RSS 2.0 文档格式                
<!--For newspapers and magazines syndicating via RSS, the author is the person who wrote the article that the <item> describes.-->
RSS 2.0 文档格式                
<!--For collaborative weblogs, the author of the item might be different from the managing editor or webmaster.-->
RSS 2.0 文档格式                
<!--For a weblog authored by a single individual it would make sense to omit the <author> element.-->
RSS 2.0 文档格式                
<!--<author>lawyer@boyer.net (Lawyer Boyer)</author>-->
RSS 2.0 文档格式            
</author>
RSS 2.0 文档格式            
<category domain="optional, identifies a categorization taxonomy.">
RSS 2.0 文档格式                
<!--Includes the item in one or more categories.-->
RSS 2.0 文档格式                
<!--It has one optional attribute, domain, a string that identifies a categorization taxonomy.-->
RSS 2.0 文档格式                
<!--<category>Grateful Dead</category>-->
RSS 2.0 文档格式                
<!--<category domain="http://www.fool.com/cusips">MSFT</category>-->
RSS 2.0 文档格式            
</category>
RSS 2.0 文档格式            
<comments>
RSS 2.0 文档格式                
<!--URL of a page for comments relating to the item.-->
RSS 2.0 文档格式                
<!--If present, it is the url of the comments page for the item.-->
RSS 2.0 文档格式                
<!--<comments>http://ekzemplo.com/entry/4403/comments</comments>-->
RSS 2.0 文档格式            
</comments>
RSS 2.0 文档格式            
<enclosure url="where the enclosure is located, The url must be an http url." length="how big it is in bytes" type="what its type is, a standard MIME type">
RSS 2.0 文档格式                
<!--Describes a media object that is attached to the item.-->
RSS 2.0 文档格式                
<!--<enclosure url="http://www.scripting.com/mp3s/weatherReportSuite.mp3" length="12216320" type="audio/mpeg" />-->
RSS 2.0 文档格式                
<!--It has three required attributes.-->
RSS 2.0 文档格式                
<!--url says where the enclosure is located,-->
RSS 2.0 文档格式                
<!--length says how big it is in bytes,-->
RSS 2.0 文档格式                
<!--and type says what its type is, a standard MIME type.-->
RSS 2.0 文档格式            
</enclosure>
RSS 2.0 文档格式            
<guid isPermaLink="optional, true(default) or false">
RSS 2.0 文档格式                
<!--A string that uniquely identifies the item.-->
RSS 2.0 文档格式                
<!--guid stands for globally unique identifier.-->
RSS 2.0 文档格式                
<!--It's a string that uniquely identifies the item.-->
RSS 2.0 文档格式                
<!--When present, an aggregator may choose to use this string to determine if an item is new.-->
RSS 2.0 文档格式                
<!--<guid>http://some.server.com/weblogItem3207</guid>-->
RSS 2.0 文档格式                
<!--If the guid element has an attribute named "isPermaLink" with a value of true, the reader may assume that it is a permalink to the item, that is, a url that can be opened in a Web browser, that points to the full item described by the <item> element. An example:-->
RSS 2.0 文档格式                
<!--<guid isPermaLink="true">http://inessential.com/2002/09/01.php#a2</guid>-->
RSS 2.0 文档格式            
</guid>
RSS 2.0 文档格式            
<pubDate>
RSS 2.0 文档格式                
<!--Indicates when the item was published.-->
RSS 2.0 文档格式                
<!--Its value is a date, indicating when the item was published.-->
RSS 2.0 文档格式                
<!--If it's a date in the future, aggregators may choose to not display the item until that date.-->
RSS 2.0 文档格式                
<!--<pubDate>Sun, 19 May 2002 15:21:36 GMT</pubDate>-->
RSS 2.0 文档格式            
</pubDate>
RSS 2.0 文档格式            
<source url="required attribute, url, which links to the XMLization of the source.">
RSS 2.0 文档格式                
<!--The RSS channel that the item came from.-->
RSS 2.0 文档格式                
<!--<source url="http://www.tomalak.org/links2.xml">Tomalak's Realm</source>-->
RSS 2.0 文档格式                
<!--The purpose of this element is to propagate credit for links, to publicize the sources of news items. It can be used in the Post command of an aggregator.-->
RSS 2.0 文档格式                
<!--should be generated automatically when forwarding an item from an aggregator to a weblog authoring tool.-->
RSS 2.0 文档格式            
</source>
RSS 2.0 文档格式            
<!--Optional Elements Of <item> End-->
RSS 2.0 文档格式        
</item>
RSS 2.0 文档格式    
</channel>
RSS 2.0 文档格式
</rss>
RSS 2.0 文档格式

相关文章: