pelican icon indicating copy to clipboard operation
pelican copied to clipboard

XMPP: Post to PubSub

Open sjehuda opened this issue 4 months ago • 6 comments

  • [x] I have searched the issues (including closed ones) and believe that this is not a duplicate.
  • [x] I have searched the documentation and believe that my question is not covered.
  • [x] I am willing to lend a hand to help implement this feature.

Feature Request

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 xmpp:microblog:0 as a common choice to manage news for client accounts (e.g. [email protected]), yet a component account (e.g. pubsub.getpelican.com) may use all of its nodes for this purpose.

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

I have made a script using the slixmpp library 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. PubSub Over HTTP

I am willing to assist to add this feature.

sjehuda avatar Apr 17 '24 14:04 sjehuda