summaryrefslogtreecommitdiffstats
path: root/utility
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-09-26 21:39:34 +0200
committerRobin Appelman <icewind@owncloud.com>2013-09-26 21:39:51 +0200
commit008b409d77134f68b22871f1d728db1d2a4644e4 (patch)
tree776ededcd82a67fc30ff17a27766843979d22b6a /utility
parentf6b3ddbd5bc764045efa7440651f0b92a990fad0 (diff)
add article enhancers for various comic sites
Diffstat (limited to 'utility')
-rw-r--r--utility/articleenhancer/regexenhancers.json7
-rw-r--r--utility/articleenhancer/xpathenhancers.json17
2 files changed, 23 insertions, 1 deletions
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\"]"
}
}