[jitsi-users] Data URI scheme in images in HTML-IM


#1

Hello

The jitsi client does not support images embedded using the data URI scheme in HTML-IM used in chat. It would be great if it could do so. (It's a very simple URI scheme.)
http://en.wikipedia.org/wiki/Data_URI_scheme#HTML

To test this, you can befriend sensor.learningiot@thingk.me<mailto:sensor.learningiot@thingk.me> for example. You need to notify me (peter.waher@clayster.com<mailto:peter.waher@clayster.com>), so I can approve the request. It's a sensor you can chat with. Just send "html+" to enable HTML, and "??" to perform a large readout. This will return current values, but also historical values, in the form of graphs. Jitsi seems to understand the <img> tag, but does not seem to understand the data URI scheme.

Is it possible for somebody to look at this? In that case, I would mention Jitsi as a recommended tool and demonstrate it in the book I'm currently writing ("Learning Internet of Things"), in the chapter concerning XMPP.

Best regards,
Peter Waher

Example:
[cid:image001.png@01CFAD83.C3B73AC0]


#2

Hey Peter,

First, please do not post the same question on all our mailing lists. This is quite a breach of netiquette. (Also the issues list is not even meant for posting at all). Posting once in dev (or users) is enough.

As for data support: this is not supported natively by the swing HTML renderer so we would need to handle it manually in code. We are more likely to keep that for the day when we can finally finish our chromium embedding as at that point it would come for free.

Emil

···

On 01.08.14, 18:26, Peter Waher wrote:

Hello

The jitsi client does not support images embedded using the data URI
scheme in HTML-IM used in chat. It would be great if it could do so.
(It�s a very simple URI scheme.)

http://en.wikipedia.org/wiki/Data_URI_scheme#HTML

To test this, you can befriend sensor.learningiot@thingk.me
<mailto:sensor.learningiot@thingk.me> for example. You need to notify me
(peter.waher@clayster.com <mailto:peter.waher@clayster.com>), so I can
approve the request. It�s a sensor you can chat with. Just send �html+�
to enable HTML, and �??� to perform a large readout. This will return
current values, but also historical values, in the form of graphs. Jitsi
seems to understand the <img> tag, but does not seem to understand the
data URI scheme.

Is it possible for somebody to look at this? In that case, I would
mention Jitsi as a recommended tool and demonstrate it in the book I�m
currently writing (�Learning Internet of Things�), in the chapter
concerning XMPP.

Best regards,

Peter Waher

Example:

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
https://jitsi.org