| pp 6.0: rss feed not valid
The generated rss feed is not valid:
1.) timestamp is used for the pubDate elements instead of the of the RFC 822 format.
To fix this change:
$date = htmlspecialchars($data['date'] );
to:
$date = htmlspecialchars( date('r',$data['date']) );
2.) the author element requires an email address according to the specification.
Example: <author>example@example.org (My name)</author>
Personally, I don't want to include the email addresses their, so I simply deleted the autor element. It's an optional element.
|