View Single Post
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#320
Originally Posted by Sash View Post
I've tried it again with the new code but unless I'm doing something wrong that doesn't work as well:

Code:
 $ dbus-switchboard.py 
dbus-switchboard started
--
-- dbus-switchboard: Received an RPC to mime_open.
-- dbus-switchboard: RPC had arguments ['http://feeds.digg.com/digg/popular.rss'].
-- dbus-switchboard: Interface is org.dbus.switchsvc 
-- dbus-switchboard: user_data is <osso.context.Context object at 0x407bf030> 
------
-- params : file://http://feeds.digg.com/digg/popular.rss
-- params2 : http://feeds.digg.com/digg/popular.rss
-- realparams : file://http://feeds.digg.com/digg/popular.rss
-- realparams2 : http://feeds.digg.com/digg/popular.rss
------
-- dbus-switchboard (runcmd) : /usr/bin/run-standalone.sh dbus-send --print-reply --dtest='org.maemo.feedingit' --session /org/maemo/feedingit org.maemo.feedingit.AddFeed 'string:http://feeds.digg.com/digg/popular.rss' &
Usage: dbus-send [--help] [--system | --session | --address=ADDRESS] [--dest=NAME] [--type=TYPE] [--print-reply=(literal)] [--reply-timeout=MSEC] <destination object path> <message name> [contents ...]
Typo alert - dtest should be dest.

I don't think you need to go through dbus-switchboard if feedingit has been set up to recieve params through dbus though - what happens if you just change your default rss reader to feedingit?

(EDIT) Looks like people more versed in how feedingit works have already commented so I guess that's not so easy...

Cheers,
Jan
 

The Following 3 Users Say Thank You to Big Phat Jan For This Useful Post: