Thoughts on http://doomsong.co.uk/extensions/render/pubsubforms.html welcome.
Zashhas left
Tobiashas joined
Lance
Kev: i'm usually not a fan of using urns+parameters as node ids, but this seems reasonable
Kev
I'm open to a better formulation if you have one.
Lance
Kev: nope, this is probably the best option. so long as everything is static, no objections
Kev
"Everything is static"?
Kev
urn:xmpp:pubsub-forms:template:0 and s/template/submitted/ are static.
Lance
i remember the commenting via pubsub did weird things with urns+parameters
Kev
Then the 'query part' is basically the identifier of the particular form that's published there.
Kev
There's no magic, the query part itself is opaque.
Kev
Or, at least, this spec doesn't say otherwise. If individual applications want to work magic using it, I don't much care (mine doesn't).
Lance
Kev: right. i'm just remembering things like: coffeetalk/comments?order=-created
Kev
Ah. No such magic here.
Lance
as long as things are ok to be done via a hash lookup, im happy
Kev
'Things'? And done by whom?
Lance
for implementations. usually a hash lookup to fetch contents for a node id
Kev
You mean for the pubsub service?
Kev
Or for client caching?
Lance
yes, and the associated disco parts
Kev
Either way, yes, this is an entirely standard xep60 service.
Lance
+1
Lance
hrm. i actually think i have some upcoming use cases for this..
Kev
Marvellous.
Kev
In terms of verbiage, how much more do you think is needed before we could publish it?
Kev
I'm torn between duplicating examples out of xep60 or not. It being only a few lines as it is at the moment is appealing :)
Lance
yeah, always need the examples
Lance
even though this is nice and concise atm
Kev
I was, if I'm honest, expecting that.
Lance
there are two things that seem would be nice to have: a specific disco node that will list these templates instead of having to search through all nodes, and mentioning that the name attribute in disco would be useful to name the templates
Kev
I'm trying to avoid requiring a custom service for this, though :/
Kev
ISTM if we /can/ build this straight out of xep60 without much inconvenience, it'd be better to do so.
Lancenods
Lance
have you implemented this already?
Kev
Not exactly, but more or less.
Lance
what kind of UI/UX did you have?
Lance
or rather, how did people find the form they need to fill out?
Tobias
XMPP URIs? :)
Kev
Combobox of available forms, if I understand the question correctly.