miniflux-legacy/vendor/miniflux/picofeed/lib/PicoFeed/Rules/medium.com.php
Frederic Guillot 5743ece654 Update PicoFeed
2017-06-11 21:08:00 -04:00

20 lines
561 B
PHP

<?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'
),
),
),
);