XMPP PubSub Plugin

Schimon Jehudah sch at fedora.email
Sun Nov 10 21:36:29 GMT 2024


Greetings Juraj,

On Sun, 10 Nov 2024 11:17:34 +0100
Juraj Oravec <jurajoravec at mailo.com> wrote:

> > Good evening, everyone!  
> 
> Hello Schimon,
> 
> > This is a Python script which receives an XMPP URI and outputs XMPP
> > PubSub content as HTML.
> > 
> > I suppose, that this is how Dillo requires plugins to work.
> > 
> > As for Falkon, I think, that it would be nice to integrate XMPP into
> > Falkon.
> > 
> > Could anyone kindly advise on how to implement this script in a
> > fashion which would allow to open XMPP Query URIs directly from the
> > Falkon URL bar?  
> 
> Simple, you register a scheme handler for xmpp scheme with a plugin.
> Take a look at the KDE plugin.
> 
> 1. Register the scheme to falkon, manual process at the moment,
> If not registered regiuster and it will work after restart.
> https://git.sgorava.xyz/Falkon/falkonOfficial/src/branch/master/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp#L97
> 
> 2. Install a scheme handler
> https://git.sgorava.xyz/Falkon/falkonOfficial/src/branch/master/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp#L86
> 
> 3. Make the scheme handler
> https://git.sgorava.xyz/Falkon/falkonOfficial/src/branch/master/src/plugins/KDEFrameworksIntegration/kioschemehandler.h
> https://git.sgorava.xyz/Falkon/falkonOfficial/src/branch/master/src/plugins/KDEFrameworksIntegration/kioschemehandler.cpp
> 
> There are more examples with falkon:// adblock:// internal pages,
> look around for scheme handler related code.
> 
> PS: It looks liek KIO stuff is not properly implemented in KDE plugin,
> so it will not work, BUT the scheme handler is called properly.
> 

Thank you for the instructions and the post script.
I will investigate further.

> 
> > Best regards,
> > Schimon  
> 
> PS: I hope I did not misunderstand what you want to do.
> 

This is an excerpt of the subject matter.

I have made a Python script, which receives an XMPP URI from stdin
(standard input) and then it outputs result to stdout (standard
output), from which Dillo retrieves that resulted data.

Because of this, I figure, that I will be able to utilize this plugin
to Falkon too.

> Best regards,
> Juraj
> 

Kind regards,
Schimon

> > On Sat, 9 Nov 2024 20:29:09 +0200
> > 
> > Schimon Jehudah <sch at fedora.email> wrote:  
> > > Good evening!
> > > 
> > > I have made an XMPP plugin for Dillo.
> > > 
> > > I would be grateful for your feedbacks.
> > > 
> > > I would also need instructions as to how to implement
> > > configurations.
> > > 
> > > Compulsory options:
> > > 
> > > * JabberID
> > > * Password
> > > 
> > > Possible options:
> > > 
> > > * Connection
> > > * Timeout
> > > 
> > > I consider to add an interface for JabberID and Password, and I
> > > would
> > > rather receive instructions from the staff.
> > > 
> > > It is posible to use anonymous accounts, such as
> > > anon at anon.jabberfr.org, yet I would rather not do so, because:
> > > 
> > > * Most of the anonymous accounts have PubSub disabled, which is
> > > exactly the needed feature which this plugin provides.
> > > * I do not want to rely on anonymous accounts or any server,
> > > because of changes that might occur in any future.
> > > 
> > > P.S. I did not think, that I would be sending a plugin as early as
> > > now.
> > > 
> > > Kind regards,
> > > Schimon
> > > 
> > > On Thu, 7 Nov 2024 07:45:33 +0200
> > > 
> > > Schimon Jehudah <sch at fedora.email> wrote:  
> > > > Good day, to one and all!
> > > > 
> > > > My name is Schimon, I am a pianist, attorney at law, and I also
> > > > work
> > > > on software that mainly involve the technologies of Syndication
> > > > and
> > > > XMPP.
> > > > 
> > > > My current intention, is to design an XMPP client, based on
> > > > Slixmpp,
> > > > to allow Dillo to interact with Atom Over XMPP (XEP-0277 and
> > > > XEP-0472).
> > > > 
> > > > Atom Over XMPP specifies storage of textual content  (be it text
> > > > or
> > > > HTML) on XMPP PubSub nodes. It is useful for publishing (see
> > > > Libervia, Movim, Rivista XJP), annotating resources (see Blasta)
> > > > and for any sort of mean which may require textual content.
> > > > 
> > > > References:
> > > > https://blasta.woodpeckersnest.eu/help/about/xmpp/atomsub
> > > > https://blasta.woodpeckersnest.eu/help/about/xmpp/pubsub
> > > > 
> > > > Projects:
> > > > https://schapps.woodpeckersnest.eu/blasta/
> > > > https://schapps.woodpeckersnest.eu/rivista/
> > > > 
> > > > I intend to utilize the Python computer language for this task.
> > > > 
> > > > Any help, encouragement, and especially accompanying (not in the
> > > > musical sense) my efforts be welcome.
> > > > 
> > > > This is my first time which I intend to collaborate with Dillo
> > > > developers, and I am excited by this opportunity.
> > > > 
> > > > Kind regards,
> > > > Schimon  


More information about the Falkon mailing list