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

29 lines
1.0 KiB
PHP
Raw Permalink Normal View History

2013-09-19 04:48:29 +02:00
<?php
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(
2017-04-05 22:05:48 +02:00
'//article[contains(@class,"story")]',
2015-04-28 18:08:42 +02:00
),
'strip' => array(
2017-04-05 22:05:48 +02:00
'//div[@class="story-tools"]',
'//h3[@class="slug"]',
'//div[@class="storytitle"]',
'//div[@id="story-meta"]',
'//a[@id="mainContent"]',
2016-02-10 02:30:07 +01:00
'//div[@class="credit-caption"]',
2017-04-05 22:05:48 +02:00
'//div[@class="enlarge_html"]',
'//button',
'//div[contains(@id,"pullquote")]',
'//div[contains(@class,"internallink")]',
'//div[contains(@class,"video")]',
'//div[@class="simplenodate"]',
'//div[contains(@class,"share-")]',
'//div[@class="tags"]',
'//aside'
2015-04-28 18:08:42 +02:00
),
),
),
2013-09-19 04:48:29 +02:00
);