James Snell
2010-10-13 16:59:06 UTC
Ok, this is something that has bugged me for quite a white... the atom:icon
and atom:logo elements are terribly underspecified as just a simple IRI.
Those these really should be link objects. What I'd like to propose is a
deprecation of those elements in favor of <link rel="icon" href="..." /> and
<link rel="image" href="..." />. The icon and image rel attributes would be
added to the registry of link relations...
So instead of..
<feed>
<icon>Loading Image...
</icon>
...
</feed>
It would be...
<feed>
<link rel="icon" href="http://.../image.jpg" type="image/jpeg" />
...
</feed>
The nice thing about this approach is that it does not actually require any
changes to the spec. The icon and image rel values would be added to the
registry and implementations would need to be modified to look for them as
an alternative to the icon and logo elements.
Thoughts?
and atom:logo elements are terribly underspecified as just a simple IRI.
Those these really should be link objects. What I'd like to propose is a
deprecation of those elements in favor of <link rel="icon" href="..." /> and
<link rel="image" href="..." />. The icon and image rel attributes would be
added to the registry of link relations...
So instead of..
<feed>
<icon>Loading Image...
...
</feed>
It would be...
<feed>
<link rel="icon" href="http://.../image.jpg" type="image/jpeg" />
...
</feed>
The nice thing about this approach is that it does not actually require any
changes to the spec. The icon and image rel values would be added to the
registry and implementations would need to be modified to look for them as
an alternative to the icon and logo elements.
Thoughts?