summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dn.se.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/dn.se.txt b/dn.se.txt
index a2ad609..28e932a 100644
--- a/dn.se.txt
+++ b/dn.se.txt
@@ -1,5 +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.
+body: //div[contains(@class, 'article__body-content')]
body: //div[@id="article-content"]
@@ -24,6 +25,8 @@ strip: //div[@id="mirrors"]
# Author
author: //div[@id="byline"]/div/p/strong
+parser: html5php
+
# Date
date: substring(substring-after(//p[@class="published"], 'Publicerad '), 0, 11)