Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

PubSubHubbub

> 编程语言
Open source

Asynchronous PubSubHubbub Ruby Client

174 stars0 likes0 views
WebsiteGitHub

About

Asynchronous PubSubHubbub Ruby Client

= Ruby / Asynchronous PubSubHubbub Client

EventMachine based / asynchronous PubSubHubbub client. Supports posting single or multiple URLs.

Full Spec: http://code.google.com/p/pubsubhubbub

HTTP PubSub: Webhooks & PubSubHubbub: http://www.igvita.com/2009/06/29/http-pubsub-webhooks-pubsubhubbub

== Simple client example

EventMachine.run { pub = EventMachine::PubSubHubbub.new('http://pubsubhubbub.appspot.com/publish').publish "http://www.test.com/"

pub.callback { puts "Successfully notified hub." }
pub.errback  { puts "Uh oh, something broke: #{pub.response}" }

}

== Posting multiple URL's

EventMachine.run { feeds = ["http://www.test.com", "http://www.test.com/2"] pub = EventMachine::PubSubHubbub.new('http://pubsubhubbub.appspot.com/publish').publish feeds

pub.callback { puts "Successfully notified hub." }
pub.errback  { puts "Uh oh, something broke: #{pub.response}" }

}

Issues· 1 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Ruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言