From 4e067ceabd705201a16b4c92cf4b23f3b990326c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 13 Jul 2014 10:15:40 +0200 Subject: updated specific configuration for parsing --- .../site_config/standard/arstechnica.com.txt | 33 +++++++++++----------- 1 file changed, 17 insertions(+), 16 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/arstechnica.com.txt (limited to 'inc/3rdparty/site_config/standard/arstechnica.com.txt') diff --git a/inc/3rdparty/site_config/standard/arstechnica.com.txt b/inc/3rdparty/site_config/standard/arstechnica.com.txt old mode 100644 new mode 100755 index 49bb3dbc..767f6800 --- a/inc/3rdparty/site_config/standard/arstechnica.com.txt +++ b/inc/3rdparty/site_config/standard/arstechnica.com.txt @@ -1,16 +1,17 @@ -author: //p[@class='byline']/a -body: //div[contains(@class,'article-content')] -strip: //h2[@class='title'] -strip_id_or_class: byline -prune: no - -date: //div[@class='byline']/span[@class='posted']//abbr/@original-title -date: //div[@class='byline']/span[@class='posted']//abbr - -title: //div[@id='story']//h2[@class='title'] - -strip: //div[@class='pager'] -next_page_link: //nav//a[span/@class='next']/@href - -test_url: http://arstechnica.com/tech-policy/news/2012/02/gigabit-internet-for-80-the-unlikely-success-of-californias-sonicnet.ars -test_url: http://arstechnica.com/apple/2005/04/macosx-10-4/ \ No newline at end of file +author: //p[@class='byline']/a +body: //div[contains(@class,'article-content')] +strip: //h2[@class='title'] +strip_id_or_class: byline +strip_id_or_class: story-sidebar +prune: no + +date: //div[@class='byline']/span[@class='posted']//abbr/@original-title +date: //div[@class='byline']/span[@class='posted']//abbr + +title: //div[@id='story']//h2[@class='title'] + +strip: //div[@class='pager'] +next_page_link: //nav//a[span/@class='next']/@href + +test_url: http://arstechnica.com/tech-policy/news/2012/02/gigabit-internet-for-80-the-unlikely-success-of-californias-sonicnet.ars +test_url: http://arstechnica.com/apple/2005/04/macosx-10-4/ -- cgit v1.2.3