This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
rangitaki/vendor/fguillot/picofeed/lib/PicoFeed/Rules/lifehacker.ru.php

23 lines
701 B
PHP
Raw Permalink Normal View History

2016-12-30 00:04:12 +01:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://lifehacker.ru/2016/03/03/polymail/',
'body' => array(
'//div[@class="post-content"]',
),
'strip' => array(
'//script',
'//form',
'//style',
'//*[@class="wp-thumbnail-caption"]',
'//*[contains(@class, "social-likes")]',
'//*[@class="jp-relatedposts"]',
'//*[contains(@class, "wpappbox")]',
'//*[contains(@class, "icon__image")]',
'//div[@id="hypercomments_widget"]',
),
),
),
);