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

27 lines
860 B
PHP
Raw Permalink Normal View History

2015-10-18 23:31:23 +02:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
2017-04-05 22:05:48 +02:00
'test_url' => 'http://blogs.discovermagazine.com/neuroskeptic/2017/01/25/publishers-jeffrey-beall/',
2015-10-18 23:31:23 +02:00
'body' => array(
2017-04-05 22:05:48 +02:00
'//div[@class="contentWell"]',
2015-10-18 23:31:23 +02:00
),
'strip' => array(
'//h1',
2017-04-05 22:05:48 +02:00
'//div[@class="breadcrumbs"]',
'//div[@class="mobile"]',
'//div[@class="fromIssue"]',
'//div[contains(@class,"belowDeck")]',
2015-10-18 23:31:23 +02:00
'//div[@class="meta"]',
'//div[@class="shareIcons"]',
2017-04-05 22:05:48 +02:00
'//div[@class="categories"]',
2015-10-18 23:31:23 +02:00
'//div[@class="navigation"]',
2017-04-05 22:05:48 +02:00
'//div[@class="heading"]',
'//div[contains(@id,"-ad")]',
'//div[@class="relatedArticles"]',
'//div[@id="disqus_thread"]'
2015-10-18 23:31:23 +02:00
),
),
),
2015-10-18 23:31:23 +02:00
);