mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-22 22:46:53 +00:00
Ouch, sorry.
This commit is contained in:
parent
2ff422d312
commit
78a391c717
@ -30,9 +30,9 @@ class MrssFormat extends FormatAbstract {
|
||||
$itemUri = isset($item['uri']) ? $this->xml_encode($item['uri']) : '';
|
||||
$itemTimestamp = isset($item['timestamp']) ? $this->xml_encode(date(DATE_RFC2822, $item['timestamp'])) : '';
|
||||
$itemContent = isset($item['content']) ? $this->xml_encode($this->sanitizeHtml($item['content'])) : '';
|
||||
$entryEnclosures = "";
|
||||
foreach($item['enclosures'] as $enclosure)
|
||||
$entryEnclosures .= "<enclosure url=\"".xml_encode($enclosure)."\"/>";
|
||||
$entryEnclosures = "";
|
||||
foreach($item['enclosures'] as $enclosure)
|
||||
$entryEnclosures .= "<enclosure url=\"".$this->xml_encode($enclosure)."\"/>";
|
||||
$items .= <<<EOD
|
||||
|
||||
<item>
|
||||
|
Loading…
Reference in New Issue
Block a user