twm / yarrharr

Yarrharr Feed Reader
GNU General Public License v3.0
2 stars 0 forks source link

XMPP (RFC 6120), PubSub (XEP-0060) and Atom Over XMPP (RFC 4287) #1175

Closed sjehuda closed 5 months ago

sjehuda commented 5 months ago

Greetings!

My name is Schimon and I am a champion of Syndication and XMPP.

For those of you who are not famiiliar, XMPP (previously Jabber) is a messaging system with open standards. XMPP is extensible via XEP.

I will discuss about XEP-0060: Publish-Subscribe.

Almost a couple of decades ago, a discussion arose about incorporating Atom (RFC 4287) with XMPP PubSub, which is really easy because both are XML data.

One of the major benefits of utilizing PubSub is native Push Notifications (yes, that technique was much before HTML5) which do not require HTTP pulling.

That would be a great feature to have yarrharr to utilize XMPP PubSub natively!

See a proof of concept I have made to parse PubSub nodes as Atom Syndication Format.

https://datatracker.ietf.org/meeting/66/materials/slides-66-atompub-1.pdf https://codeberg.org/poezio/slixmpp/issues/3526

Cheers, Schimon

twm commented 5 months ago

I don't see how adding XMPP to Yarrharr would benefit anyone (specifically, me, as I am its only user). It would considerably increase complexity, only to enable a toxic feature (push notifications).

Best of luck making XMPP happen; maybe another 15 years of trying will be the trick?

sjehuda commented 5 months ago

Subscribing to feeds stored on XMPP PubSub nodes, for instance, getting updates of posts made by a friend who is on the XMPPP network and is posting updates only to his XMPP account. The proof of concept I have linked to just shows how it is done.

The instance of yarrharr will have an XMPP account with which it will subscribe to PubSub nodes.

Then PubSub nodes will send new data to the XMPP acount yarrharr is connected with.

XMPP versus HTTP

I suppose push notifications are toxic when an IP address is directly subjected to it.

In the case of XMPP, it is the XMPP account that is subjected to push notifications, which means that it is as private as receiving data in Email, unlike HTTP which targets IP address.