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/gamasutra.com.txt | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/gamasutra.com.txt (limited to 'inc/3rdparty/site_config/standard/gamasutra.com.txt') diff --git a/inc/3rdparty/site_config/standard/gamasutra.com.txt b/inc/3rdparty/site_config/standard/gamasutra.com.txt old mode 100644 new mode 100755 index 35a8762a..7c808cfd --- a/inc/3rdparty/site_config/standard/gamasutra.com.txt +++ b/inc/3rdparty/site_config/standard/gamasutra.com.txt @@ -1,20 +1,20 @@ -# default view title -title: //span[@class='newsTitle'] -# print view title -title: //h3[@class='title'] - -# default view author -author: //span[@class='newsAuth']/a -author: substring-after(//span[@class='newsAuth'], 'by ') - -# default view date -date: //td[@class='newsDate'] - -# default view body -body: //td[@class='featureText'] -body: //td[@class='newsText'] - -strip: //h3[@class='title'] - +# default view title +title: //span[@class='newsTitle'] +# print view title +title: //h3[@class='title'] + +# default view author +author: //span[@class='newsAuth']/a +author: substring-after(//span[@class='newsAuth'], 'by ') + +# default view date +date: //td[@class='newsDate'] + +# default view body +body: //td[@class='featureText'] +body: //td[@class='newsText'] + +strip: //h3[@class='title'] + single_page_link: //a[contains(@href, '?print=1')] test_url: http://www.gamasutra.com/view/feature/132559/staying_power_rethinking_feedback_.php \ No newline at end of file -- cgit v1.2.3