summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php')
-rw-r--r--vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php
new file mode 100644
index 00000000..e20860e0
--- /dev/null
+++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php
@@ -0,0 +1,19 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'https://medium.com/lessons-learned/917b8b63ae3e',
+ 'body' => array(
+ '//div[@class="section-content"]',
+ ),
+ 'strip' => array(
+ '//div[contains(@class,"metabar")]',
+ '//img[contains(@class,"thumbnail")]',
+ '//h1',
+ '//blockquote',
+ '//div[@class="aspectRatioPlaceholder-fill"]',
+ '//footer'
+ ),
+ ),
+ ),
+);