From ac4d114214d820b20e18518a2dbc809337e39043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 6 Dec 2013 10:13:03 +0100 Subject: [add] new specific configuration files --- inc/3rdparty/site_config/standard/gamasutra.com.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 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 new file mode 100644 index 00000000..35a8762a --- /dev/null +++ b/inc/3rdparty/site_config/standard/gamasutra.com.txt @@ -0,0 +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'] + +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