@@ 953-956 (lines=4) @@ | ||
950 | $feed .= ' <item rdf:about="' . htmlspecialchars($this->items[$i]->link, ENT_QUOTES | ENT_HTML5) . "\">\n"; |
|
951 | //$feed.= " <dc:type>Posting</dc:type>\n"; |
|
952 | $feed .= " <dc:format>text/html</dc:format>\n"; |
|
953 | if (null != $this->items[$i]->date) { |
|
954 | $itemDate = new FeedDate($this->items[$i]->date); |
|
955 | $feed .= ' <dc:date>' . htmlspecialchars($itemDate->iso8601(), ENT_QUOTES | ENT_HTML5) . "</dc:date>\n"; |
|
956 | } |
|
957 | if ('' != $this->items[$i]->source) { |
|
958 | $feed .= ' <dc:source>' . htmlspecialchars($this->items[$i]->source, ENT_QUOTES | ENT_HTML5) . "</dc:source>\n"; |
|
959 | } |
|
@@ 1102-1105 (lines=4) @@ | ||
1099 | if ('' != $this->items[$i]->comments) { |
|
1100 | $feed .= ' <comments>' . htmlspecialchars($this->items[$i]->comments, ENT_QUOTES | ENT_HTML5) . "</comments>\n"; |
|
1101 | } |
|
1102 | if ('' != $this->items[$i]->date) { |
|
1103 | $itemDate = new FeedDate($this->items[$i]->date); |
|
1104 | $feed .= ' <pubDate>' . htmlspecialchars($itemDate->rfc822(), ENT_QUOTES | ENT_HTML5) . "</pubDate>\n"; |
|
1105 | } |
|
1106 | if ('' != $this->items[$i]->guid) { |
|
1107 | $feed .= ' <guid>' . htmlspecialchars($this->items[$i]->guid, ENT_QUOTES | ENT_HTML5) . "</guid>\n"; |
|
1108 | } |