-
Martin
Hey, I wonder how I should determine that files.mdosch.de is the upload component in the following reply. Shouldn't there also be an "✎ -
Martin
Hey, I wonder how I should determine that files.mdosch.de is the upload component in the following reply. Shouldn't there also be a name='HTTP File Upload' in the reply? ✏
-
Martin
<iq id='9a012720-f6684ac1-c194bca9' type='result' to='go-sendxmpp@mdosch.de/test' from='mdosch.de'><query xmlns='http://jabber.org/protocol/disco#items'><item jid='files.mdosch.de'/><item jid='chat.mdosch.de'/><item jid='proxy.mdosch.de'/></query></iq>
-
Ge0rG
Martin: you do disco#info on each of the items
-
jonas’
the name is irrelevant in either case
-
jonas’
you need to disco#info to discover the features, as Ge0rG said
-
Martin
Ok, thanks.
-
Ge0rG
Martin: and then there is a <identity category='store' type='file' /> thing and a feature
-
Martin
Looks good, thanks.
-
Martin
http://jabber.org/protocol/disco#items'/✎ -
Martin
<iq id='048c76c7-345c4abf-644d0920' type='result' to='go-sendxmpp@mdosch.de/test' from='files.mdosch.de'><query xmlns='http://jabber.org/protocol/disco#info'><identity type='file' name='HTTP File Upload' category='store'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='urn:xmpp:http:upload:0'/><feature var='urn:xmpp:http:upload'/><x type='result' xmlns='jabber:x:data'><field type='hidden' var='FORM_TYPE'><value>urn:xmpp:http:upload:0</value></field><field type='text-single' var='max-file-size'><value>104857600</value></field></x><x type='result' xmlns='jabber:x:data'><field type='hidden' var='FORM_TYPE'><value>urn:xmpp:http:upload</value></field><field type='text-single' var='max-file-size'><value>104857600</value></field></x></query></iq> ✏
-
Ge0rG
XML is much easier to parse when it's indented and colorized.
-
flow
lies!
-
Ge0rG
English is much easier to parse if it doesn't contain ambiguous words.
-
marc0s
hi, what would be the way for a client whose user is member of a muc to have available the different join/leave messages, even for when she's not present at the room? as I see it, there's no way right now
-
marc0s
the goal is to pretty print messages of the type `Alice left the group`/`Bob joined the group` along the history fetched from mam
-
Martin
> XML is much easier to parse when it's indented and colorized. Sorry, I just had the raw output at hand.
-
Ge0rG
Martin: you need a plugin that will XHTML-IM syntax-highlight code
-
Ge0rG
also `xmllint --format`
-
Martin
Ugh
-
Martin
I have bad memorys of XHTML im.
-
Ge0rG
marc0s: there is no way to do that yet.
-
Ge0rG
marc0s: if it's a private room and MAM is used, being online/offline isn't as important as being a member of the room
-
marc0s
Ge0rG, good point. It's a private room as well as a private instance, so _maybe_ logging the affiliation changes (with a server-side mod) into the archive is Not That Bad™
-
Ge0rG
marc0s: yup
-
ali
nnnnn
-
lovetox
marc0s, there is something easier
-
lovetox
just display all members in the groupchat roster
-
lovetox
so a user will always see if someone is not there anymore if he looks at the roster
-
lovetox
no need for the join/left stuff
-
lovetox
hm though affiliation changes logged as message would be nice
-
lovetox
but its a presence, too bad