PubSubHubbub 用于 Ruby 博客 (Merb)

发布于 2024-08-03 08:37:17 字数 449 浏览 7 评论 0原文

我正在写我自己的博客(每个人都应该这样做,这是很好的体验)。我已经实现了 Atom 和 RSS feed,许多读者都在使用它们。大多数读者都在使用 Google Reader,它目前会定期轮询我的网站以获取更新。

我想设置一个发布订阅 (PubSubHubbub) 选项,如此处所述,我会喜欢作为我自己的集线器,即将集线器协议集成到应用程序中,而不是需要单独的东西来维护或依赖第三方。

我的问题是:

  1. 如果我这样做,哪些提要阅读服务将优先使用此协议而不是轮询?
  2. 我需要实施什么才能让它启动并运行?

I am writing my own blog (every one should, it's good experience). I have implemented Atom and RSS feeds, and they are used by a number of readers. Most of those readers are using Google Reader, who at the moment polls my site regularly for updates.

I would like to setup a publish Subscribe (PubSubHubbub) option as documented here, and I would like to serve as my own hub, that is integrated the hub protocol into the app as opposed to having a separate thing to maintain or relying on a third party.

My questions are:

  1. If I do this which feed reading services will use this protocol in preference to polling?
  2. What do I need to implement on my end to get this up and running?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦魇绽荼蘼 2024-08-10 08:37:17

将您的 CMS 与您自己的 Hub 集成听起来不错。这就是很多人会/应该这样做的方式!

  1. 目前,FriendFeed 和 livedoor Reader 是消费 PubSubHubbub 的两个主要订阅者。其他服务(如 favit.com)也有支持。其他服务也正在开发中,包括 Google Reader。

  2. 您需要实现一个集线器。一定要看看 Web Glue,它是用 Ruby 编写的(也许你可以帮助他扩展代码库)。您应该能够将其集成到您现有的系统中。

祝你好运!让我们知道它在邮件列表上的情况。

Sounds good to integrate your CMS with your own Hub. That's the way a lot of people will/should do it!

  1. Right now, FriendFeed and livedoor Reader are the two main subscribers who consume PubSubHubbub. Other services (like favit.com) also have support. Other services have support in the works, including Google Reader.

  2. You need to implement a Hub. Definitely look at Web Glue, which is written in Ruby (perhaps you could help him extend the codebase). You should be able to integrate it into your existing system.

Good luck! Let us know how it goes on the mailing list.

家住魔仙堡 2024-08-10 08:37:17

网页胶看起来不错!我发现了 另一个 Pubsubhubbub 客户端,它看起来很容易使用。

Web Glue looks good! I found another Pubsubhubbub client, which seems easy to use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文