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/bostonglobe.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/bostonglobe.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/bostonglobe.com.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/inc/3rdparty/site_config/standard/bostonglobe.com.txt b/inc/3rdparty/site_config/standard/bostonglobe.com.txt index d3e6f43f..4c74a34e 100644..100755 --- a/inc/3rdparty/site_config/standard/bostonglobe.com.txt +++ b/inc/3rdparty/site_config/standard/bostonglobe.com.txt | |||
@@ -1,16 +1,16 @@ | |||
1 | # NOTE: If testing this configuration yields bad results, including junk text like "Try BostonGlobe.com today" and "THIS STORY APPEARED IN", please replace the Test URL with a current-day headline link from bostonglobe.com. | 1 | # NOTE: If testing this configuration yields bad results, including junk text like "Try BostonGlobe.com today" and "THIS STORY APPEARED IN", please replace the Test URL with a current-day headline link from bostonglobe.com. |
2 | 2 | ||
3 | title: //div[@class="header"]/h1 | 3 | title: //div[@class="header"]/h1 |
4 | author: substring-after(//div[@class="byline"]/h2[@class="author"],"By ") | 4 | author: substring-after(//div[@class="byline"]/h2[@class="author"],"By ") |
5 | date: //div[@class="byline"]/p[last()] | 5 | date: //div[@class="byline"]/p[last()] |
6 | body: //div[@class="article-body"] | 6 | body: //div[@class="article-body"] |
7 | 7 | ||
8 | strip_id_or_class: aside | 8 | strip_id_or_class: aside |
9 | strip_id_or_class: promo | 9 | strip_id_or_class: promo |
10 | strip_id_or_class: skip-nav | 10 | strip_id_or_class: skip-nav |
11 | strip_id_or_class: article-more | 11 | strip_id_or_class: article-more |
12 | strip_id_or_class: article-bar | 12 | strip_id_or_class: article-bar |
13 | 13 | ||
14 | # This removes image captions. If the parser starts saving images from bostonglobe.com (currently, it does not), then this directive should be removed. | 14 | # This removes image captions. If the parser starts saving images from bostonglobe.com (currently, it does not), then this directive should be removed. |
15 | strip_id_or_class: figure | 15 | strip_id_or_class: figure |
16 | test_url: http://bostonglobe.com/news/nation/2012/03/17/illinois-primary-could-pivotal/PsDzFZqvhEYyXbOcF9FOkO/story.html \ No newline at end of file | 16 | test_url: http://bostonglobe.com/news/nation/2012/03/17/illinois-primary-could-pivotal/PsDzFZqvhEYyXbOcF9FOkO/story.html \ No newline at end of file |