-
nicoco
pubsub question. i publish a new item in a node. when the pubsub service notifies subscriber, ie <https://xmpp.org/extensions/xep-0060.html#publisher-publish-success-withpayload>, should the notification message contain only the new item, or all items in that node?
-
nicoco
I would tend to think "only the new item", but I fail to find where this is explicitly explained. Also, I guess it's wasteful but not illegal to put all items in the pubsub#event payload, is it?
-
lovetox
publishing multiple items is not possible
-
lovetox
so why would we notify about items that were not published and also not changed
-
lovetox
https://xmpp.org/extensions/xep-0060.html#impl-notify
-
lovetox
> The entity is an authorized subscriber to the node (explicitly via subscription or implicitly based on a role of owner or publisher); when the publisher sends a publish request, the service sends the currently published item to the entity (subject to presence checks and notification filtering if appropriate).
-
nicoco
Thanks lovetox!
-
nicoco
Last published item only then.
-
lovetox
i think this was not made more explicit in the XEP because nobody thought this would be in question
-
nicoco
well, I am the idiot who implemented it differently then :). I'll fix that :P
-
kuyuhi
its never a question until it is 😔
-
EggToast2
Is there a XEP for embedding something like short preview of a music for the profile? Do VCard let you do that officially, even"
-
dwd
I don't know of one, sorry. Perhaps in the old profile XEP, but nobody really implemented that.
-
theTedd
> Is there a XEP for embedding something like short preview of a music for the profile? Do VCard let you do that officially, even" The closest match in VCard4 is 'sound' - but that's intended for a small recording of the correct name pronunciation. Is this for a myspace-style profile song? ↺