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

22 lines
683 B
PHP
Raw Normal View History

2015-10-18 23:31:23 +02:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.upi.com/Top_News/US/2015/09/26/Tech-giants-Hollywood-stars-among-guests-at-state-dinner-for-Chinas-Xi-Jinping/4541443281006/',
'body' => array(
'//div[@class="img"]',
'//div[@class="st_text_c"]',
),
'strip' => array(
'//div[@align="center"]',
'//div[@class="ad_slot"]',
'//div[@class="ipara"]',
'//div[@class="st_embed"]',
'//div[contains(@styel,"font-size"]',
'//ul',
'//style[@type="text/css"]',
),
)
)
);