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

21 lines
605 B
PHP
Raw Normal View History

2016-02-10 02:30:07 +01:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://www.muckrock.com/news/archives/2016/jan/13/5-concerns-private-prisons/',
'body' => array(
'//div[@class="content"]',
),
'strip' => array(
2017-04-05 22:05:48 +02:00
'//div[@class="newsletter-widget"]',
'//div[@class="contributors"]',
'//time',
2016-02-10 02:30:07 +01:00
'//h1',
'//div[@class="secondary"]',
'//aside',
2017-04-05 22:05:48 +02:00
'//div[@class="articles__related"]'
2016-02-10 02:30:07 +01:00
),
),
),
);