# HG changeset patch # User Kim Alvefur # Date 1687702857 -7200 # Node ID 1f8c9e27b625df63e42d22ca2e38dd1685ec4f1a # Parent 540beba5b75b53ce87046943d0f51350be4969cc 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. diff -r 540beba5b75b -r 1f8c9e27b625 mod_pubsub_feeds/README.markdown --- 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 + ------ ------- diff -r 540beba5b75b -r 1f8c9e27b625 mod_pubsub_feeds/mod_pubsub_feeds.lua --- 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