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

32 lines
1.1 KiB
PHP
Raw Normal View History

2013-09-19 04:48:29 +02:00
<?php
return array(
2015-04-28 18:08:42 +02:00
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.wired.com/gamelife/2013/09/ouya-free-the-games/',
'body' => array(
2015-10-18 23:31:23 +02:00
'//div[@data-js="gallerySlides"]',
'//article',
2015-04-28 18:08:42 +02:00
),
'strip' => array(
'//*[@id="linker_widget"]',
2015-10-18 23:31:23 +02:00
'//*[@class="credit"]',
'//div[@data-js="slideCount"]',
'//*[contains(@class="visually-hidden")]',
2015-10-18 23:31:23 +02:00
'//*[@data-slide-number="_endslate"]',
'//*[@id="related"]',
2015-04-28 18:08:42 +02:00
'//*[contains(@class, "bio")]',
'//*[contains(@class, "entry-footer")]',
'//*[contains(@class, "mobify_backtotop_link")]',
'//*[contains(@class, "gallery-navigation")]',
'//*[contains(@class, "gallery-thumbnail")]',
'//img[contains(@src, "1x1")]',
'//a[contains(@href, "creativecommons")]',
2015-10-18 23:31:23 +02:00
'//a[@href="#start-of-content"]',
'//ul[@id="article-tags"]',
2015-04-28 18:08:42 +02:00
),
)
)
2013-09-19 04:48:29 +02:00
);
2015-10-18 23:31:23 +02:00