Abstract
This proposal introduces a new <graphic> element to Atom, which will work as a general way of embedding images, icons, logos and such in Atom feeds.
Status
Closed
Rationale
In RSS, you can embed logos into feeds with the <image> element. In HTML, you can embed an icon with <link rel="shortcut icon">. In Atom, you don't have a way to embed any graphical elements that are «external» and detached to each entry in the feed.
Proposal
Add a 3.4.5 and 4.13.11 section to the
"Atom Format specification" that explains the following about the <graphic> element:
x.x.x "atom:graphic" Element
-
The "atom:graphic" element is a graphical object usually used to represent a logo or icon for the [[entry|feed]]. It MAY have an attribute @class which indicates what kind of graphic it is. Valid values for @class are 'logo' and 'icon'. It MUST have an attribute @type which says what MIME type the graphical object has, and a @href which is the URI of the object.
Examples
A logo embedded at the feed level, with alternative, nested tags:
<feed>
<graphic class="logo" type="image/svg+xml" href="bigcorp.svg">
<graphic type="image/png" href="bigcorp.png">
BigCorp!
</graphic>
</graphic>
...
</feed>
A simple icon embedded in the entry, with no alternative content (not even alternative text):
<entry> <graphic class="icon" type="image/png" href="bigcorp.png" /> </entry>
Impacts
Nothing
