27 #include <tqvaluelist.h>
29 #define DEFAULT_NEWSSOURCES 60
34 typedef TQValueList<NewsSourceData> List;
36 enum Category { Arts, Business, Computers, Misc,
37 Recreation, Society };
39 NewsSourceData( const TQString &name = I18N_NOOP( "Unknown" ),
40 const TQString &url = TQString(),
41 const TQString &icon = TQString(),
42 const Category category= Computers )
43 : mName( name ), mURL( url ), mIcon( icon ), mCategory( category )
47 TQString name() const { return mName; }
48 TQString url() const { return mURL; }
49 TQString icon() const { return mIcon; }
50 Category category() const { return mCategory; }
58 static NewsSourceData NewsSourceDefault[DEFAULT_NEWSSOURCES] = {
61 TQString::fromLatin1( "Bureau 42"),
62 TQString::fromLatin1( "http://www.bureau42.com/rdf/"),
63 TQString::fromLatin1( "http://www.bureau42.com/favicon.ico"),
64 NewsSourceData::Arts ),
66 TQString::fromLatin1( "eFilmCritic"),
67 TQString::fromLatin1( "http://efilmcritic.com/fo.rdf"),
68 TQString::fromLatin1( "http://efilmcritic.com/favicon.ico"),
69 NewsSourceData::Arts ),
72 TQString::fromLatin1( "Internet.com Business"),
73 TQString::fromLatin1( "http://headlines.internet.com/internetnews/bus-news/news.rss"),
75 NewsSourceData::Business ),
77 TQString::fromLatin1( "TradeSims"),
78 TQString::fromLatin1( "http://www.tradesims.com/AEX.rdf"),
80 NewsSourceData::Business ),
83 TQString::fromLatin1( "KDE Deutschland"),
84 TQString::fromLatin1( "http://www.kde.de/nachrichten/nachrichten.rdf"),
85 TQString::fromLatin1( "http://www.kde.de/favicon.ico"),
86 NewsSourceData::Computers ),
88 TQString::fromLatin1( "KDE France"),
89 TQString::fromLatin1( "http://www.kde-france.org/backend-breves.php3"),
91 NewsSourceData::Computers ),
93 TQString::fromLatin1( "FreeBSD Project News"),
94 TQString::fromLatin1( "http://www.freebsd.org/news/news.rdf"),
95 TQString::fromLatin1( "http://www.freebsd.org/favicon.ico"),
96 NewsSourceData::Computers ),
98 TQString::fromLatin1( "dot.kde.org"),
99 TQString::fromLatin1( "http://www.kde.org/dotkdeorg.rdf"),
100 TQString::fromLatin1( "http://www.kde.org/favicon.ico"),
101 NewsSourceData::Computers ),
102 NewsSourceData( TQString::fromLatin1( "KDE-Look.org"),
103 TQString::fromLatin1( "http://www.kde.org/kde-look-content.rdf"),
104 TQString::fromLatin1( "http://kde-look.org/img/favicon-1-1.ico"),
105 NewsSourceData::Computers ),
106 NewsSourceData( TQString::fromLatin1( "KDE-Apps.org"),
107 TQString::fromLatin1( "http://www.kde.org/dot/kde-apps-content.rdf"),
108 TQString::fromLatin1( "http://kde-apps.org/img/favicon-1-1.ico"),
109 NewsSourceData::Computers ),
110 NewsSourceData( TQString::fromLatin1( "DesktopLinux"),
111 TQString::fromLatin1( "http://www.desktoplinux.com/backend/index.html"),
112 TQString::fromLatin1( "http://www.desktoplinux.com/images/favicon.ico"),
113 NewsSourceData::Computers ),
114 NewsSourceData( TQString::fromLatin1( "DistroWatch"),
115 TQString::fromLatin1( "http://distrowatch.com/news/dw.xml"),
116 TQString::fromLatin1( "http://distrowatch.com/favicon.ico"),
117 NewsSourceData::Computers ),
120 TQString::fromLatin1( "GNOME News"),
121 TQString::fromLatin1( "http://www.gnomedesktop.org/node/feed"),
123 NewsSourceData::Computers ),
125 TQString::fromLatin1( "Slashdot"),
126 TQString::fromLatin1( "http://slashdot.org/slashdot.rdf"),
127 TQString::fromLatin1( "http://slashdot.org/favicon.ico"),
128 NewsSourceData::Computers ),
130 TQString::fromLatin1( "Ask Slashdot"),
131 TQString::fromLatin1( "http://slashdot.org/askslashdot.rdf"),
132 TQString::fromLatin1( "http://slashdot.org/favicon.ico"),
133 NewsSourceData::Computers ),
135 TQString::fromLatin1( "Slashdot: Features"),
136 TQString::fromLatin1( "http://slashdot.org/features.rdf"),
137 TQString::fromLatin1( "http://slashdot.org/favicon.ico"),
138 NewsSourceData::Computers ),
140 TQString::fromLatin1( "Slashdot: Apache"),
141 TQString::fromLatin1( "http://slashdot.org/apache.rdf"),
142 TQString::fromLatin1( "http://slashdot.org/favicon.ico"),
143 NewsSourceData::Computers ),
145 TQString::fromLatin1( "Slashdot: Books"),
146 TQString::fromLatin1( "http://slashdot.org/books.rdf"),
147 TQString::fromLatin1( "http://slashdot.org/favicon.ico"),
148 NewsSourceData::Computers ),
150 TQString::fromLatin1( "Jabber News"),
151 TQString::fromLatin1( "http://www.jabber.org/news/rss.xml"),
153 NewsSourceData::Computers ),
155 TQString::fromLatin1( "Freshmeat"),
156 TQString::fromLatin1( "http://freshmeat.net/backend/fm.rdf"),
157 TQString::fromLatin1( "http://freshmeat.net/favicon.ico"),
158 NewsSourceData::Computers ),
160 TQString::fromLatin1( "Linux Weekly News"),
161 TQString::fromLatin1( "http://www.lwn.net/headlines/rss"),
162 TQString::fromLatin1( "http://www.lwn.net/favicon.ico"),
163 NewsSourceData::Computers ),
165 TQString::fromLatin1( "heise online news"),
166 TQString::fromLatin1( "http://www.heise.de/newsticker/heise.rdf"),
167 TQString::fromLatin1( "http://www.heise.de/favicon.ico"),
168 NewsSourceData::Computers ),
170 TQString::fromLatin1( "RUS-CERT Ticker"),
171 TQString::fromLatin1( "http://cert.uni-stuttgart.de/ticker/rus-cert.rdf"),
172 TQString::fromLatin1( "http://cert.uni-stuttgart.de/favicon.ico"),
173 NewsSourceData::Computers ),
175 TQString::fromLatin1( "RUS-CERT Elsewhere"),
176 TQString::fromLatin1( "http://cert.uni-stuttgart.de/ticker/rus-cert-elsewhere.rdf"),
177 TQString::fromLatin1( "http://cert.uni-stuttgart.de/favicon.ico"),
178 NewsSourceData::Computers ),
180 TQString::fromLatin1( "Kuro5hin"),
181 TQString::fromLatin1( "http://kuro5hin.org/backend.rdf"),
182 TQString::fromLatin1( "http://kuro5hin.org/favicon.ico"),
183 NewsSourceData::Computers ),
185 TQString::fromLatin1( "Prolinux"),
186 TQString::fromLatin1( "http://www.pl-forum.de/backend/pro-linux.rdf"),
187 TQString::fromLatin1( "http://www.prolinux.de/favicon.ico"),
188 NewsSourceData::Computers ),
190 TQString::fromLatin1( "LinuxSecurity.com"),
191 TQString::fromLatin1( "http://www.linuxsecurity.com/linuxsecurity_hybrid.rdf"),
192 TQString::fromLatin1( "http://www.linuxsecurity.com/favicon.ico"),
193 NewsSourceData::Computers ),
195 TQString::fromLatin1( "Linux Game Tome"),
196 TQString::fromLatin1( "http://happypenguin.org/html/news.rdf"),
198 NewsSourceData::Computers ),
200 TQString::fromLatin1( "Mozilla"),
201 TQString::fromLatin1( "http://www.mozilla.org/news.rdf"),
202 TQString::fromLatin1( "http://www.mozillazine.org/favicon.ico"),
203 NewsSourceData::Computers ),
205 TQString::fromLatin1( "MozillaZine"),
206 TQString::fromLatin1( "http://www.mozillazine.org/contents.rdf"),
207 TQString::fromLatin1( "http://www.mozillazine.org/favicon.ico"),
208 NewsSourceData::Computers ),
210 TQString::fromLatin1( "Daemon News"),
211 TQString::fromLatin1( "http://daily.daemonnews.org/ddn.rdf.php3"),
213 NewsSourceData::Computers ),
215 TQString::fromLatin1( "use Perl;"),
216 TQString::fromLatin1( "http://use.perl.org/useperl.rdf"),
218 NewsSourceData::Computers ),
220 TQString::fromLatin1( "Root prompt"),
221 TQString::fromLatin1( "http://www.rootprompt.org/rss/"),
222 TQString::fromLatin1( "http://www.rootprompt.org/favicon.ico"),
223 NewsSourceData::Computers ),
225 TQString::fromLatin1( "SecurityFocus"),
226 TQString::fromLatin1( "http://www.securityfocus.com/topnews-rdf.html"),
227 TQString::fromLatin1( "http://www.securityfocus.com/favicon.ico"),
228 NewsSourceData::Computers ),
230 TQString::fromLatin1( "Arstechnica"),
231 TQString::fromLatin1( "http://arstechnica.com/etc/rdf/ars.rdf"),
232 TQString::fromLatin1( "http://arstechnica.com/favicon.ico"),
233 NewsSourceData::Computers ),
235 TQString::fromLatin1( "amiga-news.de - deutschsprachige Amiga Nachrichten"),
236 TQString::fromLatin1( "http://www.amiga-news.de/de/backends/news/index.rss"),
237 TQString::fromLatin1( "http://www.amiga-news.de/favicon.ico"),
238 NewsSourceData::Computers ),
240 TQString::fromLatin1( "amiga-news.de - english Amiga news"),
241 TQString::fromLatin1( "http://www.amiga-news.de/en/backends/news/index.rss"),
242 TQString::fromLatin1( "http://www.amiga-news.de/favicon.ico"),
243 NewsSourceData::Computers ),
245 TQString::fromLatin1( "FreshPorts - the place for ports"),
246 TQString::fromLatin1( "http://www.freshports.org/news.php3"),
247 TQString::fromLatin1( "http://www.freshports.org/favicon.ico"),
248 NewsSourceData::Computers ),
250 TQString::fromLatin1( "zez.org - about code "),
251 TQString::fromLatin1( "http://zez.org/article/rssheadlines"),
253 NewsSourceData::Computers ),
255 TQString::fromLatin1( "BSDatwork.com"),
256 TQString::fromLatin1( "http://BSDatwork.com/backend.php"),
257 TQString::fromLatin1( "http://BSDatwork.com/favicon.ico"),
258 NewsSourceData::Computers ),
260 TQString::fromLatin1( "FreshSource - the place for source"),
261 TQString::fromLatin1( "http://www.freshsource.org/news.php"),
262 TQString::fromLatin1( "http://www.freshsource.org/favicon.ico"),
263 NewsSourceData::Computers ),
265 TQString::fromLatin1( "The FreeBSD Diary"),
266 TQString::fromLatin1( "http://www.freebsddiary.org/news.php"),
267 TQString::fromLatin1( "http://www.freebsddiary.org/favicon.ico"),
268 NewsSourceData::Computers ),
271 TQString::fromLatin1( "tagesschau.de"),
272 TQString::fromLatin1( "http://www.tagesschau.de/newsticker.rdf"),
273 TQString::fromLatin1( "http://www.tagesschau.de/favicon.ico"),
274 NewsSourceData::Misc ),
276 TQString::fromLatin1( "CNN Top Stories"),
277 TQString::fromLatin1( "http://rss.cnn.com/rss/cnn_topstories.rss"),
278 TQString::fromLatin1( "http://www.cnn.com/favicon.ico"),
279 NewsSourceData::Misc ),
282 TQString::fromLatin1( "HotWired"),
283 TQString::fromLatin1( "http://www.wired.com/news/feeds/rss2/0,2610,,00.xml"),
284 TQString::fromLatin1( "http://www.hotwired.com/favicon.ico"),
285 NewsSourceData::Misc ),
287 TQString::fromLatin1( "The Register"),
288 TQString::fromLatin1( "http://www.theregister.co.uk/headlines.rss"),
289 TQString::fromLatin1( "http://www.theregister.co.uk/favicon.ico"),
290 NewsSourceData::Misc ),
292 TQString::fromLatin1( "Christian Science Monitor" ),
293 TQString::fromLatin1( "http://www.csmonitor.com/rss/csm.rss"),
294 TQString::fromLatin1( "http://www.csmonitor.com/favicon.ico"),
295 NewsSourceData::Misc ),
299 TQString::fromLatin1( "nippon.it"),
300 TQString::fromLatin1( "http://www.nippon.it/backend.it.php"),
301 TQString::fromLatin1( "http://www.nippon.it/favicon.ico"),
302 NewsSourceData::Society ),
304 TQString::fromLatin1( "gflash" ),
305 TQString::fromLatin1( "http://www.gflash.de/backend.php"),
306 TQString::fromLatin1( "http://www.gflash.de/favicon.ico"),
307 NewsSourceData::Society ),
309 TQString::fromLatin1( "Quintessenz" ),
310 TQString::fromLatin1( "http://quintessenz.at/cgi-bin/rdf"),
311 TQString::fromLatin1( "http://quintessenz.at/favicon.ico"),
312 NewsSourceData::Society )
|