mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-22 22:46:53 +00:00
fix indentation.
This commit is contained in:
parent
78a391c717
commit
2cc0c6663c
@ -26,9 +26,9 @@ class AtomFormat extends FormatAbstract{
|
||||
$entryUri = isset($item['uri']) ? $this->xml_encode($item['uri']) : '';
|
||||
$entryTimestamp = isset($item['timestamp']) ? $this->xml_encode(date(DATE_ATOM, $item['timestamp'])) : '';
|
||||
$entryContent = isset($item['content']) ? $this->xml_encode($this->sanitizeHtml($item['content'])) : '';
|
||||
$entryEnclosures = "";
|
||||
foreach($item['enclosures'] as $enclosure)
|
||||
$entryEnclosures .= "<link rel=\"enclosure\" href=\"".$this->xml_encode($enclosure)."\"/>";
|
||||
$entryEnclosures = "";
|
||||
foreach($item['enclosures'] as $enclosure)
|
||||
$entryEnclosures .= "<link rel=\"enclosure\" href=\"".$this->xml_encode($enclosure)."\"/>";
|
||||
$entries .= <<<EOD
|
||||
|
||||
<entry>
|
||||
|
Loading…
Reference in New Issue
Block a user