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/publy.ru.php

25 lines
740 B
PHP
Raw Permalink Normal View History

2016-12-30 00:04:12 +01:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.publy.ru/post/19988',
'body' => array(
'//div[@class="singlepost"]',
),
'strip' => array(
'//script',
'//form',
'//style',
'//*[@class="featured"]',
'//*[@class="toc_white no_bullets"]',
'//*[@class="toc_title"]',
'//*[@class="pba"]',
'//*[@class="comments"]',
'//*[contains(@class, "g-single")]',
'//*[@class="ts-fab-wrapper"]',
'//*[contains(@class, "wp_rp_wrap")]',
),
),
),
);