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 --- .../site_config/standard/jetzt.sueddeutsche.de.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/jetzt.sueddeutsche.de.txt (limited to 'inc/3rdparty/site_config/standard/jetzt.sueddeutsche.de.txt') diff --git a/inc/3rdparty/site_config/standard/jetzt.sueddeutsche.de.txt b/inc/3rdparty/site_config/standard/jetzt.sueddeutsche.de.txt new file mode 100644 index 00000000..6e8af934 --- /dev/null +++ b/inc/3rdparty/site_config/standard/jetzt.sueddeutsche.de.txt @@ -0,0 +1,22 @@ +title: //h1 +author: //p[contains(@class, 'author')]/a +date: //p[contains(@class, 'time')] +body: //div[@class='content']/div[contains(@class, 'text')] + +# prevent "no text" errors on multi-page articles +tidy: no + +# we use a custom next-link detector instead of the print view because +# it's pretty hard to strip out the unwanted parts in the print view +autodetect_next_page: no +next_page_link: //div[contains(@class, 'text')]/div/div[contains(@class, 'paging')]/a[@class='more '] + +strip: //h1 + +strip_id_or_class: meta +strip_id_or_class: author +strip_id_or_class: paging + +# prevent "Report an Error" from being recognized as footnote +footnotes: no +test_url: http://jetzt.sueddeutsche.de/texte/anzeigen/544308/Alles-flicken \ No newline at end of file -- cgit v1.2.3