Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMPP: Post to PubSub #543

Open
sjehuda opened this issue Sep 23, 2024 · 0 comments
Open

XMPP: Post to PubSub #543

sjehuda opened this issue Sep 23, 2024 · 0 comments

Comments

@sjehuda
Copy link

sjehuda commented Sep 23, 2024

Short description of the enhancement

Greetings!

In XMPP, using PubSub(1) (XEP-0060), it is possible to store posts as Atom Syndication(2) entries into XMPP(3).

There are several XMPP extensions that apply it, namely XEP-0227 (4) and XEP-0472 (5) which make node urn:xmpp:microblog:0 as a common choice to manage news for client accounts (e.g. [email protected]), yet a component account (e.g. pubsub.processwire.com) may use all of its nodes for this purpose.

pubsub.processwire.com/
|
|-- updates/
    |-- Sombre
     `-- Varied
|-- releases/
 `-- events/
pubsub service/
|
|-- node/
    |-- item
     `-- item
|-- node/
 `-- node/

A PHP library that can be utilized would be Moxl of Movim.

I have made a script that realizes viewing PubSub node items as Atom XML feeds over HTTP.

  1. XEP-0060: Publish-Subscribe
  2. RFC 4287: The Atom Syndication Format
  3. Atom Over XMPP
  4. XEP-0277: Microblogging over XMPP
  5. XEP-0472: Pubsub Social Feed
  6. Moxl or xmpp-php
  7. PubSub Over HTTP

Current vs. suggested behavior

Forward/publish content to PubSub too.

Example:

pubsub.processwire.com/
|
|-- updates/
    |-- Sombre
     `-- Varied
|-- releases/
 `-- events/
pubsub service/
|
|-- node/
    |-- item
     `-- item
|-- node/
 `-- node/

Why would the enhancement be useful to users?

People who use XMPP, be able to view contents via XMPP, without the need to open an HTML/HTTP browser.

Optional: Screenshots/Links that demonstrate the enhancement

See project Movim.
https://movim.eu/
https://mov.im/

All contents on the Movim platform are stored on XMPP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant