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

22 lines
674 B
PHP
Raw Normal View History

2015-10-18 23:31:23 +02:00
<?php
2015-10-18 23:31:23 +02:00
return array(
'grabber' => array(
'%.*%' => array(
2016-01-12 02:03:13 +01:00
'test_url' => 'http://www.networkworld.com/article/3020585/security/the-incident-response-fab-five.html',
2015-10-18 23:31:23 +02:00
'body' => array(
2016-01-12 02:03:13 +01:00
'//figure/img[@class="hero-img"]',
'//section[@class="deck"]',
'//div[@itemprop="articleBody"] | //div[@itemprop="reviewBody"]',
'//div[@class="carousel-inside-crop"]',
2015-10-18 23:31:23 +02:00
),
'strip' => array(
2016-01-12 02:03:13 +01:00
'//script',
'//aside',
'//div[@class="credit"]',
'//div[@class="view-large"]',
2015-10-18 23:31:23 +02:00
),
),
),
2015-10-18 23:31:23 +02:00
);