Logs for jdev@conference.jabber.org
[00:03:51] * jabberjocke joined the chat.
[00:12:36] * tato left the chat.
[00:12:58] * Maranda joined the chat.
[00:51:07] * waqas left the chat.
[00:56:14] * stpeter left the chat.
[01:05:13] * stpeter joined the chat.
[01:07:36] * Florob left the chat.
[01:15:05] * stpeter left the chat.
[01:44:58] * tato joined the chat.
[01:54:08] * Flow left the chat.
[01:54:13] * Flow joined the chat.
[01:57:26] * KevWalke left the chat.
[02:08:41] * jabberjocke left the chat.
[02:11:25] * Flow left the chat.
[02:42:09] * stpeter joined the chat.
[02:53:04] * stpeter left the chat.
[03:07:06] * Tobias joined the chat.
[03:11:00] * Tobias left the chat.
[03:47:40] * AndreX joined the chat.
[03:49:22] * tato left the chat.
[03:51:23] * AndreX left the chat.
[04:01:01] * deryni left the chat.
[04:08:40] * deryni joined the chat.
[04:37:38] * Philonous left the chat.
[04:37:38] * Philonous joined the chat.
[05:03:09] * Maranda left the chat.
[05:18:12] * uls_ left the chat.
[05:18:45] * uls_ joined the chat.
[05:58:33] * uls_ joined the chat.
[05:58:33] * uls_ left the chat.
[06:06:40] * Asterix joined the chat.
[06:15:33] * Asterix left the chat.
[06:20:15] * MattJ left the chat.
[06:34:49] * ermine joined the chat.
[06:41:19] * Alex joined the chat.
[07:00:11] * Alex left the chat.
[07:06:58] * uls_ left the chat.
[07:07:48] * uls_ joined the chat.
[07:22:31] * Kev joined the chat.
[07:44:42] * Kev left the chat.
[08:08:00] * Asterix joined the chat.
[08:12:17] * 0xAFFE joined the chat.
[08:18:07] * Alex joined the chat.
[08:44:11] * jabberjocke joined the chat.
[08:50:34] * bear left the chat.
[08:54:46] * Lance left the chat.
[09:06:48] * Kev joined the chat.
[09:07:20] * Kev left the chat.
[09:08:51] * Kev joined the chat.
[09:18:44] * uls_ left the chat.
[09:38:03] * Lance joined the chat.
[09:39:03] * edwinm joined the chat.
[09:43:05] * Tobias left the chat.
[09:48:18] * Kev left the chat.
[09:57:21] * Lance left the chat.
[09:59:15] * KevWalke joined the chat.
[10:15:38] * Flow joined the chat.
[10:20:25] * Irdis joined the chat.
[10:21:14] * Tobias joined the chat.
[10:30:14] * Irdis left the chat.
[10:40:24] * Lance joined the chat.
[10:45:15] * Irdis left the chat.
[10:57:23] * Lance left the chat.
[11:01:26] * Irdis joined the chat.
[11:14:53] * KevWalke left the chat.
[11:14:54] * KevWalke joined the chat.
[11:19:36] * timothee.jaussoin joined the chat.
[11:22:56] * timothee.jaussoin joined the chat.
[11:31:10] * Tobias left the chat.
[11:35:29] * timothee.jaussoin left the chat.
[11:36:42] * Tobias joined the chat.
[11:38:01] * Lance joined the chat.
[11:41:51] * Maranda joined the chat.
[12:07:22] * uls_ joined the chat.
[12:13:37] * Maranda left the chat.
[12:14:13] * Maranda joined the chat.
[12:23:09] <> ralphm, and the problem was on my end, more in particular the stream parser (LuaExpat) ditching attributes with sub namespaces
from the header. :/
[12:23:31] <> :-D
[12:23:39] <> (e.g. xmlns:db)
[12:23:56] <> well, those are not really attributes for namespace-enabled parsers
[12:24:09] <> usually they trigger different kinds of events
[12:24:13] <> surely in expat
[12:26:08] <> well I worked around it matching the stream header tag from raw data before it reaches the parser (which isn't exactly pretty
:/ ).
[12:27:41] <> What!
[12:28:11] <> if LuaExpat is like the Python binding, you want to add a handler for StartNamespaceDecl
[12:28:31] <> Though the documentation here seems wrong or incomplete: http://matthewwild.co.uk/projects/luaexpat/manual.html#parser
[12:29:27] <> i.e. I don't see a parameter named 'prefix', but maybe it is the one that's called 'parser' here ??
[12:29:42] <> (compare with http://docs.python.org/2/library/pyexpat.html#xml.parsers.expat.xmlparser.StartNamespaceDeclHandler)
[12:29:54] <> I didn't find it in its API.
[12:30:53] <> Oh wait
[12:30:58] <> callbacks.StartNamespaceDecl = function(parser, namespaceName)
Called when the parser detects an XML namespace declaration with namespaceName. Namespace declarations occur inside start
tags, but the StartNamespaceDecl handler is called before the StartElement handler for each namespace declared in that start
tag.
[12:31:24] <> yeah, but the arguments seem off. Maybe that's a cut/paste error, though.
[12:31:33] <> I suspect the first argument will be the prefix
[12:31:43] <> 'db' in this particular case
[12:32:25] <> followed by the namespace uri
[12:32:31] <> as the second argument
[12:32:33] * Asterix left the chat.
[12:33:00] <> well I can test that, brb.
[12:34:15] <> (apparently all callbacks get the parser as the very first argument, so probably it is arguments #2 and #3)
[12:58:28] * timothee.jaussoin joined the chat.
[13:04:25] <> ralphm, those two callbacks don't seem to work.
[13:06:01] <> ({Start/End}NamespaceDecl that is)
[13:14:06] * timothee.jaussoin left the chat.
[13:22:14] * KevWalke left the chat.
[13:23:43] * jcea joined the chat.
[13:35:51] * stpeter joined the chat.
[13:37:07] <> /me shrugs.
[13:42:09] * Polux joined the chat.
[13:42:14] * Polux left the chat.
[13:50:18] * naw joined the chat.
[14:02:37] * stpeter left the chat.
[14:03:57] * MattJ joined the chat.
[14:12:28] * uls_ left the chat.
[14:17:03] * uls_ joined the chat.
[14:24:08] <> ralphm, thanks for the hint :) sorted. For some reason I couldn't get the test code to work from the Lua interpreter.
[14:25:51] * waqas joined the chat.
[14:26:09] * Flow left the chat.
[14:29:00] * naw left the chat.
[14:40:27] * Maranda left the chat.
[14:47:21] * Darlan joined the chat.
[14:53:47] * Maranda joined the chat.
[14:58:10] * stpeter joined the chat.
[15:01:23] * Maranda left the chat.
[15:01:23] * jabberjocke left the chat.
[15:05:24] * Irdis joined the chat.
[15:05:30] * Maranda joined the chat.
[15:08:21] * Maranda left the chat.
[15:10:09] * Kev joined the chat.
[15:13:52] * waqas left the chat.
[15:22:06] * Maranda joined the chat.
[15:30:43] * timothee.jaussoin joined the chat.
[15:36:45] * MattJ left the chat.
[15:36:47] * Florob joined the chat.
[15:44:44] * bear joined the chat.
[15:45:45] * Maranda left the chat.
[15:50:24] * timothee.jaussoin left the chat.
[15:55:48] * Asterix joined the chat.
[15:55:58] * MattJ joined the chat.
[16:11:14] * Maranda joined the chat.
[16:13:59] * Maranda left the chat.
[16:17:11] * Maranda joined the chat.
[16:22:21] * timothee.jaussoin left the chat.
[16:22:49] * Maranda left the chat.
[16:32:29] * uls_ left the chat.
[16:39:49] * uls_ joined the chat.
[16:49:38] * uls_ left the chat.
[16:49:48] * uls_ joined the chat.
[16:52:34] * deryni left the chat.
[16:57:47] * uls_ left the chat.
[16:58:21] * uls_ joined the chat.
[17:10:16] * 0xAFFE left the chat.
[17:10:39] * Kev left the chat.
[17:11:18] * uls_ left the chat.
[17:16:09] * uls_ joined the chat.
[17:16:49] * edwinm left the chat.
[17:20:49] * uls_ left the chat.
[17:21:15] * Lance left the chat.
[17:21:24] * uls_ joined the chat.
[17:51:18] * uls_ left the chat.
[17:51:29] * uls_ joined the chat.
[17:52:03] * Lance joined the chat.
[18:00:18] * uls_ left the chat.
[18:01:14] * uls_ joined the chat.
[18:01:26] * Alex joined the chat.
[18:01:41] * waqas joined the chat.
[18:04:15] * waqas left the chat.
[18:04:45] * waqas joined the chat.
[18:05:42] * uls_ left the chat.
[18:06:05] * waqas left the chat.
[18:06:07] * waqas joined the chat.
[18:11:17] * waqas left the chat.
[18:11:17] * waqas joined the chat.
[18:11:56] * waqas left the chat.
[18:11:57] * waqas joined the chat.
[18:16:24] * waqas left the chat.
[18:16:27] * waqas joined the chat.
[18:19:40] * waqas left the chat.
[18:19:42] * waqas joined the chat.
[18:20:27] * ermine left the chat.
[18:29:38] * waqas left the chat.
[18:29:39] * waqas joined the chat.
[18:33:45] * waqas left the chat.
[18:33:46] * waqas joined the chat.
[18:34:37] * waqas left the chat.
[18:34:37] * waqas joined the chat.
[18:40:29] * waqas left the chat.
[18:40:31] * waqas joined the chat.
[18:44:08] * waqas left the chat.
[18:44:09] * waqas joined the chat.
[18:44:50] * waqas left the chat.
[18:44:52] * waqas joined the chat.
[18:47:52] * waqas left the chat.
[18:48:06] * waqas joined the chat.
[18:49:53] * waqas left the chat.
[18:49:54] * waqas joined the chat.
[18:51:38] * waqas left the chat.
[18:54:50] * MattJ left the chat.
[18:54:52] * MattJ joined the chat.
[18:58:22] * Tobias left the chat.
[19:01:35] * deryni joined the chat.
[19:02:27] * waqas joined the chat.
[19:07:46] * naw joined the chat.
[19:16:14] * deryni left the chat.
[19:28:53] * Tobias joined the chat.
[19:31:31] * deryni joined the chat.
[19:34:50] * timothee.jaussoin joined the chat.
[19:46:22] * stpeter left the chat.
[19:48:09] * Maranda joined the chat.
[20:00:06] * Maranda left the chat.
[20:30:49] * Neustradamus left the chat.
[20:43:01] * Lance left the chat.
[20:46:40] * Asterix left the chat.
[20:48:02] * Neustradamus joined the chat.
[20:54:18] * Flow joined the chat.
[20:55:50] * Lance joined the chat.
[21:03:08] * naw left the chat.
[21:05:50] * Neustradamus left the chat.
[21:13:03] * Lance left the chat.
[21:20:01] * timothee.jaussoin left the chat.
[21:24:50] * Irdis left the chat.
[21:27:50] * Irdis left the chat.
[21:31:40] * stpeter joined the chat.
[21:32:40] * deryni left the chat.
[21:33:17] * stpeter joined the chat.
[21:37:56] * Flow left the chat.
[21:38:32] * MattJ left the chat.
[21:38:45] * MattJ joined the chat.
[21:40:11] * Maranda joined the chat.
[21:43:08] * Lance joined the chat.
[21:48:20] * stpeter left the chat.
[21:56:03] * Darlan left the chat.
[22:20:58] * Florob left the chat.
[22:31:20] * edhelas joined the chat.
[22:31:50] <> hi everyone :)
[22:32:22] <> I'll try to implement vcard4 in my project
[22:33:22] <> but I don't understand why I can't push directly the vcard to a pep node
[22:42:15] <> edhelas, it's not said anywhere in the xep you can't. The document provides a classic way not using PEP storage and provides
examples using PEP storage.
[22:42:42] <> ok :)
[22:42:52] <> so I'll publish my vcard4 in a PEP node
[22:43:21] <> to dispatch it dinamicaly to my contacts ^^
[22:48:37] <> (all of whom don't have clients supporting vcard4) ;)
[22:48:50] <> But it has to start somewhere :)
[22:52:58] <> please, start implementing it
[23:00:16] <> edhelas: It has been on my todo for a while to write a Prosody plugin which converts back and forth between vcard-temp and
vcard4 on the fly, so user sets one, the other is automatically set as well
[23:00:29] <> yes :)
[23:00:40] <> I'm making the first step
[23:01:11] <> when a user will publish his profile on Movim, the vcard-temp and vcard4 will be published at the same time
[23:01:15] <> Just need to find some time to make it work. I can't recall if stpeter is done with his XSL-based converter, which I was thinking
of porting into the Prosody plugin
[23:02:56] <> ok :=)
[23:03:42] <> Did vcard4 embed the avatar? IIRC I also wanted to integrate the User Avatar XEP in that
[23:04:00] <> waqas: I think it's done, but I haven't done much testing on real data (the XSLT is in XEP-0292)
[23:04:05] <> bbiab
[23:04:34] <> it's a good idea to split the avatar and the reald vcard in two XEP
[23:04:44] <> and publish them in two different PEP nodes
[23:06:48] <> edhelas: XEP-0084: User Avatar
[23:06:57] <> yup
[23:07:16] <> Also, the vCard4 XEP has both data: URLs and http: URLs for photos
[23:07:28] <> It would be interesting to have all that interop'ing
[23:08:55] * Alex left the chat.
[23:10:28] <> vcard4 first test => DONE :D
[23:10:28] * Alex left the chat.
[23:11:17] <> i'll go to bed, see you ;)
[23:11:38] * edhelas left the chat.
[23:13:23] * xnyhps left the chat.
[23:15:55] * xnyhps joined the chat.
[23:19:51] * deryni joined the chat.