Comparison

mod_pubsub_feeds/mod_pubsub_feeds.lua @ 1325:b21236b6b8d8

Backed out changeset 853a382c9bd6
author Kim Alvefur <zash@zash.se>
date Fri, 28 Feb 2014 15:37:55 +0100
parent 1324:853a382c9bd6
child 1343:7dbde05b48a9
comparison
equal deleted inserted replaced
1324:853a382c9bd6 1325:b21236b6b8d8
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 = import("os", "date", "time"); 20 local date, time = os.date, os.time;
21 local dt_parse, dt_datetime = import("util.datetime", "parse", "datetime"); 21 local dt_parse, dt_datetime = require "util.datetime".parse, require "util.datetime".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;