UserPreferences

PaceGraphicElement


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 [WWW]"Atom Format specification" that explains the following about the <graphic> element:

x.x.x "atom:graphic" Element

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

Notes