From c2039bcfc4a5173c57130bbc1861d1883d93f062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Tue, 26 Nov 2013 21:01:13 -0500 Subject: [PATCH] Add new content rules --- README.markdown | 2 ++ vendor/PicoFeed/Rules/golem.de.php | 8 ++++++++ vendor/PicoFeed/Rules/spiegel.de.php | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100644 vendor/PicoFeed/Rules/golem.de.php create mode 100644 vendor/PicoFeed/Rules/spiegel.de.php diff --git a/README.markdown b/README.markdown index fe9bd27..6973c51 100644 --- a/README.markdown +++ b/README.markdown @@ -372,6 +372,7 @@ Don't forget to send a pull request or a ticket to share your contribution with - *.wired.com - *.wsj.com - github.com +- golem.de - lifehacker.com - lists.* - medium.com @@ -379,6 +380,7 @@ Don't forget to send a pull request or a ticket to share your contribution with - plus.google.com - rue89.com - smallhousebliss.com +- spiegel.de - techcrunch.com - www.bbc.co.uk - www.businessweek.com diff --git a/vendor/PicoFeed/Rules/golem.de.php b/vendor/PicoFeed/Rules/golem.de.php new file mode 100644 index 0000000..1a45fa6 --- /dev/null +++ b/vendor/PicoFeed/Rules/golem.de.php @@ -0,0 +1,8 @@ + 'http://www.golem.de/news/breko-telekom-verzoegert-gezielt-den-vectoring-ausbau-1311-102974.html', + 'body' => array( + '//header[@class="cluster-header"]', + '//div[@class="formatted"]' + ) +); \ No newline at end of file diff --git a/vendor/PicoFeed/Rules/spiegel.de.php b/vendor/PicoFeed/Rules/spiegel.de.php new file mode 100644 index 0000000..3fb2316 --- /dev/null +++ b/vendor/PicoFeed/Rules/spiegel.de.php @@ -0,0 +1,7 @@ + 'http://www.spiegel.de/politik/ausland/afrika-angola-geht-gegen-islam-vor-und-schliesst-moscheen-a-935788.html', + 'body' => array( + '//h2[contains(@class, "article-section")]' + ) +); \ No newline at end of file