comparison mod_pubsub_feeds/mod_pubsub_feeds.lua @ 2384:feba6439b6fb

mod_pubsub_feeds: Add fixme for future
author Kim Alvefur <zash@zash.se>
date Sat, 19 Nov 2016 19:40:29 +0100
parents 18323c6aa133
children 7a1625a84624
comparison
equal deleted inserted replaced
2383:18323c6aa133 2384:feba6439b6fb
113 -- Sigh, no link? 113 -- Sigh, no link?
114 id = feed.url .. "#" .. hmac_sha1(feed.url, tostring(entry), true) .. "@" .. dt_datetime(timestamp); 114 id = feed.url .. "#" .. hmac_sha1(feed.url, tostring(entry), true) .. "@" .. dt_datetime(timestamp);
115 end 115 end
116 if items[id] then 116 if items[id] then
117 -- Assume that this existing means we've added all new items 117 -- Assume that this existing means we've added all new items
118 -- FIXME Entries updated after publishing ...
118 break; 119 break;
119 end 120 end
120 local xitem = st.stanza("item", { id = id }):add_child(entry); 121 local xitem = st.stanza("item", { id = id }):add_child(entry);
121 -- TODO Put data from /feed into item/source 122 -- TODO Put data from /feed into item/source
122 123