aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/VproTegenlichtBridge.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/VproTegenlichtBridge.php b/bridges/VproTegenlichtBridge.php
index 3a71f9f0..2b5e5d20 100644
--- a/bridges/VproTegenlichtBridge.php
+++ b/bridges/VproTegenlichtBridge.php
@@ -19,13 +19,12 @@ class VproTegenlichtBridge extends BridgeAbstract
$dom = getSimpleHTMLDOM($url)
or returnServerError('No contents received!');
$dom = $dom->find('ul#browsable-news-overview', 0);
-
$dom = defaultLinkTo($dom, $this->getURI());
foreach ($dom->find('li') as $article) {
$a = $article->find('a.complex-teaser', 0);
$title = $article->find('a.complex-teaser', 0)->title;
$url = $article->find('a.complex-teaser', 0)->href;
- $author = "VPRO tegenlicht";
+ $author = 'VPRO tegenlicht';
$content = $article->find('p.complex-teaser-summary', 0)->plaintext;
$timestamp = strtotime($article->find('div.complex-teaser-data', 0)->plaintext);