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/japantimes.co.jp.php

23 lines
698 B
PHP
Raw Normal View History

2016-05-07 12:59:40 +02:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.japantimes.co.jp/news/2015/09/27/world/social-issues-world/pope-meets-sex-abuse-victims-philadelphia-promises-accountability/',
'body' => array(
'//article[@role="main"]',
),
'strip' => array(
'//script',
'//header',
'//div[contains(@class, "meta")]',
'//div[@class="clearfix"]',
'//div[@class="OUTBRAIN"]',
'//ul[@id="content_footer_menu"]',
'//div[@class="article_footer_ad"]',
'//div[@id="disqus_thread"]',
),
),
),
);