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

17 lines
478 B
PHP

<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.sciencemag.org/news/2016/01/could-bright-foamy-wak$',
'body' => array(
'//div[@class="row--hero"]',
'//article[contains(@class,"primary")]',
),
'strip' => array(
'//header[@class="article__header"]',
'//footer[@class="article__foot"]',
),
),
)
);