]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/site_config/standard/bostonglobe.com.txt
up to date
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / bostonglobe.com.txt
CommitLineData
ac4d1142
NL
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.\r
2\r
3title: //div[@class="header"]/h1\r
4author: substring-after(//div[@class="byline"]/h2[@class="author"],"By ")\r
5date: //div[@class="byline"]/p[last()]\r
6body: //div[@class="article-body"]\r
7\r
8strip_id_or_class: aside\r
9strip_id_or_class: promo\r
10strip_id_or_class: skip-nav\r
11strip_id_or_class: article-more\r
12strip_id_or_class: article-bar\r
13\r
14# This removes image captions. If the parser starts saving images from bostonglobe.com (currently, it does not), then this directive should be removed.\r
15strip_id_or_class: figure
16test_url: http://bostonglobe.com/news/nation/2012/03/17/illinois-primary-could-pivotal/PsDzFZqvhEYyXbOcF9FOkO/story.html