summaryrefslogtreecommitdiff
path: root/canonrumors.com.txt
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-12-31 18:13:20 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-12-31 18:13:20 +0100
commitcbba2d911da7b4dc444be4e9a8569dcc5690ba85 (patch)
tree25ae329c4c2b43f7fef07a10d945f7084d9441a9 /canonrumors.com.txt
parent7e2e4967a3885cd0c45469ecf6c0547f8c3ab722 (diff)
downloadftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.tar.gz
ftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.zip
Backport site_config changes from wallabag v1
Fix https://github.com/wallabag/wallabag/issues/1414
Diffstat (limited to 'canonrumors.com.txt')
-rwxr-xr-xcanonrumors.com.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/canonrumors.com.txt b/canonrumors.com.txt
new file mode 100755
index 0000000..c22cf4f
--- /dev/null
+++ b/canonrumors.com.txt
@@ -0,0 +1,28 @@
+# Author: zinnober
+
+tidy: no
+prune: no
+
+# Set title
+title: //h2
+
+date: //li[@class='time']
+
+# Set author
+author: //a[contains(@rel, 'author')]
+
+# Content is here
+body: //div[@id='content']
+
+# Tidy up before article
+strip: //div[@class='meta']
+
+# Tidy up after article
+strip_id_or_class: nr_related_placeholder
+strip_id_or_class: twitter-share-button
+strip_id_or_class: afterpost
+strip_id_or_class: tags
+
+# Try it yourself
+test_url: http://www.canonrumors.com/2014/09/chuck-westfall-talks-canon-eos-7d-mark-ii/
+test_url: http://www.canonrumors.com/2014/09/canon-cinema-eos-captures-space-in-4k-for-new-imax-3d-film/