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

21 lines
670 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(
'test_url' => 'http://www.networkworld.com/article/2986764/smartphones/samsung-tried-to-troll-apple-fans-waiting-in-line-for-the-iphone-6s.html#tk.rss_all',
'body' => array(
'//figure/img[@class="hero-img"]',
2015-10-18 23:31:23 +02:00
'//section[@class="deck"]',
2015-12-16 01:26:15 +01:00
'//div[@itemprop="articleBody"] || //div[@itemprop="reviewBody"]',
'//div[@class="carousel-inside-crop"]',
2015-10-18 23:31:23 +02:00
),
'strip' => array(
'//aside',
2015-12-16 01:26:15 +01:00
'//div[@class="credit"]',
'//div[@class="view-large"]',
2015-10-18 23:31:23 +02:00
),
),
),
2015-10-18 23:31:23 +02:00
);