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

21 lines
551 B
PHP
Raw Normal View History

2015-12-16 01:26:15 +01:00
<?php
return array(
'grabber' => array(
'http://dx.doi.org/10.1038.*%' => array(
'test_url' => 'http://dx.doi.org/10.1038/525184a',
'body' => array(
'//div[@class="content "]',
),
'strip' => array()
),
'%.*%' => array(
'test_url' => 'http://www.nature.com/doifinder/10.1038/nature.2015.18340',
'body' => array(
'//div[contains(@class,"main-content")]',
),
'strip' => array()
),
)
);