aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/macworld.com.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
commit4e067ceabd705201a16b4c92cf4b23f3b990326c (patch)
tree939f3a8e5ff3ab9ee414a57a895d3e78e1d46ce3 /inc/3rdparty/site_config/standard/macworld.com.txt
parent58dbe103889148def78b0fc8744d3f94c56a1561 (diff)
downloadwallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.gz
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.zst
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.zip
updated specific configuration for parsing
Diffstat (limited to 'inc/3rdparty/site_config/standard/macworld.com.txt')
-rwxr-xr-x[-rw-r--r--]inc/3rdparty/site_config/standard/macworld.com.txt46
1 files changed, 23 insertions, 23 deletions
diff --git a/inc/3rdparty/site_config/standard/macworld.com.txt b/inc/3rdparty/site_config/standard/macworld.com.txt
index 96175872..e7d97202 100644..100755
--- a/inc/3rdparty/site_config/standard/macworld.com.txt
+++ b/inc/3rdparty/site_config/standard/macworld.com.txt
@@ -1,24 +1,24 @@
1title: //article//h1 1title: //article//h1
2date: //meta[@name="date"]/@content 2date: //meta[@name="date"]/@content
3author: //div[@class="author-name" or @class="article-byline"]/a[1] 3author: //div[@class="author-name" or @class="article-byline"]/a[1]
4 4
5body: //section[@class="page"] 5body: //section[@class="page"]
6 6
7# remove 'From the Lab' and 'Recent posts' text 7# remove 'From the Lab' and 'Recent posts' text
8strip: //div[@class='blogLabel'] 8strip: //div[@class='blogLabel']
9 9
10# remove byline and meta info 10# remove byline and meta info
11strip: //div[@class="article-meta"] 11strip: //div[@class="article-meta"]
12strip: //div[@class="author-info"] 12strip: //div[@class="author-info"]
13 13
14#strip tags and categories 14#strip tags and categories
15strip: //div[@class="department"] 15strip: //div[@class="department"]
16 16
17#strip product cap links 17#strip product cap links
18strip: //div[@class="cap-main"] 18strip: //div[@class="cap-main"]
19strip: //div[@id="compare-lede"] 19strip: //div[@id="compare-lede"]
20 20
21prune: no 21prune: no
22 22
23# copes less well with Review pages, seems fine for News 23# copes less well with Review pages, seems fine for News
24test_url: http://www.macworld.com/article/163184/2011/10/the_ipod_as_an_iconic_cultural_force.html \ No newline at end of file 24test_url: http://www.macworld.com/article/163184/2011/10/the_ipod_as_an_iconic_cultural_force.html \ No newline at end of file