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

25 lines
809 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',
2016-02-10 02:30:07 +01:00
'body' => array(
'//article[contains(@class, "show")]',
),
2016-01-12 02:03:13 +01:00
'strip' => array(
'//h1',
'//div[contains(@class, "-ad")]',
'//div[contains(@class, "_ad")]',
'//div[@id="pub_wrapper"]',
2016-02-10 02:30:07 +01:00
'//div[contains(@class, "share_tools")]',
2016-01-12 02:03:13 +01:00
'//div[@class="clearfix"]',
'//div[contains(@class,"image_control")]',
'//section[@class="ribboned"]',
'//div[contains(@class,"sidebar")]',
'//aside[@class="article_tag_list"]',
),
),
),
);