When I tried validating the feeds (RSS 0.92 and 2.0) at http://feedvalidator.org/check?url=http://nyfiken.org/wp-rss2.php it complained about char-set, saying that the server states US-ASCII and document states UTF-8, the latter being true.
Validator’s help sent me to http://www.w3.org/International/O-HTTP-charset and a quick solution.
On line 9/10 in wp-rss.php and wp-rss2.php I changed
header('Content-type: text/xml', true);
header('Content-type: text/xml; charset=' . $charset, true);
and now the feeds validate. Maybe this simple solution can be incorporated in the code?
- The topic ‘Misfeature/bug in rss feeds’ is closed to new replies.