RSS feed won’t validate
-
I’ve read a lot of other posts about this topic, but I haven’t been able to find my problem specifically. When I run the feedvalidator.org it tells me that Line 1 of my code for RSS isn’t well formed. Which file do I need to edit, and how do I fix this? Here’s what I’m getting from feedvalidator.org, and the first few lines of the code, which definitely isn’t the beginning of my wp-rss2.php file:
Sorry
This feed does not validate.
line 1, column 30: XML parsing error: <unknown>:1:30: XML declaration not well-formed [help]
<?xml version=”1.0″ encoding=”‘.get_settings(‘blog_charset’).'”?>
^
Source: https://eric-carlson.net/index.php?feed=rss2
01. <?xml version=”1.0″ encoding=”‘.get_settings(‘blog_charset’).'”?>
02. <!– generator=”wordpress/2.0.3″ –>
03. <rss version=”2.0″
04. xmlns:content=”https://purl.org/rss/1.0/modules/content/”
05. xmlns:wfw=”https://wellformedweb.org/CommentAPI/”
06. xmlns:dc=”https://purl.org/dc/elements/1.1/”
07. >
- The topic ‘RSS feed won’t validate’ is closed to new replies.