XMPP Council - 2014-03-27


  1. Kev

    Thoughts on http://doomsong.co.uk/extensions/render/pubsubforms.html welcome.

  2. Lance

    Kev: i'm usually not a fan of using urns+parameters as node ids, but this seems reasonable

  3. Kev

    I'm open to a better formulation if you have one.

  4. Lance

    Kev: nope, this is probably the best option. so long as everything is static, no objections

  5. Kev

    "Everything is static"?

  6. Kev

    urn:xmpp:pubsub-forms:template:0 and s/template/submitted/ are static.

  7. Lance

    i remember the commenting via pubsub did weird things with urns+parameters

  8. Kev

    Then the 'query part' is basically the identifier of the particular form that's published there.

  9. Kev

    There's no magic, the query part itself is opaque.

  10. 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).

  11. Lance

    Kev: right. i'm just remembering things like: coffeetalk/comments?order=-created

  12. Kev

    Ah. No such magic here.

  13. Lance

    as long as things are ok to be done via a hash lookup, im happy

  14. Kev

    'Things'? And done by whom?

  15. Lance

    for implementations. usually a hash lookup to fetch contents for a node id

  16. Kev

    You mean for the pubsub service?

  17. Kev

    Or for client caching?

  18. Lance

    yes, and the associated disco parts

  19. Kev

    Either way, yes, this is an entirely standard xep60 service.

  20. Lance

    +1

  21. Lance

    hrm. i actually think i have some upcoming use cases for this..

  22. Kev

    Marvellous.

  23. Kev

    In terms of verbiage, how much more do you think is needed before we could publish it?

  24. 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 :)

  25. Lance

    yeah, always need the examples

  26. Lance

    even though this is nice and concise atm

  27. Kev

    I was, if I'm honest, expecting that.

  28. 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

  29. Kev

    I'm trying to avoid requiring a custom service for this, though :/

  30. Kev

    ISTM if we /can/ build this straight out of xep60 without much inconvenience, it'd be better to do so.

  31. Lance nods

  32. Lance

    have you implemented this already?

  33. Kev

    Not exactly, but more or less.

  34. Lance

    what kind of UI/UX did you have?

  35. Lance

    or rather, how did people find the form they need to fill out?

  36. Tobias

    XMPP URIs? :)

  37. Kev

    Combobox of available forms, if I understand the question correctly.

  38. Kev

    But I've not rolled anything out yet.