Add grabber rule for openrightsgroup.org
This commit is contained in:
parent
917a2573f0
commit
923ef7c0ef
16
vendor/PicoFeed/Rules/openrightsgroup.org.php
vendored
Normal file
16
vendor/PicoFeed/Rules/openrightsgroup.org.php
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
return array(
|
||||||
|
'test_url' => 'https://www.openrightsgroup.org/blog/2014/3-days-to-go-till-orgcon2014',
|
||||||
|
'body' => array(
|
||||||
|
'//div[contains(@class, "content")]/div',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//h2[1]',
|
||||||
|
'//div[@class="info"]',
|
||||||
|
'//div[@class="tags"]',
|
||||||
|
'//div[@class="comments"]',
|
||||||
|
'//div[@class="breadcrumbs"]',
|
||||||
|
'//h1[@class="pageTitle"]',
|
||||||
|
'//p[@class="bookmarkThis"]',
|
||||||
|
),
|
||||||
|
);
|
Loading…
Reference in New Issue
Block a user