From 90a1a78b1e2f4d40e1d9b8e6f46aca129a9d7bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 27 Oct 2014 06:46:13 +0100 Subject: updated site_config --- .../site_config/standard/canonrumors.com.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 inc/3rdparty/site_config/standard/canonrumors.com.txt (limited to 'inc/3rdparty/site_config/standard/canonrumors.com.txt') diff --git a/inc/3rdparty/site_config/standard/canonrumors.com.txt b/inc/3rdparty/site_config/standard/canonrumors.com.txt new file mode 100755 index 00000000..c22cf4f1 --- /dev/null +++ b/inc/3rdparty/site_config/standard/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/ -- cgit v1.2.3