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/theonion.com.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/theonion.com.txt (limited to 'inc/3rdparty/site_config/standard/theonion.com.txt') diff --git a/inc/3rdparty/site_config/standard/theonion.com.txt b/inc/3rdparty/site_config/standard/theonion.com.txt old mode 100644 new mode 100755 index 12918b88..90e8d658 --- a/inc/3rdparty/site_config/standard/theonion.com.txt +++ b/inc/3rdparty/site_config/standard/theonion.com.txt @@ -1,11 +1,11 @@ -title: //h2[@class='title'] -date: substring-before(//p[@class='meta'], '|') -body: //div[@class='story'] -#body: //div[@class='article_body'] - -strip: //h2[@class='title'] -strip: //p[@class='meta'] -strip: //div[@class='ga_section'] -strip: //div[@id='recent_slider'] +title: //h2[@class='title'] +date: substring-before(//p[@class='meta'], '|') +body: //div[@class='story'] +#body: //div[@class='article_body'] + +strip: //h2[@class='title'] +strip: //p[@class='meta'] +strip: //div[@class='ga_section'] +strip: //div[@id='recent_slider'] test_url: http://www.theonion.com/articles/pathetic-bobcats-owner-again-regaling-players-with,27572/ \ No newline at end of file -- cgit v1.2.3