RSS介绍
转载自Wikipedia
RSS是一种用于网上新闻频道、网志(weblogs)和其他Web内容的数据交换规范,起源于网景通讯公司(Netscape)的推送技术(push technology),将订户订阅的内容传送给他们的通讯协同格式(Protocol)。RSS可以是以下三个解释的其中一个:
- Really Simple Syndication(RSS 2.0)
- RDF (Resource Description Framework) Site Summary(RSS 0.91, RSS 1.0)
- Rich Site Summary (RSS 0.9 and 1.0)
但其实这三个解释都是指同一种企业联合组织(Syndication)的技术。
目前RSS规范的主要版本有0.91、1.0和2.0。
0.91版和1.0版完全不同,风格不同,制定标准的人也不同。0.91版和2.0版一脉相承。1.0版更靠拢XML标准。现时世界多数知名新闻社网站都提供RSS订阅支持。
为什么使用RSS?
RSS让网站能够制造内容摘要,并让用户以不同的方式浏览这些摘要。
如果没有RSS,用户可能需要每天去登入某个网站(如雅虎、MSN)去浏览已更新的新闻,这可能是一件非常浪费时间的事情。目前已经有很多网站向用 户提供了免费的RSS馈送(RSS feed)。那么,用户就不必每天登入到该网站检查更新的新闻,他们只需要一款RSS阅读器(有客户端软件或者在线工具),将他感兴趣的网站提供的新闻 RSS馈送添加到这个阅读器,在本地电脑上运行阅读器或者登录到网络(目前还有基于手机的移动版本)就可以查看到新闻的更新内容。
范例
下列的例子是一个 RSS 1.0 的档案内容。
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="http://www.xml.com/xml/news.rss"> <title>XML.com</title> <link>http://xml.com/pub</link> <description> XML.com features a rich mix of information and services for the XML community. </description> <image rdf:resource="http://xml.com/universal/images/xml_tiny.gif" /> <items> <rdf:Seq> <rdf:li resource="http://xml.com/pub/2000/08/09/xslt/xslt.html" /> <rdf:li resource="http://xml.com/pub/2000/08/09/rdfdb/index.html" /> </rdf:Seq> </items> <textinput rdf:resource="http://search.xml.com" /> </channel>
<image rdf:about="http://xml.com/universal/images/xml_tiny.gif"> <title>XML.com</title> <link>http://www.xml.com</link> <url>http://xml.com/universal/images/xml_tiny.gif</url> </image>
<item rdf:about="http://xml.com/pub/2000/08/09/xslt/xslt.html"> <title>Processing Inclusions with XSLT</title> <link>http://xml.com/pub/2000/08/09/xslt/xslt.html</link> <description> Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing. </description> </item>
<item rdf:about="http://xml.com/pub/2000/08/09/rdfdb/index.html"> <title>Putting RDF to Work</title> <link>http://xml.com/pub/2000/08/09/rdfdb/index.html</link> <description> Tool and API support for the Resource Description Framework is slowly coming of age. Edd Dumbill takes a look at RDFDB, one of the most exciting new RDF toolkits. </description> </item>
<textinput rdf:about="http://search.xml.com"> <title>Search XML.com</title> <description>Search XML.com's XML collection</description> <name>s</name> <link>http://search.xml.com</link> </textinput> </rdf:RDF>
下列的例子是一个 RSS 2.0 的档案内容。
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Liftoff News</title>
<link>http://liftoff.msfc.nasa.gov/</link>
<description>Liftoff to Space Exploration.</description>
<language>en-us</language>
<pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate>
<lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Weblog Editor 2.0</generator>
<managingEditor>editor@example.com</managingEditor>
<webMaster>webmaster@example.com</webMaster>
<item>
<title>Star City</title>
<link>http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp</link>
<description>How do Americans get ready to work with Russians aboard the
International Space Station? They take a crash course in culture, language
and protocol at Russia's Star City.</description>
<pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate>
<guid>http://liftoff.msfc.nasa.gov/2003/06/03.html#item573</guid>
</item>
<item>
<title>Space Exploration</title>
<link>http://liftoff.msfc.nasa.gov/</link>
<description>Sky watchers in Europe, Asia, and parts of Alaska and Canada
will experience a partial eclipse of the Sun on Saturday, May 31st.</description>
<pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate>
<guid>http://liftoff.msfc.nasa.gov/2003/05/30.html#item572</guid>
</item>
<item>
<title>The Engine That Does More</title>
<link>http://liftoff.msfc.nasa.gov/news/2003/news-VASIMR.asp</link>
<description>Before man travels to Mars, NASA hopes to design new engines
that will let us fly through the Solar System more quickly. The proposed
VASIMR engine would do that.</description>
<pubDate>Tue, 27 May 2003 08:37:32 GMT</pubDate>
<guid>http://liftoff.msfc.nasa.gov/2003/05/27.html#item571</guid>
</item>
<item>
<title>Astronauts' Dirty Laundry</title>
<link>http://liftoff.msfc.nasa.gov/news/2003/news-laundry.asp</link>
<description>Compared to earlier spacecraft, the International Space
Station has many luxuries, but laundry facilities are not one of them.
Instead, astronauts have other options.</description>
<pubDate>Tue, 20 May 2003 08:56:02 GMT</pubDate>
<guid>http://liftoff.msfc.nasa.gov/2003/05/20.html#item570</guid>
</item>
</channel>
</rss>
RSS规范
RSS阅读器
专用阅读器
- eSobi (繁体中文官方网站) (官方网站)
- BitsCast RSS News Reader/Podcaster (官方网站)
- onelurv (官方网站)
- BOKEE
- GreatNews (官方网站) (简体中文官方网站) (繁体中文官方网站)
- HEXUN RSS READER 和讯博揽
- iSpace Desktop
- Liferea (官方网站)
- NewsFire (官方网站)
- NetNewsWire (官方网站)
- Plazoo
- RSS Bandit
- RSSOwl (官方网站)
- RSS Reader
- SharpReader
- Snarfer (官方网站)
- Straw (官方网站)
- Vienna (官方网站)
- 新浪点点通阅读器 ([1])
在线阅读器
- 活生生的部落格
- 鲜果在线
- Live.com 微软个人化网页平台
- 百博网
- Netvibes,多国语言
- 阿土|cute
- 抓虾
- Bloglines
- Google Reader
- NewsGator
- Rojo
- Spokeo RSS/社群网站阅读器
- CozyWebsite 谷趣网
- Cipper.com台湾RSS在线阅读器


“RSS介绍”共有0条回复
发表评论