Debian Codegraph @

recipes/t3n_de.recipe

raw
1 #!/usr/bin/env python2
2 from __future__ import absolute_import, division, print_function, unicode_literals
3
4 from calibre.web.feeds.news import BasicNewsRecipe
5
6
7 class germant3n(BasicNewsRecipe):
8 title = 't3n.de News'
9 cover_url = 'https://upload.wikimedia.org/wikipedia/commons/6/66/Logo_t3n_mit_Schriftzug.png'
10 __author__ = 'Volker Heggemann, VoHe'
11 # description, some Reader show this in titlepage
12 description = 'News from t3n.de - there is a pro version too: https://t3n.de/pro/'
13 # Who published the content?
14 publisher = 't3n.de/social-media newsfeed'
15 # What is the content of?
16 category = 'Wir sind digitale Pioniere.'
17 use_embedded_content = False
18 language = 'de'
19 # Removes empty feeds - why keep them!?
20 remove_empty_feeds = True
21
22 # remove the rubbish (in ebook)
23 auto_cleanup = True
24 # now the content description and URL follows
25 # feel free to add, wipe out what you need ---- can be edit by user
26 #
27 # some of this are double
28 #
29 #
30 # Make some tests, may you first comment all of them out, and step by step you add what you'll need?
31 #
32
33 feeds = [
34 ('digitale Wirtschaft', 'https://t3n.de/tag/digitale-wirtschaft/rss.xml'),
35 ('Software und Infrastruktur', 'https://t3n.de/tag/software-infrastruktur/rss.xml'),
36 ('Entwicklung und Design', 'https://t3n.de/tag/entwicklung-design/rss.xml'),
37 ('Marketing', 'https://t3n.de/tag/marketing/rss.xml'),
38 ('Gadgets und Livestyle', 'https://t3n.de/tag/gadgets-lifestyle/rss.xml'),
39 ('Startups', 'https://t3n.de/tag/startups/rss.xml'),
40 ('Karriere', 'https://t3n.de/tag/karriere/rss.xml'),
41 ('E-Commerce', 'https://t3n.de/tag/e-commerce/rss.xml'),
42 ('Mobilität', 'https://t3n.de/tag/mobilitaet/rss.xml'),
43 ('Digitale Gesellschaft', 'https://t3n.de/tag/digitale-gesellschaft/rss.xml'),
44 ('Podcast', 'http://feeds.soundcloud.com/users/soundcloud:users:213461595/sounds.rss'),
45 # use comment block if you don't need something
46 # ('Software und Infrastruktur', ''),
47 ]