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

[PLUGIN] XMPP: Post to PubSub [NOT CLOSED YET] #696

Closed
sjehuda opened this issue Apr 17, 2024 · 6 comments
Closed

[PLUGIN] XMPP: Post to PubSub [NOT CLOSED YET] #696

sjehuda opened this issue Apr 17, 2024 · 6 comments

Comments

@sjehuda
Copy link

sjehuda commented Apr 17, 2024

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. blog@picocms.org), yet a component account (e.g. pubsub.picocms.org) may use all of its nodes for this purpose.

pubsub.picocms.org/
|
|-- 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
  7. PubSub Over HTTP
@PhrozenByte
Copy link
Collaborator

I assume you picked the wrong repo here, Pico CMS doesn't use XMPP.

@sjehuda
Copy link
Author

sjehuda commented Apr 17, 2024

I know well what this is about. This is a CMS software. I am looking for CMS software.

XMPP is an IM system, and yet...

It is extensible using XEPs.

There is an XEP-0060 called PubSub, which is installed on almost 100% of XMPP servers, and which allows uploading textual content to PubSub services on XMPP server and XMPP accounts.

Currently, Movim is the prominent platform that utilizes PubSub extensively. I advise you to check Movim so you would see a visual realization of PubSub potential.

This has a great potential. I advise to reopen this ticket.

@PhrozenByte
Copy link
Collaborator

I see. It didn't really emerge from your description that this is a suggested addition. This definitely isn't something for Pico's core, Pico intentionally sticks to the bare minimum. However, if you wanna create a plugin for that please go ahead, we appreciate any 3rd-party plugin! 👍 You can then add your plugin to our wiki or the website to spread the word, see https://picocms.org/plugins/#entry-zzz_contribute

I'm re-opening this for now if you have any questions about how to create such plugin. However, it will be closed in a few days by our Stale bot anyway; we don't usually keep non-bug issues open.

Happy coding! 👏 👍

@PhrozenByte PhrozenByte reopened this Apr 17, 2024
@sjehuda
Copy link
Author

sjehuda commented Apr 17, 2024

Very well and thank you for the explanation and good will!

If this ticket is closed, will it be locked?

@PhrozenByte
Copy link
Collaborator

If this ticket is closed, will it be locked?

No, we don't usually lock tickets, you can add new comments at any time 👍

@sjehuda sjehuda changed the title XMPP: Post to PubSub [PLUGIN] XMPP: Post to PubSub [NOT CLOSED YET] Apr 17, 2024
@sjehuda
Copy link
Author

sjehuda commented Apr 17, 2024

Then I will close this ticket.
I have changed the title.

I do not code in PHP often.

Is there a forum?
Are there people I can consult with in the Pico community?

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

No branches or pull requests

2 participants