diff options
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/.theguardian.com.php')
m--------- | vendor/fguillot/picofeed | 0 | ||||
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Rules/.theguardian.com.php | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/vendor/fguillot/picofeed b/vendor/fguillot/picofeed deleted file mode 160000 -Subproject 0a1d0d3950f7f047dc8fb1d80aa6296e15f306d diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.theguardian.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.theguardian.com.php new file mode 100644 index 000000000..6d8843de2 --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/.theguardian.com.php @@ -0,0 +1,10 @@ +<?php +return array( + 'test_url' => 'http://www.theguardian.com/law/2013/aug/31/microsoft-google-sue-us-fisa', + 'body' => array( + '//div[@id="article-wrapper"]', + ), + 'strip' => array( + '//*[contains(@class, "promo")]', + ), +); |