22 lines
565 B
PHP
Raw Normal View History

2015-10-18 17:31:23 -04:00
<?php
2015-10-18 17:31:23 -04:00
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.linuxinsider.com/story/82526.html?rss=1',
2016-02-09 20:30:07 -05:00
'body' => array(
'//div[@id="story"]',
),
2015-10-18 17:31:23 -04:00
'strip' => array(
2016-01-11 20:03:13 -05:00
'//script',
2016-02-09 20:30:07 -05:00
'//h1',
2016-01-11 20:03:13 -05:00
'//div[@id="story-toolbox1"]',
'//div[@id="story-byline"]',
'//div[@id="story"]/p',
'//div[@class="story-advertisement"]',
'//iframe',
2015-10-18 17:31:23 -04:00
),
),
),
2015-10-18 17:31:23 -04:00
);