如何创建从 PubSubHubbub 获取实时更新的页面

发布于 2024-08-09 05:07:26 字数 194 浏览 2 评论 0原文

我想知道是否可以使用 javascript/html 或 php 等创建一个页面,该页面从使用 PubSubHubbub

我该怎么做? 我对此很陌生,任何提示都会有所帮助。

I want to know if it is possible to use javascript/html or php, etc... to create a page that receives continuous updates from a feed that uses PubSubHubbub?

How can I do this?
I am new to this, and any tips would be helpful.

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

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

发布评论

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

评论(1

无边思念无边月 2024-08-16 05:07:26

随机建议 - 展位 WebHooksPubSubHubbub 看起来很酷。 文章

Webhook 让应用程序能够相互通信
其他使用非常简单的 HTTP。网络钩子
启用的应用程序运行(到目前为止)
云中的应用程序托管站点。什么
让他们与众不同的是他们
不断扫描帖子
指定网址。要使用
申请,您注册您的
与其他 webhook 的应用程序
启用的应用程序并提供
回调网址。您发布数据来自
您的应用程序到接收的网址
应用程序,并监视回调 URL
它的回应。然后您的应用程序将采用
POST 收到并处理它。

Pubsubhubbub (PSHB) 是一个实时、
启用多播 webhook 发布
和订阅系统。历史上
网络,收到大部分信息
拉动后。例如,我们
设置我们的接收间隔
电子邮件。我们的浏览器更新我们的 RSS
按预先确定的时间间隔喂食。我们
重复相同的搜索 和
完了,只是想看看有没有
任何新的东西。即使我们收到警报
对于新电子邮件或信息,
警报是由主动生成的
轮询源。 PSHB 改变了这一点。

Random suggestion - booth WebHooks and PubSubHubbub look cool. Article:

Webhooks let applications talk to each
other using very simple HTTP. Webhook
enabled applications run (so far) on
app hosting sites in the cloud. What
makes them different is that they
constantly scan for POSTS to a
designated URL. To use the
application, you register your
application with the other webhook
enabled application and provide a
callback URL. You POST data from
your app to the url of the receiving
app, and monitor the callback URL for
its response. Your app then takes the
POST it received and processes it.

Pubsubhubbub (PSHB) is a realtime,
multicasting webhooks enabled publish
and subscribe system. Historically on
the net, most information is received
after it is pulled. For example, we
set up receive intervals for our
email. Our browsers update our RSS
feeds at pre determined intervals. We
repeat the same searches over and
over, just looking to see if there is
anything new. Even when we get alerts
for new email or information, the
alerts are generated by actively
polling the source. PSHB changes that.

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