#7341 closed enhancement (fixed)
Image enclosures for the photo directory feed
Reported by: | cagrimmett | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Photo Directory | Keywords: | |
Cc: |
Description
The Photo Directory feed (https://wordpress.org/photos/feed/) is primarily for photos, so it makes sense to include an <enclosure> element for the images as a sub-element of <item>. It is kind of like a podcast but for photos.
More details on the enclosure element: https://cyber.harvard.edu/rss/rss.html#ltenclosuregtSubelementOfLtitemgt
It should include the url, length in bytes, and MIME type.
This was suggested by [Dave Winer](http://scripting.com/), author of the RSS 2.0 spec.
Change History (5)
Note: See
TracTickets for help on using
tickets.
Seems reasonable. A lot of documentation for the tag are quite old. It seems adding the
enclosure
tag is all that is needed, as the existing output benefits users from an accessibility point of view. My only concern is if feed readers will duplicate the image when being viewed.Existing feed entry:
Modified feed entry to include
enclosure
(which is the only change):