RSS-RDF-ATOM

今天偶尔想把一个论坛的RSS放到我的GreatNews里面, 发现提供了三个, RSS, RDF和ATOM. 其实大概知道ATOM比较新一些.但有不知道具体能有什么区别.

搜索了一下, 在wikipedia找到几个定义, 另外在一个网站找到了中文的说明. 摘录如下.

RSS is a family of web feed formats used to publish frequently updated digital content, such as blogs, news feeds or podcasts.
Resource Description Framework (RDF) is a family of World Wide Web Consortium (W3C) specifications originally designed as a metadata model but which has come to be used as a general method of modeling information, through a variety of syntax formats.
The name Atom applies to a pair of related standards. The Atom Syndication Format is an XML language used for web feeds, while the Atom Publishing Protocol ( APP for short) is a simple HTTP-based protocol for creating and updating Web resources.

RSS 文档是一个 XML 文件,它包含大量离散的新闻项,如某个网志中的入口项。由于 RSS 是 XML 格式文件,所以它很容易被其它程序所使用。RSS 1.0 和 2.0 格式所包含的核心信息相同,但其结构不一样。在 RSS 1.0 中,title 和 link 是必须的,description 是可选的。而在 RSS 2.0 中,title 或 description 必须提供其中的一个;其它均可选。RSS 2.0 提供几个其它可选元素,其中有 author、category、comments、enclosure、guid、pubDate 和 source。有关不同格式的完整信息请参考 RSS 1.02.0 规范。
 
Atom 乃一项目的名字,主要是开发一个新的网志摘要格式以解决目前 RSS 存在的问题(混乱的版本号,不是一个真正的开放标准,表示方法的不一致,定义贫乏等等)。Atom 希望提供一个清晰的版本以解决每个人的需要,其设计完全不依赖于供货商,任何人都可以对之进行自由扩展,完整详细说明。
 
 
REFERENCE:
1. wikipedia
 

你可能感兴趣的:(html,Web,xml)