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

21 lines
564 B
PHP
Raw Permalink Normal View History

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