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

20 lines
672 B
PHP
Raw Normal View History

2015-10-18 23:31:23 +02:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.csmonitor.com/USA/Politics/2015/0925/John-Boehner-steps-down-Self-sacrificing-but-will-it-lead-to-better-government',
'body' => array(
2017-04-05 22:05:48 +02:00
'//h2[@id="summary"]',
'//div[@class="flex-video youtube"]',
'//div[contains(@class,"eza-body")]',
2015-10-18 23:31:23 +02:00
),
'strip' => array(
2017-04-05 22:05:48 +02:00
'//span[@id="breadcrumb"]',
'//div[@id="byline-wrapper"]',
'//div[@class="injection"]',
'//*[contains(@class,"promo_link")]',
2015-10-18 23:31:23 +02:00
),
),
),
2015-10-18 23:31:23 +02:00
);