diff options
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 |