From 4e067ceabd705201a16b4c92cf4b23f3b990326c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 13 Jul 2014 10:15:40 +0200 Subject: updated specific configuration for parsing --- inc/3rdparty/site_config/standard/dn.se.txt | 54 +++++++++++++++-------------- 1 file changed, 28 insertions(+), 26 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/dn.se.txt (limited to 'inc/3rdparty/site_config/standard/dn.se.txt') diff --git a/inc/3rdparty/site_config/standard/dn.se.txt b/inc/3rdparty/site_config/standard/dn.se.txt old mode 100644 new mode 100755 index 86bb3b8d..5283a0cd --- a/inc/3rdparty/site_config/standard/dn.se.txt +++ b/inc/3rdparty/site_config/standard/dn.se.txt @@ -1,26 +1,28 @@ -# 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 +# 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 +test_url: http://www.dn.se/m/rss/senaste-nytt \ No newline at end of file -- cgit v1.2.3