diff options
Diffstat (limited to 'inc/3rdparty/site_config/standard/dn.se.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/dn.se.txt | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/inc/3rdparty/site_config/standard/dn.se.txt b/inc/3rdparty/site_config/standard/dn.se.txt index 86bb3b8d..5283a0cd 100644..100755 --- a/inc/3rdparty/site_config/standard/dn.se.txt +++ b/inc/3rdparty/site_config/standard/dn.se.txt | |||
@@ -1,26 +1,28 @@ | |||
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. | 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 | 2 | ||
3 | body: //div[@id="article-content"] | 3 | body: //div[@id="article-content"] |
4 | 4 | ||
5 | 5 | ||
6 | # Ads | 6 | # Ads |
7 | strip_id_or_class: advert-space | 7 | strip_id_or_class: advert-space |
8 | 8 | ||
9 | # Read more, recommend, comments etc | 9 | # Read more, recommend, comments etc |
10 | strip_id_or_class: fbc-recommend | 10 | strip_id_or_class: fbc-recommend |
11 | strip_id_or_class: recommend | 11 | strip_id_or_class: recommend |
12 | strip_id_or_class: article-readers | 12 | strip_id_or_class: article-readers |
13 | strip_id_or_class: article-addons | 13 | strip_id_or_class: article-addons |
14 | strip_id_or_class: hook | 14 | strip_id_or_class: hook |
15 | strip_id_or_class: right | 15 | strip_id_or_class: right |
16 | strip_id_or_class: footer | 16 | strip_id_or_class: footer |
17 | 17 | ||
18 | # Other news | 18 | # Other news |
19 | strip: //div[@id="mirrors"] | 19 | strip: //div[@id="mirrors"] |
20 | 20 | ||
21 | # Author | 21 | # Author |
22 | author: //div[@id="byline"]/div/p/strong | 22 | author: //div[@id="byline"]/div/p/strong |
23 | 23 | ||
24 | # Date | 24 | # Date |
25 | date: substring(substring-after(//p[@class="published"], 'Publicerad '), 0, 11) | 25 | date: substring(substring-after(//p[@class="published"], 'Publicerad '), 0, 11) |
26 | test_url: http://www.dn.se/nyheter/varlden/landade-flygplan-mitt-i-villaomrade \ No newline at end of file | 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 \ No newline at end of file | ||