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

18 lines
483 B
PHP
Raw Normal View History

2015-10-18 23:31:23 +02:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.geek.com/news/the-11-best-ways-to-eat-eggs-1634076/',
'body' => array(
'//div[@class="articleinfo"]/figure',
'//div[@class="articleinfo"]/article',
'//span[@class="by"]',
),
'strip' => array(
'//span[@class="red"]',
2017-04-05 22:05:48 +02:00
'//div[@class="on-target"]'
2015-10-18 23:31:23 +02:00
),
),
),
2015-10-18 23:31:23 +02:00
);