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: Backup to PubSub too #5

Open
sjehuda opened this issue Apr 17, 2024 · 3 comments
Open

XMPP: Backup to PubSub too #5

sjehuda opened this issue Apr 17, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@sjehuda
Copy link

sjehuda commented Apr 17, 2024

Not just Nostr...

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.blogo.site) may use all of its nodes for this purpose.

pubsub.blogo.site/
|
|-- updates/
    |-- Sombre
     `-- Varied
|-- releases/
 `-- events/
pubsub service/
|
|-- node/
    |-- item
     `-- item
|-- node/
 `-- node/

A go library that can be utilized would be go-xmpp.

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. go-xmpp
  7. PubSub Over HTTP
@Neustradamus
Copy link

To follow this ticket :)

@pluja
Copy link
Owner

pluja commented Apr 22, 2024

That would be really cool. I personally will look into it when I have a bit more time, but PRs are always welcome!!

@pluja pluja added the enhancement New feature or request label Apr 22, 2024
@sjehuda
Copy link
Author

sjehuda commented Apr 22, 2024

I namely code in Python.

I intend to code a Lua plugin for another CMS to which we want to add this feature.

Please do let me know if I can be of assistance to you in any way.

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

No branches or pull requests

3 participants