[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#419899: Please add a Planet Debian default feed



Le mercredi 18 avril 2007 12:43, Ana Guerrero a écrit :
> On Wed, Apr 18, 2007 at 11:36:03AM -0400, Filipus Klutiero wrote:
> > Package: akregator
> > Version: 4:3.5.5.dfsg.1-6
> > Severity: wishlist
> >
> > Please add Planet Debian to the default feeds.
>
> Sound like a nice idea. Could you make a patch? I'm planning upload
> kdepim 3.5.6 tomorrow to unstable and i could add this.
>
> Ana

It's not as if I knew what I was doing or if I tested, but this might do it.
--- src/akregator_part.cpp	2007-02-02 06:36:46.000000000 -0500
+++ src/akregator_part.cpp.d	2007-04-18 19:58:24.000000000 -0400
@@ -392,6 +392,11 @@
     look.setAttribute("xmlUrl","http://www.kde.org/kde-look-content.rdf";);
     mainFolder.appendChild(look);
 
+    QDomElement pland = doc.createElement( "outline" );
+    pland.setAttribute("text",i18n("Planet Debian"));
+    pland.setAttribute("xmlUrl","http://planet.debian.org/rss20.xml";);
+    body.appendChild(pland);
+
     return doc;
 }
 

Reply to: