Comparison

mod_pubsub_feeds/mod_pubsub_feeds.lua @ 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
parent 4883:68bd8ae9b827
child 5570:f93b1fc1aa31
comparison
equal deleted inserted replaced
5568:540beba5b75b 5569:1f8c9e27b625
34 return translate_rss(feed); 34 return translate_rss(feed);
35 end 35 end
36 return nil, "unsupported-format"; 36 return nil, "unsupported-format";
37 end 37 end
38 38
39 local use_pubsubhubub = module:get_option_boolean("use_pubsubhubub", true); 39 local use_pubsubhubub = module:get_option_boolean("use_pubsubhubub", false);
40 if use_pubsubhubub then 40 if use_pubsubhubub then
41 module:depends"http"; 41 module:depends"http";
42 end 42 end
43 43
44 local http = require "net.http"; 44 local http = require "net.http";