@@ -31,7 +31,7 @@ |
||
31 | 31 | public function render() |
32 | 32 | { |
33 | 33 | $xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">', |
34 | - LIBXML_NOERROR | LIBXML_ERR_NONE | LIBXML_ERR_FATAL); |
|
34 | + LIBXML_NOERROR|LIBXML_ERR_NONE|LIBXML_ERR_FATAL); |
|
35 | 35 | |
36 | 36 | foreach ($this->channels as $channel) { |
37 | 37 | $toDom = dom_import_simplexml($xml); |
@@ -198,7 +198,7 @@ |
||
198 | 198 | public function asXML() |
199 | 199 | { |
200 | 200 | $xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8" ?><channel></channel>', |
201 | - LIBXML_NOERROR | LIBXML_ERR_NONE | LIBXML_ERR_FATAL); |
|
201 | + LIBXML_NOERROR|LIBXML_ERR_NONE|LIBXML_ERR_FATAL); |
|
202 | 202 | $xml->addChild('title', $this->title); |
203 | 203 | $xml->addChild('link', $this->url); |
204 | 204 | $xml->addChild('description', $this->description); |
@@ -171,7 +171,7 @@ |
||
171 | 171 | public function asXML() |
172 | 172 | { |
173 | 173 | $xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8" ?><item></item>', |
174 | - LIBXML_NOERROR | LIBXML_ERR_NONE | LIBXML_ERR_FATAL); |
|
174 | + LIBXML_NOERROR|LIBXML_ERR_NONE|LIBXML_ERR_FATAL); |
|
175 | 175 | $xml->addChild('title', $this->title); |
176 | 176 | $xml->addChild('link', $this->url); |
177 | 177 | if ($this->pubDate !== null) { |