Le samedi 10 novembre 2007, Rachel Blackman a écrit : > 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. :)
personally, i'd prefer <img src='data:image/png;base64,LOTSOFBASE64STUFFHERE'/> So it can be passed directly to the html engine. (My client already support receiving such image) And it is shorter and simpler, also.
signature.asc
Description: This is a digitally signed message part.
