Whenever I see images in an RSS feed, they are embedded in CDATA, rather than surrounded by tags.
In my feed, I would like the images to show up without doing that.
Whether in the browser, or a feed reader (Bloglines) or through FeedBurner, the following structure does not show images, although it is valid RSS. Does anyone have experience with this?
<item> <category>Viewbook</category> <title>Widget</title> <description>Learn more about our widgets.</description> <link>http://www.widget.com/Default.aspx</link> <image> <url>http://www.widget.com/images/thumb.gif</url> <title>Widget</title> <link>http://www.widget.com/Default.aspx</link> <description>Learn more about our widgets.</description> </image> </item>
Now, while the content of your RSS feed may include images, the first image or featured image doesn't usually make it through to the feed readers.
An RSS feed is a file that contains a summary of updates from a website, often in the form of a list of articles with links. RSS stands for Really Simple Syndication, and it offers an easy way to stay up to date on new content from websites you care about.
On Colonol Sponsz' hint, I researched:
There's no image tag for items, only for the channel. So you have to do it via the CDATA tag.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With