[Standards] Proposed XMPP Extension: Data Element

Rachel Blackman rcb at ceruleanstudios.com
Sat Nov 10 00:05:47 UTC 2007


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'/>

La. :)


-- 
Rachel Blackman <rcb at ceruleanstudios.com>
Trillian Messenger - http://www.trillianastra.com/





More information about the Standards mailing list