fix formatting
authorYves Marcoz <yves@marcoz.org>
Mon, 7 Jun 2010 03:11:59 +0000 (20:11 -0700)
committerYves Marcoz <yves@marcoz.org>
Mon, 7 Jun 2010 03:11:59 +0000 (20:11 -0700)
debian/changelog
src/FeedingIt.py
src/config.py
src/feedparser.pyc
src/rss.py

index 547a811..3a3f2d4 100644 (file)
@@ -1,3 +1,10 @@
+feedingit (0.7.0-2) unstable; urgency=low
+
+  * Changed layout of article listing TreeView
+  * Reduced font for widget and made it single click
+
+ -- Yves <yves@marcoz.org>  Sat, 29 May 2010 10:53:19 -0800
+
 feedingit (0.7.0-1) unstable; urgency=low
 
   * Fixed error message when viewing un-downloaded Archived Article
index 32919b7..1ce9c3c 100644 (file)
@@ -19,7 +19,7 @@
 # ============================================================================
 __appname__ = 'FeedingIt'
 __author__  = 'Yves Marcoz'
-__version__ = '0.6.2'
+__version__ = '0.7.0'
 __description__ = 'A simple RSS Reader for Maemo 5'
 # ============================================================================
 
index a38787f..5c98ec0 100644 (file)
@@ -30,7 +30,7 @@ from gobject import idle_add
 from gconf import client_get_default
 from urllib2 import ProxyHandler
 
-VERSION = "0.6.1"
+VERSION = "48"
 
 section = "FeedingIt"
 ranges = { "updateInterval":[0.5, 1, 2, 4, 12, 24], "expiry":[24, 48, 72], "fontSize":range(12,24), "orientation":["Automatic", "Landscape", "Portrait"], "artFontSize":[10, 12, 14, 16, 18, 20]}
@@ -114,7 +114,7 @@ class Config():
         bus = dbus.SessionBus()
         proxy = bus.get_object("com.nokia.osso_browser", "/com/nokia/osso_browser/request")
         iface = dbus.Interface(proxy, 'com.nokia.osso_browser')
-        iface.open_new_window("http://feedingit.marcoz.org/%s.html" % VERSION)
+        iface.open_new_window("http://feedingit.marcoz.org/news/?page_id=%s" % VERSION)
 
     def onExit(self, *widget):
         self.saveConfig()
index e33edbc..f2376cc 100644 (file)
Binary files a/src/feedparser.pyc and b/src/feedparser.pyc differ
index b27c9a5..fd0dc5b 100644 (file)
@@ -132,13 +132,13 @@ class Feed:
             tmp=feedparser.parse(self.url, etag = self.etag, modified = self.modified)
         else:
             tmp=feedparser.parse(self.url, etag = self.etag, modified = self.modified, handlers = [proxy])
-       try:
+        try:
             self.etag = tmp["etag"]
-       except KeyError:
+        except KeyError:
             pass
-       try:
+        try:
             self.modified = tmp["modified"]
-       except KeyError:
+        except KeyError:
             pass
         expiry = float(expiryTime) * 3600.
         # Check if the parse was succesful (number of entries > 0, else do nothing)
@@ -543,14 +543,14 @@ class Listing:
                     del feed.imageHandler
                 except:
                     pass
-               try:
-                   feed.etag
-               except AttributeError:
-                   feed.etag = None
-               try:
-                   feed.modified
-               except AttributeError:
-                   feed.modified = None
+                try:
+                    feed.etag
+                except AttributeError:
+                    feed.etag = None
+                try:
+                    feed.modified
+                except AttributeError:
+                    feed.modified = None
                 #feed.reloadUnread(self.configdir)
             else:
                 #print key