mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-21 17:15:25 +03:00
parent
d38cd05bea
commit
ca667d731c
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue