Alex Rivera | Logout

How do I add an image to an item in RSS 2.0?

Asked 2009-04-01T12:14:13.860
31

Is there a way to send only an Image with a link and some alt text for each item in an RSS feed?

I looked at the enclosure tag but this is only for videos and music.

Edit
Report

1 Answer

27

The enclosure element can be used to transmit pictures. The RSS 2.0 spec is quite clear about that, saying that the type is a MIME type. It does not say it is restricted to audio or video.

Here's an example: a set of photo feeds from Agence France Presse

answered 2010-10-11T21:33:55.200

Your Answer