From b33b56fa23860d684ff9ac4d3ce8b5640732f8e9 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Tue, 16 Feb 2016 23:37:08 +0100 Subject: Update dn.se.txt --- dn.se.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/dn.se.txt b/dn.se.txt index 28e932a..474eee9 100644 --- a/dn.se.txt +++ b/dn.se.txt @@ -1,6 +1,6 @@ -# Since this element has class="clear", the Instapaper stylesheets (at least this text parser preview), will render it unreadable, with a 1px font size and line height. +title: //h1[contains(@class, 'article__headline')] -body: //div[contains(@class, 'article__body-content')] +body: //div[contains(@class, 'article__body-content') or contains(@class, 'article__lead') or contains(@class, 'image-box__container')] body: //div[@id="article-content"] @@ -13,7 +13,7 @@ strip_id_or_class: recommend strip_id_or_class: article-readers strip_id_or_class: article-addons strip_id_or_class: hook -strip_id_or_class: right +#strip_id_or_class: right strip_id_or_class: footer strip_id_or_class: ad-head @@ -25,7 +25,14 @@ strip: //div[@id="mirrors"] # Author author: //div[@id="byline"]/div/p/strong -parser: html5php +find_string: +replace_string: + +#parser: html5php +#prune: no +#tidy: no # Date date: substring(substring-after(//p[@class="published"], 'Publicerad '), 0, 11) -- cgit v1.3.1