RSS 和 Atom 是否足以用于发布和联合组织,或者我应该研究第三种选择?
对于网络提要,我们都知道 RSS 和 Atom,但真的是这样吗?难道就没有第三种选择吗?
如果没有,为什么? RSS 和 Atom 是否足以满足当今分发信息的需求?
For web feeds we all know of RSS and Atom, but is that it? Isn't there a third option?
If not, why? Are RSS and Atom more than qualified to meet today's demand to distribute information?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
除了 Feed 格式之外,pubsubhubbub 等技术也可以帮助更快地分发更改,因为它提供了一项服务通知客户变更的方式。在您的合作伙伴显示您的内容的情况下,这可以防止显示旧内容。
In addition to feed formats, techniques like pubsubhubbub can help distribute changes faster because it provides a service a way to notify clients of changes. In situations where your partners display your content this can prevent old content being shown.
可能还有数百种其他选择。如果没有,我们可以当场弥补...
JSON 并不是一种不常见的联合格式。对于完全在浏览器端 JavaScript 中实现的客户端来说,它更有用,但 JSON 足够简单,可以在任何需要的情况下使用。 这是一个基于 Atom 的 JSON 协议示例。
至于为什么 RSS 和 Atom 是最常见的……RSS 是第一个真正起飞的。它非常有限,不是很严格,并且大量扩展以解决这些限制 - 结果是编写一个好的客户端比应有的要困难得多。 RSS 2.0 并没有真正解决这些问题,至少在最初它引入了其他问题,因此 Atom 作为一种相对干净、可扩展、易于发布、易于处理的替代方案获得了一些关注。
只要有足够的汗水和咒骂,你几乎可以使用任何东西来传播信息。 Finger 和 .plan 文件工作了几年...
There are probably hundreds of other options. If not, we could make some up on the spot...
JSON isn't an uncommon format for syndication. It's more useful for clients that are implemented entirely in browser-side JavaScript, but JSON is simple enough to use in just about anything if necessary. Here's one example of a JSON protocol based on Atom.
As for why RSS and Atom are the most common... RSS was the first to really take off. It was very limited, not very strict, and heavily extended to address the limitations - the result being that writing a good client was far more difficult than it should have been. RSS 2.0 didn't really go far enough to solve these problems, and at least initially it introduced others, and so Atom gained some traction as a comparatively clean, extensible, easy-to-publish, easy-to-process alternative.
With enough sweat and cursing, you can use almost anything to distribute information. Finger and .plan files worked for years...