I've been wanting to do the same thing for link elements. Let's propose
a single solution:
<entry>
<x:logo type="{media-type}">{url}</x:logo>
<x:icon type="{media-type}">{url}</x:icon>
<link>
<x:logo type="{media-type}">{url}</x:logo>
<x:icon type="{media-type}">{url}</x:icon>
</link>
</entry>
Both elements should follow the exact same rules as the existing
atom:logo and atom:icon elements.
- James
Henry Story wrote:
I'd like to propose an extension that would allow something very much
like
icon and logo to be added to an entry, the way it currently is
allowed on a feed.
I have been publishing entries like this for over a year now [1], and
so has
James Gosling [2], and other users of BlogEd. It would be really nice
to keep
this semantic information in the feed somehow.
Perhaps something like:
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Example Feed</title>
<link href="http://example.org/"/>
<updated>2003-12-13T18:30:02Z</updated>
<author>
<name>John Doe</name>
</author>
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
<logo>./Image1-large.jpeg</logo>
<icon>./Image1-small.jpeg</icon>
<entry>
<title>Atom-Powered Robots Run Amok</title>
<ext:logo>./Image5-large.jpeg</logo>
<ext:icon>./Image5-small.jpeg</icon>
<link href="http://example.org/2003/12/13/atom03"/>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>2003-12-13T18:30:02Z</updated>
<summary>Some text.</summary>
</entry>
</feed>
Though from what I have said in other posts about relative uris in
extension elements I suppose it would be better to have a new link type.
Any ideas?
Henry
[1] http://bblfish.net/blog/
http://blogs.sun.com/roller/page/bblfish/
[2] http://blogs.sun.com/roller/page/jag/