Version: (using KDE KDE 3.5.5) Installed from: Ubuntu Packages When using firefox as default browser the subscription to feed usually works by clicking on the feed button in the address panel. I have specified akregator as my default feed reader in firefox, however by clicking on the RSS button nothing happens, so I have to fill in the feeds manually, whic is kind of a pain...
Hi, the reason for this is that running akregator <feed> does not add the feed to the feed list, it has to be akregator -a <feed> For now, the solution would be to create a script with the content: akregator -a $1 and then open feeds in firefox with this script.
Yup, this is known problem. What do you think Frank, should Akregator just treat the unrecognized parameter as an url?
SVN commit 683223 by rytilahti: Allow adding new feed with directly calling "akregator <url>" like for example firefox want to do it. Oh, and my first commit for a year to svn o/ BUGS:140104 M +1 -0 akregator_options.h M +6 -0 main.cpp --- trunk/KDE/kdepim/akregator/src/akregator_options.h #683222:683223 @@ -38,6 +38,7 @@ options.add( "g" ); options.add( "group <groupname>", ki18n( "When adding feeds, place them in this group" ), "Imported"); options.add( "hide-mainwindow", ki18n( "Hide main window on startup" )); + options.add( "+[url]", ki18n( "Add a feed with the given URL" ) ); return options; } --- trunk/KDE/kdepim/akregator/src/main.cpp #683222:683223 @@ -73,6 +73,12 @@ for (QStringList::ConstIterator it = feeds.begin(); it != end; ++it) feedsToAdd.append(*it); + if (feedsToAdd.isEmpty() && args->count() > 0) { + QString url = args->url(0).url(); + if(!url.isEmpty()) + feedsToAdd.append(url); + } + if (!feedsToAdd.isEmpty()) akr.call("addFeedsToGroup", feedsToAdd, addFeedGroup );