[standards-jig] jep-0071 img tag

SEN sendel2000 at hotbox.ru
Thu Feb 5 09:40:41 UTC 2004


No, client must have possible send embed data, becouse I want use this 
for mobile client, and it will simple for use (becose mobile have small 
memory)...
But I think that message must have embed body only defined maxsize (for 
example 10kb)


Richard Dobson wrote:

>>May be, May be...
>>I tink that will correct if client get object in message:
>>
>> <message type='chat' from='src at example.com/client' to='dest at example.com'>
>>      <body>Hello mate :-)</body>
>>      <html xmlns='http://jabber.org/protocol/xhtml-im'>
>>          <body xmlns='http://www.w3.org/1999/xhtml'>
>>              Hello mate <img src='cid:id1'/>
>>          </body>
>>      </html>
>>      <obj xmlns='http://jabber.org/protocol/iobj' cid='id1'
>>    
>>
>type='image/gif' encode='base64'>
>  
>
>>        <body>HfghYGbYHNjklIGBHJ,KIYG=</body>
>>      </obj>
>>  </message>
>>    
>>
>
>No it has already been discussed at the start of it to allow this but it was
>deemed not appropriate by all that spoke up so it was removed (quite rightly
>so I think), you must use file transfer to get the data, so that you can
>cache things and only transfer them once, and file transfer should almost
>always work because you can use IBB as a fallback if you cannot transfer
>directly (if that is why you are wanting to embed the data).
>
>  
>
>>and must support  and this... (default)
>><obj xmlns='http://jabber.org/protocol/iobj' cid='id1'
>>id='552da749930852c69ae5d2141d3766b1'/>
>>    
>>
>
>For simplicity sake this should be the only way it ever needs to be done,
>embeding the data directly was deemed to be bad and unnecessary.
>
>Richard
>
>_______________________________________________
>Standards-JIG mailing list
>Standards-JIG at jabber.org
>http://mailman.jabber.org/listinfo/standards-jig
>  
>





More information about the Standards mailing list