miniflux-legacy/vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php

20 lines
561 B
PHP
Raw Permalink Normal View History

2013-10-01 04:15:18 +02:00
<?php
return array(
2015-04-28 18:08:42 +02:00
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://medium.com/lessons-learned/917b8b63ae3e',
'body' => array(
2017-04-05 22:05:48 +02:00
'//div[@class="section-content"]',
2015-04-28 18:08:42 +02:00
),
'strip' => array(
2017-04-05 22:05:48 +02:00
'//div[contains(@class,"metabar")]',
'//img[contains(@class,"thumbnail")]',
'//h1',
'//blockquote',
'//div[@class="aspectRatioPlaceholder-fill"]',
'//footer'
),
),
),
2013-10-01 04:15:18 +02:00
);