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/thepioneerwoman.com.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/thepioneerwoman.com.txt (limited to 'inc/3rdparty/site_config/standard/thepioneerwoman.com.txt') diff --git a/inc/3rdparty/site_config/standard/thepioneerwoman.com.txt b/inc/3rdparty/site_config/standard/thepioneerwoman.com.txt new file mode 100644 index 00000000..f89f3a87 --- /dev/null +++ b/inc/3rdparty/site_config/standard/thepioneerwoman.com.txt @@ -0,0 +1,11 @@ +title: //h1[@class='post-title'] +body: //div[@class='post'] +author: //p[@class='posted-by'] +date: //div[@class='sprite post-date'] + +# The body of the post doesn't have it's own div so we have to strip out the metadata +strip: //div[@class='author_avatar'] +strip: //div[@class='sprite post-date'] +strip: //h1[@class='post-title'] +strip: //p[@class='posted-by'] +test_url: http://thepioneerwoman.com/cooking/2011/08/pie-fats-a-comparison/ \ No newline at end of file -- cgit v1.2.3