Debian Codegraph @

recipes/linux_news_de.recipe

raw
1 #!/usr/bin/env python2
2 # vim:fileencoding=utf-8
3 from __future__ import absolute_import, division, print_function, unicode_literals
4
5 from calibre.web.feeds.news import BasicNewsRecipe
6
7
8 class AdvancedUserRecipe1591780224(BasicNewsRecipe):
9 title = 'Linux News'
10 # Title of the Recipe
11 cover_url = 'https://linuxnews.de/wp-content/themes/linuxnews/images/linuxnews-logo.png'
12 # Author
13 __author__ = 'Volker Heggemann, VoHe'
14 # oldest article to download (in days)
15 oldest_article = 4
16 # speed up the download on fast computers be careful (I test max.20)
17 # ---- can be edit by user
18 simultaneous_downloads = 10
19 # description, some Reader show this in titlepage
20 description = 'Linux news - from https://linuxnews.de'
21 # Who published the content?
22 publisher = 'https://linuxnews.de'
23 # What is the content of?
24 category = 'Linux'
25 use_embedded_content = False
26 language = 'de'
27 # Removes empty feeds - why keep them!?
28 remove_empty_feeds = True
29
30 # remove the rubbish (in ebook)
31 auto_cleanup = True
32 # now the content description and URL follows
33 # feel free to add, wipe out what you need ---- can be edit by user
34 #
35 # some of this are double
36 #
37 #
38 # Make some tests, may you first comment all of them out, and step by step you add what you'll need?
39 #
40
41 feeds = [
42 ('Linux News', 'http://feeds.feedburner.com/linuxnewsde?fmt=xml'),
43 ]