Closed afanjul closed 7 years ago
@afanjul Currently, we don't interpret enclosures at all. They are just enclosures not, for example, interpreted as "audio" or "video" or "images". I would have no objection to a pull request adding that ability for images, though. I would expect an implementation to use the type
attribute of the enclosure. I probably wouldn't use the url
as the file suffix is not reliable.
Hi there, I'm working with a RSS 2.0 feed, and I would like to use images in my items, I have used the "enclosure" approach (adding a enclosure tag with the url, type and length) but the image object is not filled.
Reading the code, in line 891, you set the enclosure array, but after that in line 1046 you dont set the image object unless there is itunes, media, or g_image_link, so...
is it not sufficient enough to add an enclosure with an image url to our items? otherwise if I need another "media/itunes/g_image/etc" tag... what is the enclosure for?
thanks in advance Alex