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 --- .../standard/nintendoworldreport.com.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/nintendoworldreport.com.txt (limited to 'inc/3rdparty/site_config/standard/nintendoworldreport.com.txt') diff --git a/inc/3rdparty/site_config/standard/nintendoworldreport.com.txt b/inc/3rdparty/site_config/standard/nintendoworldreport.com.txt old mode 100644 new mode 100755 index 409a8977..f0e28afb --- a/inc/3rdparty/site_config/standard/nintendoworldreport.com.txt +++ b/inc/3rdparty/site_config/standard/nintendoworldreport.com.txt @@ -1,13 +1,13 @@ -body: //div[@id="main"] -title: //div[@id="main"]/h3 - -# Remove ‘Review’ and ‘Wii’. -strip: //div[@class="badge"] - -# Remove duplicate title and country flag. -strip: //h3 - -# Commented out below are attempts to extract the author and date, which did not work. -# author: //p[@class="extra "]/a +body: //div[@id="main"] +title: //div[@id="main"]/h3 + +# Remove ‘Review’ and ‘Wii’. +strip: //div[@class="badge"] + +# Remove duplicate title and country flag. +strip: //h3 + +# Commented out below are attempts to extract the author and date, which did not work. +# author: //p[@class="extra "]/a # date: //p[@class="extra "]/span[@class="when"] test_url: http://www.nintendoworldreport.com/review/28400 \ No newline at end of file -- cgit v1.2.3