comparison mod_pubsub_feeds/mod_pubsub_feeds.lua @ 1324:853a382c9bd6

mod_turncredentials: Advertise the XEP-0215 feature (thanks Gryffus)
author Kim Alvefur <zash@zash.se>
date Fri, 28 Feb 2014 15:36:06 +0100
parents 04cf0b75fe2a
children b21236b6b8d8
comparison
equal deleted inserted replaced
1323:c84ff82658cb 1324:853a382c9bd6
15 -- Reference 15 -- Reference
16 -- http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html 16 -- http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html
17 17
18 local pubsub = module:depends"pubsub"; 18 local pubsub = module:depends"pubsub";
19 19
20 local date, time = os.date, os.time; 20 local date, time = import("os", "date", "time");
21 local dt_parse, dt_datetime = require "util.datetime".parse, require "util.datetime".datetime; 21 local dt_parse, dt_datetime = import("util.datetime", "parse", "datetime");
22 local uuid = require "util.uuid".generate; 22 local uuid = require "util.uuid".generate;
23 local hmac_sha1 = require "util.hashes".hmac_sha1; 23 local hmac_sha1 = require "util.hashes".hmac_sha1;
24 local parse_feed = require "feeds".feed_from_string; 24 local parse_feed = require "feeds".feed_from_string;
25 local st = require "util.stanza"; 25 local st = require "util.stanza";
26 --local dump = require"util.serialization".serialize; 26 --local dump = require"util.serialization".serialize;