diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:44:48 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:44:48 +0200 |
commit | 887b015def3098f1e898e7bf3338fa2d093b6d95 (patch) | |
tree | 41206132200aa9390e11d600ad2b84ffa23242e4 /inc/3rdparty/site_config/standard/macworld.com.txt | |
parent | ebd6bf6007e0fad4c3e11dac0e79f687e1d195a2 (diff) | |
parent | 505a74ad1de7cf2cd3605e793233365501f03d87 (diff) | |
download | wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.gz wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.zst wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.zip |
Merge branch 'refactor' into dev
Diffstat (limited to 'inc/3rdparty/site_config/standard/macworld.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/macworld.com.txt | 46 |
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 @@ | |||
1 | title: //article//h1 | 1 | title: //article//h1 |
2 | date: //meta[@name="date"]/@content | 2 | date: //meta[@name="date"]/@content |
3 | author: //div[@class="author-name" or @class="article-byline"]/a[1] | 3 | author: //div[@class="author-name" or @class="article-byline"]/a[1] |
4 | 4 | ||
5 | body: //section[@class="page"] | 5 | body: //section[@class="page"] |
6 | 6 | ||
7 | # remove 'From the Lab' and 'Recent posts' text | 7 | # remove 'From the Lab' and 'Recent posts' text |
8 | strip: //div[@class='blogLabel'] | 8 | strip: //div[@class='blogLabel'] |
9 | 9 | ||
10 | # remove byline and meta info | 10 | # remove byline and meta info |
11 | strip: //div[@class="article-meta"] | 11 | strip: //div[@class="article-meta"] |
12 | strip: //div[@class="author-info"] | 12 | strip: //div[@class="author-info"] |
13 | 13 | ||
14 | #strip tags and categories | 14 | #strip tags and categories |
15 | strip: //div[@class="department"] | 15 | strip: //div[@class="department"] |
16 | 16 | ||
17 | #strip product cap links | 17 | #strip product cap links |
18 | strip: //div[@class="cap-main"] | 18 | strip: //div[@class="cap-main"] |
19 | strip: //div[@id="compare-lede"] | 19 | strip: //div[@id="compare-lede"] |
20 | 20 | ||
21 | prune: no | 21 | prune: 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 |
24 | test_url: http://www.macworld.com/article/163184/2011/10/the_ipod_as_an_iconic_cultural_force.html \ No newline at end of file | 24 | test_url: http://www.macworld.com/article/163184/2011/10/the_ipod_as_an_iconic_cultural_force.html \ No newline at end of file |