Wednesday, June 3, 2009

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 >.>

No comments: