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

26 lines
816 B
PHP
Raw Normal View History

2015-10-18 23:31:23 +02:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://arstechnica.com/tech-policy/2015/09/judge-warners-2m-happy-birthday-copyright-is-bogus/',
'body' => array(
2017-04-05 22:05:48 +02:00
'//article',
2015-10-18 23:31:23 +02:00
),
'strip' => array(
2017-04-05 22:05:48 +02:00
'//h4[@class="post-upperdek"]',
'//h1',
'//ul[@class="lSPager lSGallery"]',
'//div[@class="lSAction"]',
'//section[@class="post-meta"]',
2016-01-12 02:03:13 +01:00
'//figcaption',
'//aside',
2017-04-05 22:05:48 +02:00
'//div[@class="gallery-image-credit"]',
'//section[@class="article-author"]',
'//*[contains(@id,"social-")]',
'//div[contains(@id,"footer")]',
2015-10-18 23:31:23 +02:00
),
),
),
2015-10-18 23:31:23 +02:00
);
2017-04-05 22:05:48 +02:00