Valid Blogger RSS Output

Having trouble getting your blogger rss output to validate because Google botched the tracking code (lack of alt attribute in the tracking image)?

Do what I did, add this to the php page processing the rss feed:

$entry['content'] = substr($entry['content'], 0, -8) . " alt='' />";

This cuts out the closing img and div tag, adds alt, and closes it all again… just pray google doesn’t change it >.>

1 Comment

Leave a Reply

Your email address will not be published.

Required fields are marked *

You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>