rss.lua: Fix für predb.me

Link kommt ohne "http:" >.<
This commit is contained in:
Akamaru 2016-10-12 16:37:00 +02:00
parent e876cbd2c3
commit 9ac23e1b1b

View File

@ -327,7 +327,7 @@ function rss:cron()
for k2, v2 in pairs(newentr) do
local title = unescape(v2.title) or 'Kein Titel'
local link = v2.link or v2.id or 'Kein Link'
local link_name = link:match('^%w+://([^/]+)')
local link_name = link:match('//([^/]+)')
local link_name = link_name:gsub('^www%.', '')
if link_name == 'feedproxy.google.com' then
link_name = link:match('feedproxy%.google%.com/~r/(.+)/~')