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/slashfilm.com.txt | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/slashfilm.com.txt (limited to 'inc/3rdparty/site_config/standard/slashfilm.com.txt') diff --git a/inc/3rdparty/site_config/standard/slashfilm.com.txt b/inc/3rdparty/site_config/standard/slashfilm.com.txt old mode 100644 new mode 100755 index 78d38ecf..4d17176a --- a/inc/3rdparty/site_config/standard/slashfilm.com.txt +++ b/inc/3rdparty/site_config/standard/slashfilm.com.txt @@ -1,15 +1,15 @@ -title: substring-before(//title,'| /Film') -date: substring-before(substring-after(//p[@class='post-info'],'Posted on '),'by') -strip: //div[@class='pm-left'] -strip: //div[@class='pm-right'] -strip: //h2/span -next_page_link: //h2/strong/a -strip: //h2/strong/a -strip: //p[contains(text(),'we have to split this post over')] -strip: //p[@class='post-info'] -strip: //h1/a -strip: //img[contains(@src,'siteimages/authors')] -strip: //div[@id='header'] -strip: //div[@class='topad-right'] -strip: //strong[contains(text(),'Cool Posts From Around the Web:')] +title: substring-before(//title,'| /Film') +date: substring-before(substring-after(//p[@class='post-info'],'Posted on '),'by') +strip: //div[@class='pm-left'] +strip: //div[@class='pm-right'] +strip: //h2/span +next_page_link: //h2/strong/a +strip: //h2/strong/a +strip: //p[contains(text(),'we have to split this post over')] +strip: //p[@class='post-info'] +strip: //h1/a +strip: //img[contains(@src,'siteimages/authors')] +strip: //div[@id='header'] +strip: //div[@class='topad-right'] +strip: //strong[contains(text(),'Cool Posts From Around the Web:')] test_url: http://www.slashfilm.com/superhero-bits-206/ \ No newline at end of file -- cgit v1.2.3