miniflux-legacy/vendor/fguillot/picofeed/lib/PicoFeed/Rules/foreignpolicy.com.php
2017-04-05 16:05:48 -04:00

22 lines
701 B
PHP

<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://foreignpolicy.com/2016/01/09/networking-giant-pulls-nsa-linked-code-exploited-by-hackers/',
'body' => array(
'//article',
),
'strip' => array(
'//div[@id="post-category"]',
'//div[@id="desktop-right"]',
'//h1',
'//section[@class="article-meta"]',
'//div[@class="side-panel-wrapper"]',
'//*[contains(@class, "share-")]',
'//*[contains(@id, "taboola-")]',
'//div[@class="comments"]',
),
),
),
);