Skip to content

Commit

Permalink
Add content rules for ing.dk, jobfinder.dk and version2.dk
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Guillot committed Nov 30, 2013
1 parent efc590e commit ba5ab24
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@ When the content scraper is enabled, everything will be slower because for each
- *.wsj.com
- github.com
- golem.de
- ing.dk
- karriere.jobfinder.dk
- lifehacker.com
- lists.*
- medium.com
Expand All @@ -363,6 +365,7 @@ When the content scraper is enabled, everything will be slower because for each
- smallhousebliss.com
- spiegel.de
- techcrunch.com
- version2.dk
- www.bbc.co.uk
- www.businessweek.com
- www.cnn.com
Expand Down
8 changes: 8 additions & 0 deletions lib/PicoFeed/Rules/ing.dk.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
return array(
'test_url' => 'http://ing.dk/artikel/smart-husisolering-og-styring-skal-mindske-japans-energikrise-164517',
'body' => array(
'//section[contains(@class, "teaser")]',
'//section[contains(@class, "body")]',
)
);
8 changes: 8 additions & 0 deletions lib/PicoFeed/Rules/karriere.jobfinder.dk.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
return array(
'test_url' => 'http://karriere.jobfinder.dk/artikel/dansk-professor-skal-lede-smart-grid-forskning-20-millioner-dollars-763',
'body' => array(
'//section[contains(@class, "teaser")]',
'//section[contains(@class, "body")]',
)
);
8 changes: 8 additions & 0 deletions lib/PicoFeed/Rules/version2.dk.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
return array(
'test_url' => 'http://www.version2.dk/artikel/surface-pro-2-fungerer-bedre-til-arbejde-end-fornoejelse-55195',
'body' => array(
'//section[contains(@class, "teaser")]',
'//section[contains(@class, "body")]',
)
);

0 comments on commit ba5ab24

Please sign in to comment.