[Standards] Proposed XMPP Extension: Data Element

Peter Saint-Andre stpeter at stpeter.im
Mon Nov 12 22:01:22 UTC 2007


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:somelongcid at shakespeare.lit'/>

and:

<data cid='somelongcid at shakespeare.lit'
      src='data:image/png;base64,LOTSOFBASE64STUFFHERE'/>

Peter

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20071112/d00ad5fe/attachment.bin>


More information about the Standards mailing list