Skip to content

Commit

Permalink
add moar test urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Strubbl committed Feb 21, 2016
1 parent 3029b22 commit f561bdf
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/der-postillon.com.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@
//$config['replace'] = array("");

$config['use_utf8'] = false;
?>
$config['test_urls'] = array("http://www.der-postillon.com/2016/02/sonntagsfrage-glauben-sie-dass-die_21.html",
"http://www.der-postillon.com/2016/02/lg-electronics-verbietet-verwendung-von.html"
);
?>
1 change: 1 addition & 0 deletions config/dilbert.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
$config['url'] = "http://dilbert.com/feed";
$config['base_url'] = "http://dilbert.com";
$config['content'] = array("#<div class=\"img-comic-container\">(.*)<meta itemprop=\"isFamilyFriendly\"#Uis", 1);
$config['test_urls'] = array("http://dilbert.com/strip/2016-02-21", "http://dilbert.com/strip/2016-02-15");

?>
1 change: 1 addition & 0 deletions config/nachdenkseiten.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@

$config['search'] = array("#<small>\s*<span class=\"upTop\">.*</small>#Uis");
$config['replace'] = array("");
$config['test_urls'] = array("http://www.nachdenkseiten.de/?p=31435", "http://www.nachdenkseiten.de/?p=31365");

?>
1 change: 1 addition & 0 deletions config/pro-linux.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
"",
""
);
$config['test_urls'] = array("http://www.pro-linux.de/-0h215ad0", "http://www.pro-linux.de/-0h215ae7");

?>
3 changes: 3 additions & 0 deletions config/rus-cert.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
$config['url'] = "http://cert.uni-stuttgart.de/ticker/rus-cert.xml";
$config['base_url'] = "http://cert.uni-stuttgart.de";
$config['content'] = array("#<h1>RUS-CERT-Meldung</h1>(.*)<P><B>Hinweis</B><BR>#Uis", 1);
$config['test_urls'] = array("https://cert.uni-stuttgart.de/ticker/article.php?mid=1740",
"https://cert.uni-stuttgart.de/ticker/article.php?mid=1728"
);

?>
3 changes: 3 additions & 0 deletions config/telepolis.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
#$config['split'] = array("#<a href=\"([^\"]*)\" class=\"page next\" rel=\"next\">Nächste Seite</a>#Uis", 1); #split does not work here due to crippled website. we would need guid and 1st match here to create link to second page
array_push($config['search'], "#<span class=\"vcard\" id=.*</span>\s*</div>#Uis");
array_push($config['replace'], "");
$config['test_urls'] = array("http://www.heise.de/tp/artikel/47/47452/1.html",
"http://www.heise.de/tp/news/Erdgas-EU-Kommission-will-Notfallplaene-3112645.html"
);

?>

0 comments on commit f561bdf

Please sign in to comment.