rss.lua: Fix für predb.me
Link kommt ohne "http:" >.<
This commit is contained in:
parent
e876cbd2c3
commit
9ac23e1b1b
@ -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/(.+)/~')
|
||||
|
Reference in New Issue
Block a user