Thanks for your message. I got it and it indeed a useful feature-but it needs to specified in XEP-0060.
Kind Regards Goffi Le 5 novembre 2022 14:33:37 GMT+01:00, Maxime Buquet <[email protected]> a écrit : >On 2022/11/02, Goffi wrote: >> 'pubsub#type' would be "http://www.w3.org/2005/Atom" in any case here, I >> don't >> see how you would use it to get comment nodes or gallery node. You would >> have >> to add an other metadata for that (which can be done). > >Just reacting to this because I feel this is largely misunderstood. > >No `pubsub#type` wouldn't be `http://www.w3.org/2005/Atom`. The whole >point of `pubsub#type` is to be able to distinguish the payload, which >isn't just Atom here, it's Atom, but used in a way to do >(micro)blogging. > >Tomorrow say I want to use pubsub/atom to send in my accounts and I use >the same Atom namespace, how do I distinguish with your blog articles? > >How do I have a UI/behaviour in my client/server that is different for >my accounts and my blog articles? > >`pubsub#type` is how we do this. By using `urn:xmpp:social:foo` and >`urn:xmpp:accounts:bar` I know of course that it's Atom, but I also know >what rules on top of Atom are being used (type of content, etc.)
_______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
