ATOM
天下维客,你可以修改的网络知识库
目录 |
[编辑]
ATOM
- ATOM是一种订阅网志的格式。它与RSS相比来讲,有更大的弹性。
- Atom 是一种基于XML的文档格式以及基于HTTP的协议,它被站点和客户工具等用来聚合网络内容,包括weblog和新闻标题等。它借鉴了各种版本RSS的使用经验。 一些挑剔者说它只不过是另一个内容聚合领域的捣蛋鬼。
- ATOM目前作为IETF的一部分正在制定中 (见[1])。 实现者们热切地等到规范完整出台才使用了它,因此互操作性不是大问题。[2].
- Atom正走在通往IETF标准的路上,在这之前,Atom的最后一个版本是"Atom 0.3",并且已经被相当广泛的聚合工具使用在发布和使用(consuming)上。值得一提的是, Blogger和Gmail这两个由Google提供的服务正在使用Atom.
As well as a replacement for RSS (the "Atom Syndication Format"), the Atom Project is producing the "Atom Publishing Protocol", with a similar aim of improving on and replacing existing publishing mechanisms, such as the Blogger API and LiveJournal XML-RPC Client/Server Protocol. Atom was previously known as "Echo".
The latest Atom data format and publishing protocols are linked from the Working Group's home page.
[编辑]
例子
一个Atom文挡:
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://purl.org/atom/ns#draft-ietf-atompub-format-07">
<title type="text">dive into mark</title>
<subtitle type="html">
A <em>lot</em> of effort
went into making this effortless
</subtitle>
<updated>2005-04-02T12:29:29Z</updated>
<id>tag:example.org,2003:3</id>
<link rel="alternate" type="text/html"
hreflang="en" href="http://example.org/"/>
<copyright>Copyright (c) 2003, Mark Pilgrim</copyright>
<generator uri="http://www.example.com/" version="1.0">
Example Toolkit
</generator>
<entry>
<title>Atom draft-07 snapshot</title>
<link rel="alternate" type="text/html"
href="http://example.org/2005/04/02/atom"/>
<link rel="enclosure" type="audio/mpeg" length="1337"
href="http://example.org/audio/ph34r_my_podcast.mp3"/>
<id>tag:example.org,2003:3.2397</id>
<updated>2005-04-02T12:29:29Z</updated>
<published>2003-12-13T08:29:29-04:00</published>
<author>
<name>Mark Pilgrim</name>
<uri>http://example.org/</uri>
<email>f8dy@example.com</email>
</author>
<contributor>
<name>Sam Ruby</name>
<uri>http://intertwingly.net/blog/</uri>
</contributor>
<contributor>
<name>Joe Gregorio</name>
<uri>http://bitworking.org/</uri>
</contributor>
<content type="xhtml" xml:lang="en"
xml:base="http://diveintomark.org/">
<div xmlns="http://www.w3.org/1999/xhtml">
<p><i>[Update: The Atom draft-07 snapshot is out.]</i></p>
</div>
</content>
</entry>
</feed>
[编辑]
参见
- Wikipedia:Syndication
- List of content syndication markup languages
- Comparison of content syndication markup languages
- FeedBurner, an Atom to RSS converter
[编辑]
外部链接
- IETF Atom Publishing Format and Protocol working group (atompub)
- Atom Wiki - The main place for work on Atom.
- AtomEnabled.org - An unofficial website following the Atom project
- The great syndication wars
- Why we need Echo
- Should Atom Use RDF?


