Add more xmlns
pontikis opened this issue · comments
Christos Pontikis commented
It would be useful to add more xmlns. I suggest
this
if($this->version == Feed::RSS2) {
$out .= '<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">';
}
to become
$out .= '<rss version="2.0"';
$out .= 'xmlns:content="http://purl.org/rss/1.0/modules/content/" ';
$out .= 'xmlns:wfw="http://wellformedweb.org/CommentAPI/" ';
$out .= 'xmlns:dc="http://purl.org/dc/elements/1.1/" ';
$out .= 'xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">';
Christos Pontikis commented
Great! this is better, of course.