summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Rules/csmonitor.com.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-10-18 14:28:01 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-10-18 14:28:01 +0200
commit6bc0c9a66075905725705ed425e5817e4f7c1767 (patch)
tree164819a5d0ed73d4f3284d4e17a17ad34eee8d59 /vendor/fguillot/picofeed/lib/PicoFeed/Rules/csmonitor.com.php
parentc335e5f349abe4e3d647c0ff57d12e23ef9ff20c (diff)
update picofeed
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Rules/csmonitor.com.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Rules/csmonitor.com.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/csmonitor.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/csmonitor.com.php
new file mode 100644
index 000000000..7c44e3a52
--- /dev/null
+++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/csmonitor.com.php
@@ -0,0 +1,18 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'http://www.csmonitor.com/USA/Politics/2015/0925/John-Boehner-steps-down-Self-sacrificing-but-will-it-lead-to-better-government',
+ 'body' => array(
+ '//figure[@id="image-top-1"]',
+ '//div[@id="story-body"]',
+ ),
+ 'strip' => array(
+ '//script',
+ '//img[@title="hide caption"]',
+ '//*[contains(@class,"promo_link")]',
+ '//div[@id="story-embed-column"]',
+ ),
+ )
+ )
+);