| 1 #!/usr/bin/env python |
1 #!/usr/bin/env python |
| 2 |
2 |
| 3 # A very simple and stupid RSS reader |
3 """ |
| 4 # |
4 gr - An RSS-reader built using libgnt and feedparser. |
| 5 # Uses the Universal Feed Parser |
5 |
| 6 # |
6 Copyright (C) 2007 Sadrul Habib Chowdhury <sadrul@pidgin.im> |
| |
7 |
| |
8 This application is free software; you can redistribute it and/or |
| |
9 modify it under the terms of the GNU Lesser General Public |
| |
10 License as published by the Free Software Foundation; either |
| |
11 version 2.1 of the License, or (at your option) any later version. |
| |
12 |
| |
13 This application is distributed in the hope that it will be useful, |
| |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| |
16 Lesser General Public License for more details. |
| |
17 |
| |
18 You should have received a copy of the GNU Lesser General Public |
| |
19 License along with this application; if not, write to the Free Software |
| |
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| |
21 USA |
| |
22 """ |
| |
23 |
| |
24 """ |
| |
25 This file deals with the rss parsing part (feedparser) of the application |
| |
26 """ |
| 7 |
27 |
| 8 import threading |
28 import threading |
| 9 import feedparser |
29 import feedparser |
| 10 import gobject |
30 import gobject |
| 11 import sys |
31 import sys |