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/unwinnable.com.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 inc/3rdparty/site_config/standard/unwinnable.com.txt (limited to 'inc/3rdparty/site_config/standard/unwinnable.com.txt') diff --git a/inc/3rdparty/site_config/standard/unwinnable.com.txt b/inc/3rdparty/site_config/standard/unwinnable.com.txt new file mode 100755 index 00000000..05ad86a5 --- /dev/null +++ b/inc/3rdparty/site_config/standard/unwinnable.com.txt @@ -0,0 +1,9 @@ +title: //h1[@class='postTitle'] +author: //a[@rel='author'] +date: substring-before(//h4[@class='postAuthor'], '|') +body: //div[@class='postContent'] + +strip: //div[@class='simplePullQuote'] + +wrap_in(figure): //img +test_url: http://www.unwinnable.com/2013/04/23/gratifying-play/ \ No newline at end of file -- cgit v1.2.3