Diff

mod_pubsub_feeds/feeds.lib.lua @ 2133:85762420a2c0

mod_pubsub_feeds: Use correct loop variable
author Kim Alvefur <zash@zash.se>
date Sun, 20 Mar 2016 12:37:56 +0100
parent 2132:b149ea428b81
child 2378:649f733aa3dc
line wrap: on
line diff
--- a/mod_pubsub_feeds/feeds.lib.lua	Sun Mar 20 12:32:45 2016 +0100
+++ b/mod_pubsub_feeds/feeds.lib.lua	Sun Mar 20 12:37:56 2016 +0100
@@ -66,7 +66,7 @@
 	-- TODO channel properties
 	feed:tag("entry");
 	for item in channel:childtags("item") do
-		for tag in rss_item:childtags() do
+		for tag in item:childtags() do
 			local translator = rss2atom[tag.name];
 			if translator then
 				translator(feed, tag);