images in feed.xml file

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
geoffmuskett
Forum Newbie
Posts: 22
Joined: Sat Feb 27, 2010 3:09 pm

images in feed.xml file

Post by geoffmuskett »

Hi all,

I've set up a custom static RSS feed file and linked it up with feedburner. When I update it with a new item people get the email as scheduled with title, date, description and link. But this is for a photography site, so I need an image to accompany the text with an image.

I have an image in the channel, which works but doesn't transfer to the email. And feedburner allows you to add a logo image but thats not ideal changing it for each email. I thought it would just be a case of adding <image>to each <item>, but it doesn't validate - or work!

Code: Select all


<item>
	<title><![CDATA[test 3]]></title>
	<pubDate>Fri, 17 Sep 2010 09:21:36 GMT</pubDate>			
	<link>http://www.karlmackie.com/blog</link>
	<description><![CDATA[test 3 description]]></description>
            <image>
            <title>test 3 title</title>
            <url>http://www.karlmackie.com/content/images/blog-images/test.jpg</url>
            <link>http://www.karlmackie.com/blog</link>
            </image>
</item>		  

Anyone know how to get this working?

Thanks,

Geoff
Post Reply