Switch to Composer
This commit is contained in:
parent
ce709fec80
commit
fda6e3d811
393 changed files with 14048 additions and 17 deletions
21
vendor/fguillot/picofeed/lib/PicoFeed/Rules/bangkokpost.com.php
vendored
Normal file
21
vendor/fguillot/picofeed/lib/PicoFeed/Rules/bangkokpost.com.php
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
'grabber' => array(
|
||||
'%.*%' => array(
|
||||
'test_url' => 'http://www.bangkokpost.com/news/politics/704204/new-us-ambassador-arrives-in-bangkok',
|
||||
'body' => array(
|
||||
'//div[@class="articleContents"]',
|
||||
),
|
||||
'strip' => array(
|
||||
'//h2',
|
||||
'//h4',
|
||||
'//div[@class="text-size"]',
|
||||
'//div[@class="relate-story"]',
|
||||
'//div[@class="text-ads"]',
|
||||
'//script',
|
||||
'//ul',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
Reference in a new issue