There is an unexpected reply located in 
http://www.imc.org/atom-protocol/mail-archive/msg07722.html.

Quote:

<atom:content type="image/svg+xml">...</atom:content>
  I don't know how to display such a content within a widget, however
I know there is some program in the "registry" (Windows Registry,
Freedesktop's shared MIME database, OS X configuration, etc.) which is
able to open it; so I whot the summary (if any) and provide "Open
with..." and "Save as..." buttons. I couldn't do that with an
xhtml:object embeded in an <atom:content type="xhtml"/> (or eventually
type="html").

It is almost what I want aggregators to do actually. However, web-based 
aggregators may have difficulties in handling it.

Currently, the way to provide alternate format or text... seems to be the 
followings.

For examples:

<summary type="xhtml">
  <div xmlns="http://www.w3.org/1999/xhtml";>
    <object type="image/svg+xml" 
data="http://www.w3.org/Icons/valid-svg11-v.svg";>
      <!-- alternate format, alternate text -->
      <img src="http://www.w3.org/Icons/valid-svg11.png"; alt="Valid SVG 1.1" />
    </object>
  </div>
</summary>
<content type="image/svg+xml" src="http://www.w3.org/Icons/valid-svg11-v.svg"; />

<summary type="xhtml">
  <div xmlns="http://www.w3.org/1999/xhtml";>
    <object type="application/pdf" 
data="http://www.w3.org/TR/xhtml11/xhtml11.pdf";>
      <!-- alternate format -->
      <object type="text/html" data="http://www.w3.org/TR/xhtml11/";>
        <!-- alternate text -->
        <p>...</p>
      </object>
    </object>
  </div>
</summary>
<content type="application/pdf" src="http://www.w3.org/TR/xhtml11/xhtml11.pdf"; 
/>

Anyway, no one can ensure that aggregators will display the summary when they 
are able to show the content. Also, I would like to repeat again, my examples 
are not the correct use of summary.

If you have any comment, please reply to atom-syntax@imc.org

Franklin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of A. Pagaltzis
Sent: Wednesday, November 22, 2006 04:07
To: atom-syntax@imc.org
Subject: Re: The "src" attribute of atom:content


* Tse Shing Chi (Franklin/Whale) <[EMAIL PROTECTED]> [2006-11-20 11:15]:
> That's the problem. Since there is no defined fallback
> mechanism, the actual mechanism varies from application to
> application. Authors of Atom feeds cannot expect what feed
> readers will do, and they are not given a chance to provide
> alternate content in a different format.

I agree, after all the discussion, that this an aspect of Atom
that could have been better. I doubt anyone forsaw any need for
this at the time.

For the time being, you’ll have to make do with using
atom:summary as alternative text.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



Reply via email to