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/benoitmaison.org.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/benoitmaison.org.txt (limited to 'inc/3rdparty/site_config/standard/benoitmaison.org.txt') diff --git a/inc/3rdparty/site_config/standard/benoitmaison.org.txt b/inc/3rdparty/site_config/standard/benoitmaison.org.txt new file mode 100644 index 00000000..f341d593 --- /dev/null +++ b/inc/3rdparty/site_config/standard/benoitmaison.org.txt @@ -0,0 +1,16 @@ +body: //div[@class="entry-content"] + +# Remove text ‘Tweet’ +strip: //div[@class="entry-content"]/div[last()] + +title: h1[@class="entry-title"] + +# If the Instapaper text parser worked with HTML5 tags, we would use: +date: //time[@class="entry-date"] + +# But since it does not, use this more complicated rule: +date: //div[@class="entry-meta"]/a[@rel="bookmark"] + +# Unfortunately, the following rule is overridden by the automatically found author. +author: ("Benoit Maison") +test_url: http://www.benoitmaison.org/2011/12/06/why-siri-had-to-start-in-beta/ \ No newline at end of file -- cgit v1.2.3