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

23 lines
749 B
PHP
Raw Normal View History

2016-01-12 02:03:13 +01:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://onmilwaukee.com/movies/articles/downerspelunking.html',
'body' => '//article[@class="show"]',
'strip' => array(
'//h1',
'//div[contains(@class, "-ad")]',
'//div[contains(@class, "_ad")]',
'//div[@id="pub_wrapper"]',
'//div[@class="share_tools"]',
'//div[@class="clearfix"]',
'//div[contains(@class,"image_control")]',
'//section[@class="ribboned"]',
'//div[contains(@class,"sidebar")]',
'//aside[@class="article_tag_list"]',
),
),
),
);