summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/thelocal.se.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/thelocal.se.php')
-rw-r--r--vendor/miniflux/picofeed/lib/PicoFeed/Rules/thelocal.se.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/thelocal.se.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/thelocal.se.php
new file mode 100644
index 00000000..c3ec250c
--- /dev/null
+++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/thelocal.se.php
@@ -0,0 +1,17 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'www.thelocal.se/20161219/this-swede-can-memorize-hundreds-of-numbers-in-only-five-minutes',
+ 'body' => array(
+ '//div[@id="article-photo"]',
+ '//div[@id="article-description"]',
+ '//div[@id="article-body"]',
+ ),
+ 'strip' => array(
+ '//div[@id="article-info-middle"]',
+ )
+ )
+ )
+);
+