linuxnews.de and t3n.de by Volker Heggemann

This commit is contained in:
Kovid Goyal 2020-08-08 19:57:09 +05:30
parent c88b4b091a
commit 27249c915d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,42 @@
#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1591780224(BasicNewsRecipe):
title = 'Linux News'
# Titel of the Recipe
cover_url = 'https://linuxnews.de/wp-content/themes/linuxnews/images/linuxnews-logo.png'
# Author
__author__ = 'Volker Heggemann, VoHe'
# oldes article to download (in days)
oldest_article = 4
# speed up the download on fast computers be carefull (I test max.20)
# ---- can be edit by user
simultaneous_downloads = 10
# description, some Reader show this in titlepage
description = u'Linux news - from https://linuxnews.de'
# Who published the content?
publisher = u'https://linuxnews.de'
# What is the content of?
category = u'Linux'
use_embedded_content = False
language = 'de'
# Removes empty feeds - why keep them!?
remove_empty_feeds = True
# remove the rubbish (in ebook)
auto_cleanup = True
# now the content description and URL follows
# feel free to add, wipe out what you need ---- can be edit by user
#
# some of this are double
#
#
# Make some tests, may you first comment all of them out, and step by step you add what you'll need?
#
feeds = [
('Linux News', 'http://feeds.feedburner.com/linuxnewsde?fmt=xml'),
]

54
recipes/t3n_de.recipe Normal file
View File

@ -0,0 +1,54 @@
#!/usr/bin/env python2
from __future__ import absolute_import, division, print_function, unicode_literals
from calibre.web.feeds.news import BasicNewsRecipe
class germant3n(BasicNewsRecipe):
title = 't3n.de News'
cover_url = 'https://upload.wikimedia.org/wikipedia/commons/6/66/Logo_t3n_mit_Schriftzug.png'
__author__ = 'Volker Heggemann, VoHe'
# description, some Reader show this in titlepage
description = u'News from t3n.de - there is a pro version too: https://t3n.de/pro/'
# Who published the content?
publisher = u't3n.de/social-media newsfeed'
# What is the content of?
category = u'Wir sind digitale Pioniere.'
use_embedded_content = False
language = 'de'
# Removes empty feeds - why keep them!?
remove_empty_feeds = True
# remove the rubbish (in ebook)
auto_cleanup = True
# now the content description and URL follows
# feel free to add, wipe out what you need ---- can be edit by user
#
# some of this are double
#
#
# Make some tests, may you first comment all of them out, and step by step you add what you'll need?
#
feeds = [
('digitale Wirtschaft',
'https://t3n.de/tag/digitale-wirtschaft/rss.xml'),
('Software und Infrastruktur',
'https://t3n.de/tag/software-infrastruktur/rss.xml'),
('Entwicklung und Design',
'https://t3n.de/tag/entwicklung-design/rss.xml'),
('Marketing', 'https://t3n.de/tag/marketing/rss.xml'),
('Gadgets und Livestyle',
'https://t3n.de/tag/gadgets-lifestyle/rss.xml'),
('Startups', 'https://t3n.de/tag/startups/rss.xml'),
('Karriere', 'https://t3n.de/tag/karriere/rss.xml'),
('E-Commerce', 'https://t3n.de/tag/e-commerce/rss.xml'),
('Mobilität', 'https://t3n.de/tag/mobilitaet/rss.xml'),
('Digitale Gesellschaft',
'https://t3n.de/tag/digitale-gesellschaft/rss.xml'),
('Podcast',
'http://feeds.soundcloud.com/users/soundcloud:users:213461595/sounds.rss'
),
# use comment block if you don't need something
# ('Software und Infrastruktur', ''),
]