Noch etwas cleanRSS
This commit is contained in:
parent
43b313e64e
commit
edccdb3084
@ -55,6 +55,7 @@ function to_utf8(a)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function cleanRSS(str)
|
function cleanRSS(str)
|
||||||
|
str = string.gsub(str, '%[…%]', '')
|
||||||
str = string.gsub(str, '%[mehr%]', '')
|
str = string.gsub(str, '%[mehr%]', '')
|
||||||
str = string.gsub(str, '%[video%]', '')
|
str = string.gsub(str, '%[video%]', '')
|
||||||
str = string.gsub(str, '...%[more%]', '')
|
str = string.gsub(str, '...%[more%]', '')
|
||||||
@ -76,6 +77,8 @@ function cleanRSS(str)
|
|||||||
str = string.gsub(str, 'View On WordPress', '')
|
str = string.gsub(str, 'View On WordPress', '')
|
||||||
str = string.gsub(str, '%(RSS generated with FetchRss%)', '')
|
str = string.gsub(str, '%(RSS generated with FetchRss%)', '')
|
||||||
str = string.gsub(str, 'Meldung bei www%.tagesschau%.de lesen', '')
|
str = string.gsub(str, 'Meldung bei www%.tagesschau%.de lesen', '')
|
||||||
|
str = string.gsub(str, 'The post.*appeared first on Sugoi! Anime Blog%.', '')
|
||||||
|
str = string.gsub(str, 'Der Beitrag.*erschien zuerst auf MAnime%.de%.', '')
|
||||||
str = string.gsub(str, 'http://www%.serienjunkies%.de/.*%.html', '')
|
str = string.gsub(str, 'http://www%.serienjunkies%.de/.*%.html', '')
|
||||||
return str
|
return str
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user