X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2F3rdparty%2Fsite_config%2Fstandard%2Fsydsvenskan.se.txt;h=24ba1426d5d166bf9e011808043055c08960ac8d;hb=8327f1c371ad1d930bf9c9a13e443f2aa29ecfe3;hp=da6772aa955ee55e9f02b745ffe44d2e470b6def;hpb=7f667839764621b5aa01c9db8ce5dde2a29ef18f;p=github%2Fwallabag%2Fwallabag.git
diff --git a/inc/3rdparty/site_config/standard/sydsvenskan.se.txt b/inc/3rdparty/site_config/standard/sydsvenskan.se.txt
old mode 100644
new mode 100755
index da6772aa..24ba1426
--- a/inc/3rdparty/site_config/standard/sydsvenskan.se.txt
+++ b/inc/3rdparty/site_config/standard/sydsvenskan.se.txt
@@ -1,11 +1,18 @@
-title: //h1
-
-author: //a[contains(@href, '/sok/?')]/text()
-
-date: substring-after(//span[@class='date'], 'Publicerad ')
-
-body: //div[@class='two_column_left']
-strip_id_or_class: story
-strip: //div[@class='leadText saplo:lead']/h5
-
-test_url: http://www.sydsvenskan.se/kultur-och-nojen/-jag-vill-garna--stanna--
\ No newline at end of file
+title: //h1
+
+author: //a[contains(@href, '/sok/?')]/text()
+
+date: //meta[@name='bi3dPubDate']/@content
+
+body: (//div[contains(@class, 'slider_wrapper')])[1] | //div[@id='article_image' or @class='two_column_left']
+strip_id_or_class: story
+strip_id_or_class: article_body_ad
+strip: //div[@class='leadText saplo:lead']/h5
+
+replace_string(
):
+
+prune: no
+
+test_url: http://www.sydsvenskan.se/malmo/allt-jag-ager-ligger-pa-botten/
+test_url: http://www.sydsvenskan.se/kultur-och-nojen/-jag-vill-garna--stanna--
+test_url: http://www.sydsvenskan.se/rss.xml
\ No newline at end of file