rss.lua: Code "verschönert"
This commit is contained in:
parent
1965853444
commit
4d0d39fb41
@ -14,7 +14,7 @@ local function unescape_for_rss(str)
|
||||
str = string.gsub(str, "ß", "ß")
|
||||
str = string.gsub(str, "'", "'")
|
||||
str = string.gsub(str, "|", "|")
|
||||
str = string.gsub(str, " ", " ")
|
||||
str = string.gsub(str, " ", " ")
|
||||
str = string.gsub(str, "»", "»")
|
||||
str = string.gsub(str, "ß", "ß")
|
||||
str = string.gsub(str, "–", "–")
|
||||
@ -165,7 +165,6 @@ local function unsubscribe(id, n)
|
||||
end
|
||||
|
||||
local function cron()
|
||||
-- sync every 15 mins?
|
||||
local keys = redis:keys(get_base_redis("*", "subs"))
|
||||
for k,v in pairs(keys) do
|
||||
local base = string.match(v, "rss:(.+):subs") -- Get the URL base
|
||||
|
Reference in New Issue
Block a user