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

XMPP PubSub #922

Open
sjehuda opened this issue Dec 6, 2024 · 0 comments
Open

XMPP PubSub #922

sjehuda opened this issue Dec 6, 2024 · 0 comments

Comments

@sjehuda
Copy link

sjehuda commented Dec 6, 2024

Greetings!

I am Schimon, and I would want to advise to support XMPP PubSub (more accurately XMPP PEP) as a mean to store bookmarks.

The Blasta project store bookmarks on XMPP profiles and also aggregates bookmarks from XMPP profiles to generate a public database of bookmarks.

Please refer to the project Blasta for realization.

Integration with linkding https://git.xmpp-it.net/sch/Blasta/issues/16


I have read some of the reviews for the linkding extension and I have a comment.

Chris Foobar

Each page view is transmitted to the linkding server. Regardless of whether the page is to be bookmarked or not. Presumably this is to check whether an entry already exists. If this is the case, it would be a very poor implementation. It would be enough if this check takes place when the user decides to bookmark.

Developer response

The behavior you describe is opt-in, it must be explicitly enabled in the extension's options ("Preload page information while browsing"). By default the extension will only check whether a URL is bookmarked when triggering the bookmark action. You might have an outdated version of the extension, or you have ran into a bug, in which case I would ask you to report it in the extensions's Github repo.

My response

The XMPP implementation of Blasta is only client side. The HTTP is of type server, but the communication with XMPP is of type client.

Hence, the check for an existing bookmark is made against each XMPP account, which means, that there is no need to connect to a Blasta server to conduct this check.

So, this is a benefit in hosting bookmarks on XMPP PubSub.

P.S. Of course, caching is also a manner to avoid querying of a server.


Once a big and established poject such as linkding would implement XMPP, the we would rapidly add a new XEP for utilizing PubSub to store annotations.

Please join to our XMPP group chat to discuss this matter xmpp:[email protected]?join

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

No branches or pull requests

1 participant