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/fivethirtyeight.com.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/fivethirtyeight.com.txt (limited to 'inc/3rdparty/site_config/standard/fivethirtyeight.com.txt') diff --git a/inc/3rdparty/site_config/standard/fivethirtyeight.com.txt b/inc/3rdparty/site_config/standard/fivethirtyeight.com.txt new file mode 100644 index 00000000..3d7b45a8 --- /dev/null +++ b/inc/3rdparty/site_config/standard/fivethirtyeight.com.txt @@ -0,0 +1,7 @@ +title: substring-after(//title, 'Right:') +body: //div[@class = 'post-body'] +author: substring-after(//*[@class='post-author'], 'by') +date: concat(//*[@class='date-header'], ' ', //*[@class='post-timestamp']/a) +convert_double_br_tags: yes + +test_url: http://www.fivethirtyeight.com/2010/07/does-rnc-have-structural-problems.html \ No newline at end of file -- cgit v1.2.3