From 008b409d77134f68b22871f1d728db1d2a4644e4 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 26 Sep 2013 21:39:34 +0200 Subject: add article enhancers for various comic sites --- utility/articleenhancer/regexenhancers.json | 7 ++++++- utility/articleenhancer/xpathenhancers.json | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) (limited to 'utility') diff --git a/utility/articleenhancer/regexenhancers.json b/utility/articleenhancer/regexenhancers.json index edf8ffb35..95231985d 100644 --- a/utility/articleenhancer/regexenhancers.json +++ b/utility/articleenhancer/regexenhancers.json @@ -3,5 +3,10 @@ "%(?:www.twogag.com/archives)|(feedproxy.google.com/~r/TwoGuysAndGuy)%": { "%http://www.twogag.com/comics-rss/([^.]+)\\.jpg%": "http://www.twogag.com/comics/$1.jpg" } + }, + "buttersafe.com": { + "%(?:buttersafe.com)|(feedproxy.google.com/~r/Buttersafe)%": { + "%buttersafe.com/comics/rss/([^.]+)RSS([^.]+)?.jpg%": "buttersafe.com/comics/$1$2.jpg" + } } -} \ No newline at end of file +} diff --git a/utility/articleenhancer/xpathenhancers.json b/utility/articleenhancer/xpathenhancers.json index cd30b4880..29296c79f 100644 --- a/utility/articleenhancer/xpathenhancers.json +++ b/utility/articleenhancer/xpathenhancers.json @@ -35,6 +35,23 @@ }, "escapistmagazine.com/articles/view/comics/fraughtwithperil": { "%escapistmagazine.com/articles/view/comics/fraughtwithperil%": "//*[@class='body']" + }, + "trenchescomic.com": { + "%trenchescomic.com/comic%": "//*[@class=\"top\"]/img", + "%trenchescomic.com/tales%": "//*[@class=\"copy\"]" + }, + "lfgcomic.com": { + "%(lfgcomic.com/page)|(feedproxy.google.com/~r/LookingForGroup)%": "//*[@id=\"comic\"]/img | //*[@class=\"content\"]" + }, + "sandraandwoo.com": { + "%sandraandwoo.com%": "//*[@id=\"comic\"]/img | //*[@class=\"post\"]" + }, + "sandraandwoo.com/gaia": { + "%sandraandwoo.com%": "//*[@id=\"comic\"]/img | //*[@class=\"post\"]" + }, + "theoatmeal.com": { + "%theoatmeal.com/blog%": "//*[@class=\"post_body\"]", + "%theoatmeal.com/comics%": "//*[@id=\"comic\"] | //*[@class=\"super_vacum\"] | //*[@class=\"pad\"]" } } -- cgit v1.2.3