summaryrefslogtreecommitdiff
path: root/canonrumors.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2016-02-22 13:07:32 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2016-02-22 13:07:32 +0100
commitea28f42936b4860c5147075fefe17f8cd49bdc5f (patch)
tree85475c010e69b789318fc6ab9f9a4f0d4ccf12be /canonrumors.com.txt
parent1fc0ebe0763c7fb577b9fbe15c530ad6ec2c30e6 (diff)
parentd50ffaee66a180b0f9f0fe096cbe93a01b8b3e0d (diff)
downloadftr-site-config-ea28f42936b4860c5147075fefe17f8cd49bdc5f.tar.gz
ftr-site-config-ea28f42936b4860c5147075fefe17f8cd49bdc5f.zip
Merge pull request #121 from j0k3r/patch-2
Backport site_config changes from wallabag v1
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/