RSS 2.0 Specification [z]

xiaoxiao2021-03-06  64

RSS 2.0 Specification

Contents

What is rs s? Sample Files About this Document Required Channel Elements Optional Channel Elements Elements of

Comments extending RSS Roadmap license and authorship

What is rss ??

RSS Directory

About this websiteSpecificationsFeedsAggregatorsValidatorsHowtos / ArticlesToolsUtilitiesRSS is a Web content syndication format.

ITS Name is an Acronym for

Really Simple Syndication.

RSS IS A DIALECT OF XML. All RSS Files Must Conform To The XML 1.0

Specification, AS Published on The World Wide Web Consortium (W3C) Website.

A Summary of

RSS VERSION HISTORY.

At the top level, a RSS document is a

ELEMENT, WITH A MANDATORY Attribute Called Version, That Specifies The Version of Rss That The Document Conforms To. IF IT Conforms To this Specification, The Version Attribute Must BE 2.0.

Subordinate to the

ELEMENT IS A SINGLE

Element, Which Contains Information About The Channel (Metadata) and ITS Contents.

Sample files?

Here Are Sample Files for: RSS

0.91,

0.92 and

2.0.

Note That The Sample Files May Point To Documents and Services That No Longer Exist. The 0.91 Sample Was Created WHEN THE 0.91 DOCS WERE WERE WRITTEN. Maintaining a TRAIL OF SAMPLES Seem Like a Good Idea.

About this document?

This Document Represents The Status of RSS AS of The Fall Of 2002, Version 2.0.1.

IT INCORPORATES All Changes and Additions, Starting with The Basic Spec for

RSS 0.91 (June 2000) and incdude new features introduces

RSS 0.92 (DECEMBER 2000) and RSS 0.94 (August 2002).

Change Notes Are

Here.

First We Document The Required and Optional Sub-Elements of

And then document the sub-elements of

..........................

Here's a list of the Required Channel Elements, Each with a brief Description, An Example, And Where Available, a Pointer to a more complete design.

ElementDescriptionExampletitleThe name of the channel. It's how people refer to your service. 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. GoUpstate.com News HeadlineslinkThe URL to the HTML website corresponding to the channel.http: //www.goupstate.com/description ??????? Phrase or sentence describing the channel.The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web Site.

OPTIONAL CHANNEL ELEMENTS?

Here's a list of optional channel elements.

ElementDescriptionExamplelanguageThe language the channel is written in. 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. You may also use values ​​defined by the W3C.en-uscopyrightCopyright notice for content in the channel.Copyright 2002, Spartanburg Herald-JournalmanagingEditorEmail address for person responsible for editorial content.geo@herald.com (George Matesky) webMasterEmail address for person responsible for technical issues relating to channel.betty @ herald.com (Betty Guernsey) pubDateThe publication date for the content in the channel. for example, the New York Times publishes on a daily basis, the publication date flips once every 24 hours. That's when the pubDate of the channel changes. 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 P referred) .Sat, 07 Sep 2002 00:00:01 GMTlastBuildDateThe last time the content of the channel changed.Sat, 07 Sep 2002 09:42:31 GMTcategorySpecify one or more categories that the channel belongs to. Follows the same rules as the -LEVEL

Category element. more

INFO.

Newspapers

generatorA string indicating the program used to generate the channel.MightyInHouse Content System v2.3docsA URL that points to the documentation for the format used in the RSS file. It's probably a pointer to this page. It's for people who might stumble across an RSS file on a Web server 25 years from now and wonder what it is.http: //blogs.law.harvard.edu/tech/rsscloudAllows 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.ttlttl standard for time to live. it's a number of minutes That Indicates How long a channel can be cached before refreshing from the source.

60

imageSpecifies a GIF, JPEG or PNG image with the channel. More info here.ratingThe PICS rating for the channel.textInputSpecifies a text input box that can be displayed with the channel. More info hint aggregators telling them for that can be displayed here.skipHoursA Which Hours The can Skip. More info here.skipdaysa hint for aggregators telling the which day. can skip. More info here.

? Sub-element of

?

? is an optional sub-element of

Which Contains Three Required and Three Optional Sub-Elements.

Is The Url of A GIF, JPEG OR PNG Image That Reresents The Channel.

转载请注明原文地址:https://www.9cbs.com/read-118829.html

New Post(0)