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

feat: XMPP: Post to PubSub #9583

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

feat: XMPP: Post to PubSub #9583

sjehuda opened this issue Apr 17, 2024 · 0 comments
Labels

Comments

@sjehuda
Copy link

sjehuda commented Apr 17, 2024

Summary

Publishing posts to PubSub, either a dedicated PubSub service (e.g. pubsub.ekyllrb.com) or to a personal account (e.g. george@ekyllrb.com).

Motivation

Why do you want to see this feature in Jekyll?

  1. More exposure, (1) be it to people communicating on my XMPP server and then check the dedicated PubSub service, or (2) be it by people communicating with other people and then they check their PubSub nodes of each other.

What makes you sure that it should not be implemented at the plugin level, but in Jekyll core?

Because this would allow people that do ot have a website nor server that are open for incomming connections - for whatever reason - to publish contents using their own XMPP account alone. No server of their own would be needed to publish whatever they want.

What use cases does it support?

  1. Website administrators (obviously)
  2. Real users! (New audience: Any one)

NOTE: Please be mindful of the Jekyll philosophy (https://jekyllrb.com/philosophy/), particularly Section 5. Think about if 90% of the users would benefit from your feature request, and whether your feature would be better off in a plugin.

With clause 2 in mind, over 110% of the users would benefit from this feature request!

Guide-level explanation

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

A Ruby library that might be utilized would be XMPP4R.

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
XMPP4R
PubSub Over HTTP

Reference-level explanation

Publish items to XMPP PubSub nodes as Atom format. See the references to Movim and to PubSub Over HTTP above.

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

Drawbacks

None.

Unresolved Questions

None

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

No branches or pull requests

1 participant