<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>140104</bug_id>
          
          <creation_ts>2007-01-15 14:24:43 +0000</creation_ts>
          <short_desc>Doesn&apos;t work together with firefox</short_desc>
          <delta_ts>2007-07-04 14:05:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>akregator</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gerhard Riener">gerhard.riener</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>501728</commentid>
    <comment_count>0</comment_count>
    <who name="Gerhard Riener">gerhard.riener</who>
    <bug_when>2007-01-15 14:24:43 +0000</bug_when>
    <thetext>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...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>501845</commentid>
    <comment_count>1</comment_count>
    <who name="Eckhart Wörner">ewoerner</who>
    <bug_when>2007-01-15 22:37:23 +0000</bug_when>
    <thetext>Hi,

the reason for this is that running
akregator &lt;feed&gt;
does not add the feed to the feed list, it has to be
akregator -a &lt;feed&gt;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>502077</commentid>
    <comment_count>2</comment_count>
    <who name="Teemu Rytilahti">tpr</who>
    <bug_when>2007-01-17 01:46:27 +0000</bug_when>
    <thetext>Yup, this is known problem. What do you think Frank, should Akregator just treat the unrecognized parameter as an url?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534807</commentid>
    <comment_count>3</comment_count>
    <who name="Teemu Rytilahti">tpr</who>
    <bug_when>2007-07-04 14:05:42 +0000</bug_when>
    <thetext>SVN commit 683223 by rytilahti:

Allow adding new feed with directly calling &quot;akregator &lt;url&gt;&quot; 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( &quot;g&quot; );
 	options.add( &quot;group &lt;groupname&gt;&quot;, ki18n( &quot;When adding feeds, place them in this group&quot; ), &quot;Imported&quot;);
 	options.add( &quot;hide-mainwindow&quot;, ki18n( &quot;Hide main window on startup&quot; ));
+	options.add( &quot;+[url]&quot;, ki18n( &quot;Add a feed with the given URL&quot; ) );
 	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() &amp;&amp; args-&gt;count() &gt; 0) {
+        QString url = args-&gt;url(0).url();
+        if(!url.isEmpty())
+            feedsToAdd.append(url);
+    }
+
     if (!feedsToAdd.isEmpty())
         akr.call(&quot;addFeedsToGroup&quot;, feedsToAdd, addFeedGroup );
 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>