From a70e67a0b0a3f291916bde595aa132aee3da2e2d Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Wed, 24 Jul 2013 17:35:14 +0200 Subject: gizmodo.com and straightdope.com --- gizmodo.com.txt | 10 +++++++--- straightdope.com.txt | 6 ++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 straightdope.com.txt diff --git a/gizmodo.com.txt b/gizmodo.com.txt index b03fc44..e73ec9d 100644 --- a/gizmodo.com.txt +++ b/gizmodo.com.txt @@ -1,7 +1,11 @@ -body: //div[@class="post-body" or contains(@class, 'illustration top')] -author: (//cite//span[@class="plus-icon"])[1] +#body: //div[@class="post-body" or contains(@class, 'illustration top')] +body: //div[contains(@class, 'image-annotation-box') or contains(@class, 'post-content')] +#author: (//cite//span[@class="plus-icon"])[1] +author: //span[contains(@class, 'display-name')] date: //span[@class="date"] prune: no -test_url: http://gizmodo.com/5880147/kuhn-rikon-improves-their-spice-grinder-with-grade-school-science \ No newline at end of file +test_url: http://gizmodo.com/5880147/kuhn-rikon-improves-their-spice-grinder-with-grade-school-science +test_url: http://gizmodo.com/what-van-goghs-paintings-would-look-like-if-they-came-874035680 +test_url: http://gizmodo.com/vip.xml \ No newline at end of file diff --git a/straightdope.com.txt b/straightdope.com.txt new file mode 100644 index 0000000..f01d7ad --- /dev/null +++ b/straightdope.com.txt @@ -0,0 +1,6 @@ +body: //div[@id='article' or @id='current_illustration'] +title: //div[@id='article']//h1 +date: //div[@id='article']//div[@class='date'] +prune: no + +test_url: http://www.straightdope.com/columns/read/947/whatever-happened-to-adoption-of-the-metric-system-in-the-u-s \ No newline at end of file -- cgit v1.3.1