miniflux-legacy/vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.npr.org.php

21 lines
645 B
PHP
Raw Normal View History

2013-09-19 04:48:29 +02:00
<?php
2013-09-19 04:48:29 +02:00
return array(
2015-04-28 18:08:42 +02:00
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.npr.org/blogs/thesalt/2013/09/17/223345977/auto-brewery-syndrome-apparently-you-can-make-beer-in-your-gut',
'body' => array(
'//div[@id="storytext"]',
),
'strip' => array(
'//*[@class="bucket img"]',
'//*[@class="creditwrap"]',
2015-10-18 23:31:23 +02:00
'//*[@class="credit"]',
2015-04-28 18:08:42 +02:00
'//*[@class="captionwrap"]',
2015-10-18 23:31:23 +02:00
'//*[@class="toggle-caption"]',
2015-04-28 18:08:42 +02:00
'//*[contains(@class, "enlargebtn")]',
),
),
),
2013-09-19 04:48:29 +02:00
);