diff options
| author | FiveFilters.org <fivefilters@fivefilters.org> | 2013-02-27 23:43:10 +0100 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2013-02-27 23:43:10 +0100 |
| commit | 9a69161c8646f63b4d9fa17c6ac3ab922d625859 (patch) | |
| tree | 62a446347e1279f00383fdd7f9637cfd58a50879 /dn.se.txt | |
| download | ftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.tar.gz ftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.zip | |
Initial commit
Diffstat (limited to 'dn.se.txt')
| -rw-r--r-- | dn.se.txt | 26 |
1 files changed, 26 insertions, 0 deletions
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 |
