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

20 lines
533 B
PHP

<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.bangkokpost.com/news/politics/704204/new-us-ambassador-arrives-in-bangkok',
'body' => array(
'//article/div[@class="articleContents"]',
),
'strip' => array(
'//h2',
'//h4',
'//div[@class="text-size"]',
'//div[@class="relate-story"]',
'//div[@class="text-ads"]',
'//ul',
),
),
),
);