Author: dmeyer
Date: Sun Oct 14 13:03:17 2007
New Revision: 2869

Log:
update attribute handling

Modified:
   trunk/feedmanager/src/core.py

Modified: trunk/feedmanager/src/core.py
==============================================================================
--- trunk/feedmanager/src/core.py       (original)
+++ trunk/feedmanager/src/core.py       Sun Oct 14 13:03:17 2007
@@ -248,9 +248,11 @@
                         async = item.scan()
                         if isinstance(async, kaa.notifier.InProgress):
                             yield async
-                    for key, value in entry.items():
-                        if not key in ('type', 'url', 'basename'):
-                            item[key] = value
+                    if 'date' in entry:
+                        item['timestamp'] = entry['date']
+                    for key in ('title', 'description'):
+                        if key in entry:
+                            item[key] = entry[key]
 
             self._entries.append((entry['url'], filename))
             num -= 1

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to