From 9a69161c8646f63b4d9fa17c6ac3ab922d625859 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Wed, 27 Feb 2013 23:43:10 +0100 Subject: Initial commit --- dn.se.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dn.se.txt (limited to 'dn.se.txt') diff --git a/dn.se.txt b/dn.se.txt new file mode 100644 index 0000000..05b1ee0 --- /dev/null +++ b/dn.se.txt @@ -0,0 +1,26 @@ +# 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[@id="article-content"] + + +# Ads +strip_id_or_class: advert-space + +# Read more, recommend, comments etc +strip_id_or_class: fbc-recommend +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: footer + +# Other news +strip: //div[@id="mirrors"] + +# Author +author: //div[@id="byline"]/div/p/strong + +# Date +date: substring(substring-after(//p[@class="published"], 'Publicerad '), 0, 11) +test_url: http://www.dn.se/nyheter/varlden/landade-flygplan-mitt-i-villaomrade \ No newline at end of file -- cgit v1.3.1