]>
Commit | Line | Data |
---|---|---|
4e067cea NL |
1 | # 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. |
2 | ||
3 | body: //div[@id="article-content"] | |
4 | ||
5 | ||
6 | # Ads | |
7 | strip_id_or_class: advert-space | |
8 | ||
9 | # Read more, recommend, comments etc | |
10 | strip_id_or_class: fbc-recommend | |
11 | strip_id_or_class: recommend | |
12 | strip_id_or_class: article-readers | |
13 | strip_id_or_class: article-addons | |
14 | strip_id_or_class: hook | |
15 | strip_id_or_class: right | |
16 | strip_id_or_class: footer | |
17 | ||
18 | # Other news | |
19 | strip: //div[@id="mirrors"] | |
20 | ||
21 | # Author | |
22 | author: //div[@id="byline"]/div/p/strong | |
23 | ||
24 | # Date | |
25 | date: substring(substring-after(//p[@class="published"], 'Publicerad '), 0, 11) | |
26 | ||
27 | test_url: http://www.dn.se/nyheter/varlden/landade-flygplan-mitt-i-villaomrade | |
28 | test_url: http://www.dn.se/m/rss/senaste-nytt |