Rachel Blackman wrote:
> 
> On Nov 9, 2007, at 3:55 PM, Peter Saint-Andre wrote:
> 
>> Peter Saint-Andre wrote:
>>> XMPP Extensions Editor wrote:
>>>> The XMPP Extensions Editor has received a proposal for a new XEP.
>>>>
>>>> Title: Data Element
>>>>
>>>> Abstract: This document specifies a method for including small bits
>>>> of binary data in an XMPP stanza via the data: URL scheme.
>>>>
>>>> URL: http://www.xmpp.org/extensions/inbox/data-element.html
>>>
>>> See, that was easy, wasn't it? ;-)
>>
>> And there's always http://wiki.jabber.org/index.php/XHTML_Inband_Images
>> too (I haven't looked at that in a while, but we might want a way to
>> refer to the <data/> element from within the same stanza via a sid of
>> some kind).
> 
> In the XHTML-IM body:
> 
> <img cid='1'/>
> 
> ...and then within the same message stanza...
> 
> <data cid='1' src='data:image/png;base64,LOTSOFBASE64STUFFHERE'/>

I don't see an attribute 'cid' in the HTML/XHTML specs. I think we'd
need to do this:

<img src='cid:[email protected]'/>

and:

<data cid='[EMAIL PROTECTED]'
      src='data:image/png;base64,LOTSOFBASE64STUFFHERE'/>

Peter

-- 
Peter Saint-Andre
https://stpeter.im/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to