just testing something

This commit is contained in:
Akamaru 2015-08-17 02:31:45 +02:00
parent 8d6093c0f8
commit 5193f88e6a

View File

@ -136,6 +136,7 @@ local function cron()
for k2, v2 in pairs(newentr) do for k2, v2 in pairs(newentr) do
local title = v2.title or 'No title' local title = v2.title or 'No title'
local link = v2.link or v2.id or 'No Link' local link = v2.link or v2.id or 'No Link'
--text = string.gsub(text, "\n", "")
text = text .. '[RSS] '.. title .. '\n(' .. link .. ')\n\n' text = text .. '[RSS] '.. title .. '\n(' .. link .. ')\n\n'
end end
if text ~= '' then if text ~= '' then