There was a lot of debate on this when we specced this, but consensus was that a single element made the most sense.
ralphm
Treating a single thing is easier than multiple things that belong together somehow. If you need additional grouping, you can use a wrapper element.
Tobias
so the recommendation is to do <item><entry><x>here the two elements</x><entry></item>
ralphm
Yeah. Do you have a concrete use case for multiple elements?
ralphm
Actually, <entry/> is your wrapper, and x might appear twice.
intosihas joined
Alexhas joined
Tobias
see the conversation of goffi and myself yesterday...the idea was to attach info to a pubsub atom item about the images mentioned in the item https://q.zash.se/5e4d0b8702c3.txt
Tobias
so that a receiver would get further hints where to fetch the image ni:///sha3-256;wqfDv8OGw7jCvx7Dl2ZRw4FHVsKgYcOWYsO14oKsw79Nw6Q7ScO64oCaw5gKS-KCrMO4Q0o from
Tobias
but since the new stanza isn't part of atom i'd have to create a new entry type, that allows atom and other children
goffi
ralphm: indeed the issue there is that entry is from atom namespace, while <reference> and <media-sharing> are XMPP
goffi
and XEP-0277 already use <entry> as item child
Sonnyhas left
ralphm
Why not include the meta-data inside the Atom element document?
ralphm
Atom allows for arbitrary child elements
Tobias
it does? that would work for me
Tobias
goffi, what's your opionion on that?
goffi
I didn't knew it allows arbitraty element, in this case it works for me to
Sonnyhas joined
Tobias
great :)
goffi
https://tools.ietf.org/html/rfc4287#section-6.1
goffi
neat
goffi
thanks ralphm, didn't knew that
Tobias
ralphm, thx for the hint
ralphm
https://tools.ietf.org/html/rfc4287#section-4.1.2
ralphm
Right
Sonnyhas left
Sonnyhas joined
Ge0rG
I remember another usecase for multiple items was concurrent update of bookmarks
ralphm
The trouble with concurrent updates or batching is that error handling becomes more complex. This is why batch functionality has been removed in various parts of XEP-0060.
ralphm
If you still want that, you can handle it in your application-specific code.
Ge0rG
it shouldn't be too hard to edit different items from different clients. but if everything is stored in the same item, race conditions have a more severe effect.
ralphm
That's more a problem with how bookmarks work, rather that PubSub itself
daurnimatorhas left
daurnimatorhas joined
moparisthebesthas joined
goffi
Ge0rG, ralphm: we (with edehlas and chris deering) have started to work on a new protoXEP for bookmarks, which would actually be a general list of uri, you can check https://lite5.framapad.org/p/OlHwr5GBlY
goffi
one of the goal is to fix the one item for all issue
goffi
the other is to have correct handling of non MUC uri
goffi
and also nice things like tags
manchohas left
goffi
it cool be use not only for bookmark, but anywhere where a list or uris if useful
goffi
could*
goffi
is a bit stalled at the moment because we are all busy, be we could defenitely propose a first protoXEP quickly
ralphm
goffi: right. Cool
vanitasvitaehas left
vanitasvitaehas joined
mimi89999has left
Guushas left
winfriedhas left
SouLhas joined
Valerianhas left
lloydwatkinhas left
Valerianhas joined
Guushas left
Joachimhas joined
Guushas left
Guushas joined
Joachimhas left
Valerianhas left
murphyhas left
mimi89999has left
Guushas left
Guushas joined
murphyhas joined
Alexhas left
Alexhas joined
edhelashas joined
jubalhhas joined
edhelas
hey, I'm at the 33c3, if someone else is here, ping me, would be nice to meet :)
Ge0rG
edhelas: Link Mauve and daniel should be there, somewhere
Guushas left
lloydwatkinhas joined
Guushas joined
Valerianhas joined
Valerianhas left
Valerianhas joined
Link Mauve
mathieui, edhelas, daniel, Tobias, kalkin, I’m around Saal G, just finished eating.
Link Mauve
And you?
Tobias
just on my way to the CCH
kalkinand Daniel are going too hall 2
kalkin
We are around saal g right now too
edhelas
I'm in the hacker room, just in front of the TARDIS and the wooden dome
Link Mauve
kalkin, where around Saal G?
moparisthebesthas joined
Link Mauve
Had a chat with koolfy, about OTR and OX and OMEMO and related as well as unrelated stuff. ^^
kalkin
Link Mauve: I'm currently outside where in the direction of saal1
Link Mauve
For hacking the world?
kalkin
The stairs down past the digital courage shop and right
mathieui
that threema talk was a bit disappointing, btw
mathieui
although there are some nice ideas on trust that could work even without their central server
kalkin
Link Mauve: Welcome to the Anthropocene?
Wednesday, December 28, 2016 1:00 PM, Saal2
Tobiashas left
Sonnyhas left
benihas left
Tobiashas joined
Viniloxhas joined
Sonnyhas joined
Sonnyhas left
Sonnyhas joined
Sonnyhas left
Sonnyhas joined
murphyhas left
Yagizahas joined
Zashhas joined
Guushas left
Sonnyhas left
manchohas left
daurnimatorhas left
daurnimatorhas joined
Sonnyhas joined
benihas left
murphyhas joined
danielhas left
danielhas joined
Valerianhas left
Valerianhas joined
jerehas left
jerehas joined
xnyhpshas joined
benihas left
jerehas left
jerehas joined
Alexhas left
daurnimatorhas left
daurnimatorhas joined
jerehas left
daurnimatorhas left
daurnimatorhas joined
jerehas joined
daurnimatorhas left
daurnimatorhas joined
jerehas left
jerehas joined
lloydwatkinhas left
tim@boese-ban.dehas left
tim@boese-ban.dehas joined
benihas left
Flowhas joined
nycohas joined
nycohas joined
intosihas left
intosihas joined
moparisthebesthas joined
xnyhpshas joined
vanitasvitaehas left
benihas left
Guushas left
Guushas left
Tobias
edhelas: so where are you about?
archas left
archas joined
edhelas
Tobias, I'm at the Raumzeit Labor table in the dev room
Tobias
edhelas: let me see if I can find that
moparisthebesthas joined
kalkinhas left
kalkinhas joined
kalkinhas joined
kalkinhas joined
benihas left
kalkinhas left
kalkinhas joined
mimi89999has left
benihas left
Flowhas left
Alexhas joined
Valerianhas left
Valerianhas joined
boothj5has joined
boothj5has left
lloydwatkinhas joined
lloydwatkinhas left
benihas left
moparisthebesthas joined
mimi89999has joined
intosihas left
kalkinhas left
dwdhas joined
dwdhas joined
kalkinhas joined
Tobiashas joined
jubalhhas left
jubalhhas joined
benihas left
vanitasvitaehas left
xnyhpshas joined
benihas left
murphyhas left
Alexhas left
tim@boese-ban.dehas joined
waqashas joined
Valerianhas left
Guushas left
pep.has joined
manchohas joined
jubalhhas left
moparisthebesthas joined
Valerianhas joined
Tobiashas joined
Valerianhas left
Valerianhas joined
jerehas left
jerehas joined
waqashas left
manchohas left
moparisthebesthas joined
Yagizahas left
Valerianhas left
murphyhas joined
Tobiashas joined
jerehas left
jerehas joined
Valerianhas joined
kalkinhas left
kalkinhas joined
vanitasvitaehas left
mimi89999has joined
Sonnyhas left
Sonnyhas joined
Valerianhas left
xnyhpshas left
winfriedhas left
moparisthebesthas joined
benihas left
moparisthebesthas joined
Guushas left
vanitasvitaehas left
vanitasvitaehas joined
Guushas left
Valerianhas joined
Valerianhas left
Valerianhas joined
Valerianhas left
Valerianhas joined
Sonnyhas left
Sonnyhas joined
winfriedhas joined
daurnimatorhas left
daurnimatorhas joined
vanitasvitaehas left
benihas left
ralphmhas joined
jerehas left
jerehas joined
daurnimatorhas left
daurnimatorhas joined
Guushas left
kalkinhas left
kalkinhas joined
kalkinhas left
kalkinhas joined
kalkinhas left
kalkinhas joined
Tobias
goffi, so the example would look something like this http://ayena.de/files/xeps/sims.xhtml#usecases-microblogging