Software /
code /
prosody-modules
Changeset
5569:1f8c9e27b625
mod_pubsub_feeds: Disable WebSub (formerly PubSubHubbub) by default
I have seen no recent evidence of this being used or supported by
anything anywhere anymore.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Jun 2023 16:20:57 +0200 |
parents | 5568:540beba5b75b |
children | 5570:f93b1fc1aa31 |
files | mod_pubsub_feeds/README.markdown mod_pubsub_feeds/mod_pubsub_feeds.lua |
diffstat | 2 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pubsub_feeds/README.markdown Sun Jun 25 11:12:07 2023 +0200 +++ b/mod_pubsub_feeds/README.markdown Sun Jun 25 16:20:57 2023 +0200 @@ -35,16 +35,15 @@ [XEP-0060](http://xmpp.org/extensions/xep-0060.html). Results are in [ATOM 1.0 format](http://atomenabled.org/) for easy consumption. -# PubSubHubbub +# WebSub {#pubsubhubbub} -This module also implements a -[PubSubHubbub](http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html) -subscriber. This allows feeds that have an associated "hub" to push -updates when they are published. +This module also implements [WebSub](https://www.w3.org/TR/websub/), +formerly known as +[PubSubHubbub](http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html). +This allows "feed hubs" to instantly push feed updates to subscribers. -Not all feeds support this. - -It needs to expose a HTTP callback endpoint to work. +This may be removed in the future since it does not seem to be oft used +anymore. # Option summary @@ -52,10 +51,11 @@ ---------------------- ------------------------------------------------------------------------- `feeds` A list of virtual nodes to create and their associated Atom or RSS URL. `feed_pull_interval` Number of minutes between polling for new results (default 15) - `use_pubsubhubub` Set to `false` to disable PubSubHubbub + `use_pubsubhubub` Set to `true` to enable WebSub # Compatibility - ----- ------- - 0.9 Works - ----- ------- + ------ ------- + 0.12 Works + 0.11 Works + ------ -------
--- a/mod_pubsub_feeds/mod_pubsub_feeds.lua Sun Jun 25 11:12:07 2023 +0200 +++ b/mod_pubsub_feeds/mod_pubsub_feeds.lua Sun Jun 25 16:20:57 2023 +0200 @@ -36,7 +36,7 @@ return nil, "unsupported-format"; end -local use_pubsubhubub = module:get_option_boolean("use_pubsubhubub", true); +local use_pubsubhubub = module:get_option_boolean("use_pubsubhubub", false); if use_pubsubhubub then module:depends"http"; end