Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > RSS 2.0 and Images

Reply
Thread Tools

RSS 2.0 and Images

 
 
parksch2@hotmail.com
Guest
Posts: n/a
 
      02-28-2005
Does anyone currently use image files in the <enclosure> tag on the
item level in RSS 2.0? I have summary images associated with each item
that I would like to put in my RSS feed. I tried to test it out on a
few RSS Readers and it didn't work so I'm wondering if this is correct.

Thanks in advance!

 
Reply With Quote
 
 
 
 
Andy Dingley
Guest
Posts: n/a
 
      03-01-2005
It was somewhere outside Barstow when http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:

>Does anyone currently use image files in the <enclosure> tag on the
>item level in RSS 2.0?


Probably, but not me.

There's no clear way to include images in an RSS <item> - no matter
which version (This is a bad mistake in all versions, IMHO).

As a result, there are several ad hoc ways of doing it, but no clear
standardisation. You really have to make some big assumptions here
about how the clients will interpret your feeds.

I've even seen such kludges (Yahoo do this on inbound feeds) as
re-cycling the <image> element on the _channel_. This was originally
specced as a tiny "channel ID" icon, and would be pretty static. Yahoo
use it for content though - they expect that the "image for the first
item" will be referenced here, changing for each new item.

IMHO (and as I detest 2.0, then I'm not a good person to ask) then
<enclosure> isn't a good way to do this. It's intended (sic) for
content that is "outside" the core of the item's description.
Widespread usage of "newsfeeds" is such that a single image has a
status more significant than this and there really ought to be better
explicit support for it in RSS.
--
Smert' spamionam
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two ways to generate RSS - rss/maker and rss/2.0 - which is better? Jonathan Groll Ruby 1 06-27-2009 03:53 AM
Post RSS feed w/o RSS-to-Javascript.com Scott Gordo HTML 5 08-29-2006 01:34 AM
is RSS 2.0 still RSS 2.0 if we add our own unique tags to it? Jake Barnes XML 1 11-14-2005 01:54 AM
RSS Feed - need an Idiot's Guide to RSS News on my website teach_me6@hotmail.com HTML 5 02-25-2005 11:01 AM
Searches in multiple RSS feeds -> new rss feed Motta XML 1 06-09-2004 10:55 PM



Advertisments