Goffi. Good afternoon.
On Fri, 29 Aug 2025 13:36:57 +0200
Goffi <goffi(a)goffi.org> wrote:
Le vendredi 29 août 2025, 10:59:58 heure d’été
d’Europe centrale
Schimon Jehudah a écrit :
Good day.
I realize that PEP is a form of PubSub for accounts.
I do want to know whether it is feasible for an account to create a
PEP node which other accounts can post items to it.
Please advise.
Kind regards,
Schimon
_______________________________________________
Standards mailing list -- standards(a)xmpp.org
To unsubscribe send an email to standards-leave(a)xmpp.org
Hi Schimon,
By spec, there is only one publisher per node
(
https://xmpp.org/extensions/ xep-0163.html#approach-publisher), so a
pure PEP implementation doesn't allow that. AFAIK, PEP was also done
to have a "simplified pubsub" at a time were most pubsub
implementation were incomplete, which may explain this.
Note that its not a "MUST NOT", so it's mostly a recommendation to my
eyes.
Then, I suppose, this statement at XEP-0277 is incorrect, or should
have additional text which explains that it is only feasible to the
account owner to post to it.
https://xmpp.org/extensions/xep-0277.html#comment_add
Note: A comments node SHOULD be located at a generic
publish-subscribe node that is not attached to a user's IM account,
but MAY be located at a personal eventing (PEP) node.
I read it, yet when I have experimented in the past, and I realized
that an account JID can not post to a PEP node of another account JID.
I tested this with Slixfeed news service (i.e. bot).
However, some implementations (like Libervia Pubsub,
the one I'm
working on) are more flexible and allow the same things that in a
XEP-0060 pubsub service.
I think that it would be beneficial to allow PEP service to allow
this flexibility (for example, you may want to allow somebody to
casually post to your personal blog), but you should not assume that
it possible right now.
This is actually my use case.
I think that such functionality must have a moderation mechanism., as
you would not want people to populate accounts of others with contents
for which one might be prosecuted (e.g. for uploading a chapter of The
Bible).
However, I did discuss about this concern over this mailing-list in the
past (title: "Moderating PubSub"), and Mr. Tedd Sterr has offered this
solution.
1. Create an interface to send comments;
2. Send a notification about comments; and
3. Use your account to moderate and post these comments.
As XMPP comments are made of Atom Syndication Format (RFC 4287), the
solution of Tedd is applicable with my needs, because the Atom
Syndication Format has the element "atom:author" which can be utilized
as an address or identifier to the people who desire to publish over
your account PEP node.
https://www.rfc-editor.org/rfc/rfc4287#section-4.2.1
If possible, I think, that it would be good to generalize such
moderation system to all XMPP publishing clients.
Schimon
Maybe some disco feature could be used to explicitly
show that it's
supported to change access model/and or affiliations?
Best,
Goffi