[kde-linux] akregator & firefox

paul s kde-linux.mail.kde.org at queuemail.com
Thu Feb 26 20:11:46 UTC 2009


thank you Kevin!

great explanation too, i really appreciate you taking the time to step 
through the process... going through it in the terminal i was able to 
understand what was available for each process that is running... fantastic!

attached is a little script that i point firefox to when clicking that 
rss icon in the location bar...

cheers
paul




On 02/26/2009 07:11 AM, Kevin Krammer wrote:
> On Thursday 26 February 2009, paul s wrote:
>> hi -
>>
>> i am using kde 4.2 and use to be able to add rss feeds to akregator
>> using dcop... i guess dcop has been replaced with d-bus in 4.2... so i
>> could add feeds before by using :
>>
>> dcop akregator AkregatorIface addFeedsToGroup "[" "$f" "]" "folder"
>>
>> this would also do it in the background and not bring akregator forward...
>>
>> how could this be accomplished with d-bus?
> 
> The qdbus tool works quite similar to how dcop worked, e.g. if you invoke it 
> without any parameters it will list all processes (actually all D-Bus 
> connections [1]).
> 
> If you pass one such name as its first parameter, it will list all objects 
> inside the application. If you add one object it will list all its methods.
> 
> So a starting point for your DCOP call above would be
> qdbus org.kde.akregator /Akregator org.kde.akregator.part.addFeedsToGroup
> 
> Not sure though how qdbus handles lists, you'll have to experiement on that.
> 
> Cheers,
> Kevin
> 
> [1] A D-Bus connection always has at least one unique name, something that 
> looks like this
> :1.6
> 
> Applications can additionally register "well known names" that can only be 
> owned by one process at a given time. If a connection has such an additional 
> name, it will be listed after the unique name like this:
> :1.6
>  org.kde.akregator
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: akregator-rss-subscribe.sh
Type: application/x-shellscript
Size: 395 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20090226/e503f631/attachment.bin>


More information about the kde-linux mailing list