summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2016-02-16 23:37:08 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2016-02-16 23:37:08 +0100
commitb33b56fa23860d684ff9ac4d3ce8b5640732f8e9 (patch)
tree38fd8547387de529b289cb600bd15600ad9a0741
parent9d5f0e66717d08e02d58a39e3cb7b0d546e32f3d (diff)
downloadftr-site-config-b33b56fa23860d684ff9ac4d3ce8b5640732f8e9.tar.gz
ftr-site-config-b33b56fa23860d684ff9ac4d3ce8b5640732f8e9.zip
Update dn.se.txt
-rw-r--r--dn.se.txt15
1 files 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: <noscript>
+replace_string: <!-- removed -->
+find_string: </noscript>
+replace_string: <!-- removed -->
+
+#parser: html5php
+#prune: no
+#tidy: no
# Date
date: substring(substring-after(//p[@class="published"], 'Publicerad '), 0, 11)