James M Snell wrote:
Robert Yates wrote:
<?xml version="1.0"?>
<entry xmlns="http://www.w3.org/2005/Atom"
xmlns:rme="http://robubu.com/robmediaextensions/">
<title>My Cat</title>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>2003-12-13T18:30:02Z</updated>
<author><name>Rob</name></author>
<content type="image/png" src="http://example.org/media/img123.png"/>
<link rel="related" type="image/png" rme:size="small"
href="http://example.org/media/img123sm.png"/>
<link rel="related" type="image/png" rme:size="medium"
href="http://example.org/media/img123md.png"/>
<link rel="related" type="image/png" rme:size="large"
href="http://example.org/media/img123lg.png"/>
<link rel="related" type="image/png" rme:size="original"
href="http://example.org/media/img123.png"/>
<link rel="edit" href="http://example.org/edit/first-post.atom" />
<link rel="edit-media" type="image/png"
href="http://example.org/edit/img123.png" />
</entry>
Wouldn't that be link/@rel="alternate" instead of @rel="related"?
problem is that RFC4287 states
atom:entry elements MUST NOT contain more than one atom:link
element with a rel attribute value of "alternate" that has the
same combination of type and hreflang attribute values.
so how should alternate representations of the same type (i.e. png) be
indicated in the entry
Rob