summaryrefslogtreecommitdiff
path: root/cio.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2015-08-31 19:28:18 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2015-08-31 19:28:18 +0200
commitc91f8d5bc20eaa393d609c2b0d9f931478ff61fa (patch)
treefc7e988f77c98e81bc4cc92a0df6b0c9b17a44ed /cio.com.txt
parent0a9fc2d8ae186821462c36d9f5e955699dfa4d53 (diff)
parent87eeefe9a1fa4d55c93a209314dcc5834a2e2391 (diff)
downloadftr-site-config-c91f8d5bc20eaa393d609c2b0d9f931478ff61fa.tar.gz
ftr-site-config-c91f8d5bc20eaa393d609c2b0d9f931478ff61fa.zip
Merge pull request #79 from jordidg/networkworld.com
All sites in the IDG network have the same structure
Diffstat (limited to 'cio.com.txt')
-rw-r--r--cio.com.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/cio.com.txt b/cio.com.txt
new file mode 100644
index 0000000..9898309
--- /dev/null
+++ b/cio.com.txt
@@ -0,0 +1,17 @@
+# All sites of the IDG network can be extracted using the same rules,
+# make sure to update all of them
+
+author: //meta[@name="author"]/@content
+date: //meta[@name="DC.date.issued"]/@content
+
+body: //div[@itemprop="articleBody"]
+body: //div[@itemprop="reviewBody"]
+body: //figcaption|//div[@class="img-wrapper"]/noscript/img
+
+next_page_link: //a[@rel="next"]
+
+strip: //aside
+strip: //h3[contains(., "See also:")]
+strip: //div[@id="article-top-page-number"]
+strip: //p[starts-with(normalize-space(.), '[')]
+strip: //p[starts-with(normalize-space(.), '+')]