pluto icon indicating copy to clipboard operation
pluto copied to clipboard

Support PubSub (XMPP)

Open sjehuda opened this issue 1 year ago • 0 comments

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

pubsub.hackny.org/
|
|-- 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.

XEP-0060: Publish-Subscribe RFC 4287: The Atom Syndication Format Atom Over XMPP XEP-0277: Microblogging over XMPP XEP-0472: Pubsub Social Feed go-xmpp PubSub Over HTTP

sjehuda avatar May 17 '24 07:05 sjehuda