mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[MondeDiploBridge] Fix blog article uri (#1961)
This commit is contained in:
parent
bcecd70df7
commit
b4f809aa44
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class MondeDiploBridge extends BridgeAbstract {
|
|||
$title = $element->find('h3', 0)->plaintext;
|
||||
$datesAuteurs = $element->find('div.dates_auteurs', 0)->plaintext;
|
||||
$item = array();
|
||||
$item['uri'] = self::URI . $element->href;
|
||||
$item['uri'] = urljoin(self::URI, $element->href);
|
||||
$item['title'] = $this->cleanText($title) . ' - ' . $this->cleanText($datesAuteurs);
|
||||
$item['content'] = $this->cleanText(str_replace(array($title, $datesAuteurs), '', $element->plaintext));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue