summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/nature.com.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-01-21 19:11:00 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-01-21 19:11:00 +0100
commit59daa89e4c82860d6b16b4e4bebab1eb8c302153 (patch)
tree53b840b6cd8d6c01bed28445f10a8b4788a29a84 /vendor/fguillot/picofeed/lib/PicoFeed/Rules/nature.com.php
parent3f4f78601439c07ceda61d7d9a35b5026db31deb (diff)
update picofeed
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/nature.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/nature.com.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/nature.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/nature.com.php
index 1dad8b66f..6b9e87f45 100644
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/nature.com.php
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/nature.com.php
@@ -1,20 +1,13 @@
<?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()
+ 'strip' => array(),
),
- )
+ ),
);