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 --- inc/3rdparty/site_config/standard/suntimes.com.txt | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/suntimes.com.txt (limited to 'inc/3rdparty/site_config/standard/suntimes.com.txt') diff --git a/inc/3rdparty/site_config/standard/suntimes.com.txt b/inc/3rdparty/site_config/standard/suntimes.com.txt old mode 100644 new mode 100755 index 13390e4f..6d4594cf --- a/inc/3rdparty/site_config/standard/suntimes.com.txt +++ b/inc/3rdparty/site_config/standard/suntimes.com.txt @@ -1,14 +1,14 @@ -title: //div[@class='story-details']/h1 -date: //span[@class='date-time'] -Author: substring-after(//p[@class='by-line'], 'By ') - -strip: //div[@class='videoThumbnails'] -strip: //div[@class='ad-square2-container'] -strip: //div[@class='homeDeliveryContainer5'] - -strip: //div[@class='image-description'] -strip: //div[@id='internal-side-bar'] - -strip: //span[@class='hide'] +title: //div[@class='story-details']/h1 +date: //span[@class='date-time'] +Author: substring-after(//p[@class='by-line'], 'By ') + +strip: //div[@class='videoThumbnails'] +strip: //div[@class='ad-square2-container'] +strip: //div[@class='homeDeliveryContainer5'] + +strip: //div[@class='image-description'] +strip: //div[@id='internal-side-bar'] + +strip: //span[@class='hide'] strip: //div[@class='date'] test_url: http://www.suntimes.com/technology/ihnatko/8816567-452/review-kindle-fire-is-no-ipad-killer-but-it-is-a-killer-device.html \ No newline at end of file -- cgit v1.2.3