Skip to content

Commit

Permalink
Add new rules (thanks to @cakruege)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Guillot committed Nov 27, 2013
1 parent 25875ed commit 0920c99
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/PicoFeed/Rules/golem.de.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
return array(
'test_url' => 'http://www.golem.de/news/breko-telekom-verzoegert-gezielt-den-vectoring-ausbau-1311-102974.html',
'body' => array(
'//header[@class="cluster-header"]',
'//div[@class="formatted"]'
)
);
7 changes: 7 additions & 0 deletions lib/PicoFeed/Rules/spiegel.de.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
return array(
'test_url' => '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")]'
)
);

0 comments on commit 0920c99

Please sign in to comment.