aboutsummaryrefslogtreecommitdiff
path: root/vk2rss.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vk2rss.lua')
-rwxr-xr-xvk2rss.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/vk2rss.lua b/vk2rss.lua
index f611f40..da567d2 100755
--- a/vk2rss.lua
+++ b/vk2rss.lua
@@ -1,4 +1,4 @@
-#!/usr/bin/lua
+#!/usr/bin/luajit
local xml = require "xml"
@@ -43,7 +43,7 @@ function main()
for key, item in ipairs( feed ) do
table.insert( rss[1], { xml = 'item',
{ xml = 'title', item["title"] },
- { xml = 'pubDate', item["date"] },
+ { xml = 'pubDate', item["pubDate"] },
{ xml = 'link', item["link"] },
{ xml = 'description', item["description"] },
})