From cbba2d911da7b4dc444be4e9a8569dcc5690ba85 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 31 Dec 2015 18:13:20 +0100 Subject: Backport site_config changes from wallabag v1 Fix https://github.com/wallabag/wallabag/issues/1414 --- wmnf.org.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 wmnf.org.txt (limited to 'wmnf.org.txt') diff --git a/wmnf.org.txt b/wmnf.org.txt new file mode 100755 index 0000000..1d403a9 --- /dev/null +++ b/wmnf.org.txt @@ -0,0 +1,13 @@ +title: //div[@class="bodyText"]/h1/text() +body: //div[@class="bodyText"] + +# author and date are separated by only a newline +# can't figure out how to tokenize that yet +author: //div[@class="bodyText"]/span[@class="info"]/text() +date: //div[@class="bodyText"]/span[@class="info"]/text() + +# strip metdata from body text +strip: //div[@class="bodyText"]/h1/text() +strip: //div[@class="bodyText"]/span[@class="info"] +strip: //div[@class="bodyText"]/span[@class="info"] +test_url: http://www.wmnf.org/news_stories/light-rail-advocates-join-forces-to-combat-opposition-in-pinellas \ No newline at end of file -- cgit v1.3.1