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

25 lines
861 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',
2017-04-05 22:05:48 +02:00
'//div[contains(@class,"-ad")]',
'//div[contains(@class,"_ad")]',
2016-01-12 02:03:13 +01:00
'//div[@id="pub_wrapper"]',
2017-04-05 22:05:48 +02: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"]',
2017-04-05 22:05:48 +02:00
'//section[contains(@id,"more_posts")]'
2016-01-12 02:03:13 +01:00
),
),
),
);