venthur / blag

blag is a blog-aware, static site generator -- it uses Markdown and is written in Python.
https://blag.readthedocs.io
MIT License
69 stars 7 forks source link

XMPP: Post to PubSub nodes #212

Open sjehuda opened 7 months ago

sjehuda commented 7 months ago

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

pubsub.website.net/
|
|-- updates/
    |-- Sombre
     `-- Varied
|-- releases/
 `-- events/
pubsub service/
|
|-- node/
    |-- item
     `-- item
|-- node/
 `-- node/

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. PubSub Over HTTP
venthur commented 1 month ago

Hi, can you help me better understand what the request of this issue is?

sjehuda commented 1 month ago

In short, PubSub allows to use XMP as a publishing platform.

XMPP has an XEP extension called Publish-Subscribe (XEP-0060).

I have made an HTML software (Rivista XJP) that reads PubSub.

Please see the video presentation of 7 minutes and 44 seconds at https://video.xmpp-it.net/w/vNqcMooy3pqRAZ8Yb8grr1

The content that is displayed by Rivista XJP is not stored in the server that serves Rivista XJP; rather, the contents are stored, in a standard fashion, on XMPP servers.