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/m.bbc.co.uk.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/m.bbc.co.uk.txt (limited to 'inc/3rdparty/site_config/standard/m.bbc.co.uk.txt') diff --git a/inc/3rdparty/site_config/standard/m.bbc.co.uk.txt b/inc/3rdparty/site_config/standard/m.bbc.co.uk.txt new file mode 100644 index 00000000..a8af5438 --- /dev/null +++ b/inc/3rdparty/site_config/standard/m.bbc.co.uk.txt @@ -0,0 +1,8 @@ +title: //div[@class="story-body"]/div[@class="story-inner"]/h1 +body: //div[@class="story-body"] +date: //p[@class='date']/strong +author: substring-after(//div[@class="story-inner"]/div[@class="byline"]//span[@class='name'], 'By') + +strip: //div[@class="story-inner"]/div[@class="byline"] + +test_url: http://m.bbc.co.uk/news/science-environment-19144464 \ No newline at end of file -- cgit v1.2.3