rss.lua: Entferne noch "www."

This commit is contained in:
Akamaru 2016-10-04 00:51:20 +02:00
parent f617aa1b38
commit f718e371cf

View File

@ -328,6 +328,7 @@ function rss:cron()
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_name:gsub("www%.", "")
if v2.content then
content = v2.content:gsub("%b<>", "")
if string.len(v2.content) > 250 then