From cbc7a72065bab6f6a14dae16571cb516037d46ce Mon Sep 17 00:00:00 2001 From: Kordian Bruck Date: Tue, 13 Jan 2015 00:49:03 +0100 Subject: [PATCH] Added some rules for comics and Austrian press --- .../picofeed/lib/PicoFeed/Rules/bunicomic.com.php | 9 +++++++++ .../picofeed/lib/PicoFeed/Rules/derstandard.at.php | 10 ++++++++++ .../picofeed/lib/PicoFeed/Rules/explosm.net.php | 9 +++++++++ .../fguillot/picofeed/lib/PicoFeed/Rules/xkcd.com.php | 9 +++++++++ 4 files changed, 37 insertions(+) create mode 100644 vendor/fguillot/picofeed/lib/PicoFeed/Rules/bunicomic.com.php create mode 100644 vendor/fguillot/picofeed/lib/PicoFeed/Rules/derstandard.at.php create mode 100644 vendor/fguillot/picofeed/lib/PicoFeed/Rules/explosm.net.php create mode 100644 vendor/fguillot/picofeed/lib/PicoFeed/Rules/xkcd.com.php diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/bunicomic.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/bunicomic.com.php new file mode 100644 index 0000000..2ddd17c --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/bunicomic.com.php @@ -0,0 +1,9 @@ + 'http://www.bunicomic.com/comic/buni-623/', + 'body' => array( + '//div[@class="comic-table"]', + ), + 'strip' => array( + ), +); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/derstandard.at.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/derstandard.at.php new file mode 100644 index 0000000..687d72d --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/derstandard.at.php @@ -0,0 +1,10 @@ + 'http://derstandard.at/2000010267354/The-Witcher-3-Hohe-Hardware-Anforderungen-fuer-PC-Spieler?ref=rss', + 'body' => array( + '//div[@class="copytext"]', + '//ul[@id="media-list"]', + ), + 'strip' => array( + ), +); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/explosm.net.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/explosm.net.php new file mode 100644 index 0000000..b9ca9b0 --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/explosm.net.php @@ -0,0 +1,9 @@ + 'http://explosm.net/comics/3803/', + 'body' => array( + '//div[@id="comic-container"]', + ), + 'strip' => array( + ), +); diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Rules/xkcd.com.php b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/xkcd.com.php new file mode 100644 index 0000000..37fec18 --- /dev/null +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Rules/xkcd.com.php @@ -0,0 +1,9 @@ + 'http://xkcd.com/1472/', + 'body' => array( + '//div[@id="comic"]', + ), + 'strip' => array( + ), +);