提供 RSS 和 Atom 提要?我们两者都需要还是RSS赢了? [英] Providing RSS and Atom feeds? Do we need both or has RSS won?

查看:55
本文介绍了提供 RSS 和 Atom 提要?我们两者都需要还是RSS赢了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的网站提供一些 RSS 提要.是否值得提供 Atom 提要?还是 Atom 是更常见的提要?有赢家吗?

I want to provide some RSS feed(s) for my site. Is it worth providing Atom feeds? or is Atom the more common feed? Is there a winner?

顺便说一句,这与编程有关,因为我需要对我们将提供的提要进行编程(或使用一些开源代码等).

BTW, this relates to programming because I'm required to program the feed which we will provide (or use some open source code, etc).

到目前为止,似乎有人在说,如果我只需要花时间支持一个,Atom 应该是要走的路?其他人是否同意这些想法(并希望得到一些统计数据的支持??)

So far it looks like peeps are saying Atom should be the way to go if I need to only spend time supporting one? Anyone else agree with these thoughts (and hopefully backed up by some stats??)

当我在网上绊倒一些 RSS 架构细节时,我正在阅读 RSS Wiki 条目,他们说

While stumbling around the net for some RSS schema details, I was reading the RSS Wiki entry, and they say

截至 2007 年 1 月[更新],跟踪来自 www.syndic8.com 的数据表明RSS 的三个主要版本目前使用的是 0.91、1.0 和 2.0.的这些,RSS 0.91 占 13占全球 RSS 使用量和 RSS 的百分比2.0 占 67%,而 RSS 1.0 占 17%.[22]这些数字,但是,不包括使用竞争对手的网络提要格式 Atom.作为2008年8月[更新],syndic8.com网站正在索引总共 546,069 个饲料,其中 86,496 是一些原子方言和 438,102 是一些RSS 方言.[23]

As of January 2007[update], tracking data from www.syndic8.com indicates that the three main versions of RSS in current use are 0.91, 1.0, and 2.0. Of these, RSS 0.91 accounts for 13 percent of worldwide RSS usage and RSS 2.0 for 67 percent, while RSS 1.0 has a 17 percent share.[22] These figures, however, do not include usage of the rival web feed format Atom. As of August 2008[update], the syndic8.com website is indexing 546,069 total feeds, of which 86,496 were some dialect of Atom and 438,102 were some dialect of RSS.[23]

这表明 RSS 是 Atom 的主要格式.

This suggests that RSS is the dominant format over Atom.

所以我可能自己回答了这个问题.

So I might have answered the question myself.

推荐答案

有一些区别 there 可以总结为:

There are a few differences there which could be summed up :

  • 在 Atom 中,可以指定内容(文本、html),甚至可以是 base64 编码形式的二进制文件(例如,音轨或视频).
  • 使用非常标准的 XML 日期格式 (rfc3339).
  • 处理不同语言的内容.
  • 模块化

此外,Atom 文件格式是 Atom 发布协议的更大方案的一部分,该协议不仅可以用于读取,还可以用于写入.

Also, the Atom file format is part of a greater scheme with is Atom Publication Protocol, which can be used not only to read but also to write.

这篇关于提供 RSS 和 Atom 提要?我们两者都需要还是RSS赢了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆