| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 4 |
|
| 5 |
|
| 6 |
class T_Online_Recipe(BasicNewsRecipe): |
| 7 |
title = 'T-Online' |
| 8 |
oldest_article = 3 |
| 9 |
max_articles_per_feed = 100 |
| 10 |
auto_cleanup = True |
| 11 |
__author__ = 'vo_he' |
| 12 |
description = 'RSS-Feeds von T-Online.de - Informations set to Germany' |
| 13 |
publisher = 'http:/feeds.t-online.de/rss' |
| 14 |
publication_type = 'all' |
| 15 |
language = 'de' |
| 16 |
cover_url = 'http://vignette2.wikia.nocookie.net/logopedia/images/2/2c/Hjh.png' |
| 17 |
|
| 18 |
no_stylesheets = True |
| 19 |
remove_javascript = True |
| 20 |
remove_empty_feeds = True |
| 21 |
|
| 22 |
scale_news_images = (600, 800) |
| 23 |
|
| 24 |
masthead_url = 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/T-online.de.svg/1280px-T-online.de.svg.png' |
| 25 |
# all possible feeds look at: |
| 26 |
# https://www.t-online.de/themen/rss-feed/ |
| 27 |
# there are tons of feeds, just type the words of interest after the http://feeds.t-online.de/rss/ link. |
| 28 |
feeds = [ |
| 29 |
('Germany', 'http://feeds.t-online.de/rss/deutschland'), |
| 30 |
('NEWS', 'http://feeds.t-online.de/rss/nachrichten'), |
| 31 |
('News Ticker', 'http://feeds.t-online.de/rss/news-ticker'), |
| 32 |
('Polizei', 'http://feeds.t-online.de/rss/polizei'), |
| 33 |
('Sport', 'http://feeds.t-online.de/rss/sport'), |
| 34 |
('Fußball DE', 'http://feeds.t-online.de/rss/fussball'), |
| 35 |
('Fußball int.', 'http://feeds.t-online.de/rss/fussball-international'), |
| 36 |
('Formel 1', 'http://feeds.t-online.de/rss/formel1'), |
| 37 |
('Freizeit', 'http://feeds.t-online.de/rss/freizeit'), |
| 38 |
('Ratgeber', 'http://feeds.t-online.de/rss/ratgeber'), |
| 39 |
('Tourismus', 'http://feeds.t-online.de/rss/tourismus'), |
| 40 |
('TV', 'http://feeds.t-online.de/rss/tv'), |
| 41 |
('Wetter', 'http://feeds.t-online.de/rss/wetter'), |
| 42 |
('Hamburg', 'http://feeds.t-online.de/rss/hamburg'), |
| 43 |
('Berlin', 'http://feeds.t-online.de/rss/berlin'), |
| 44 |
('Frankfurt', 'http://feeds.t-online.de/rss/frankfurt'), |
| 45 |
('München', 'http://feeds.t-online.de/rss/muenchen'), |
| 46 |
] |