| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
|
| 4 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 5 |
|
| 6 |
|
| 7 |
class cachys_blog(BasicNewsRecipe): |
| 8 |
# with the knowledge and consent of the owner |
| 9 |
title = 'Cachys Blog' |
| 10 |
cover_url = 'https://upload.wikimedia.org/wikipedia/commons/f/f1/Caschys_Blog_Logo.png' |
| 11 |
# Author of the recipe |
| 12 |
__author__ = 'Volker Heggemann, VoHe' |
| 13 |
# description, some Reader show this in titlepage |
| 14 |
description = 'Smart Home, Software, Hardware, Mobile Computing & Co.' |
| 15 |
# Who published the content? |
| 16 |
publisher = 'https://stadt-bremerhaven.de/' |
| 17 |
# What is the content of? |
| 18 |
category = 'Technik - News' |
| 19 |
use_embedded_content = False |
| 20 |
language = 'de' |
| 21 |
# Removes empty feeds - why keep them!? |
| 22 |
remove_empty_feeds = True |
| 23 |
|
| 24 |
# remove the rubbish (in ebook) |
| 25 |
auto_cleanup = True |
| 26 |
# now the content description and URL follows |
| 27 |
oldest_article = 2 |
| 28 |
max_articles_per_feed = 100 |
| 29 |
|
| 30 |
feeds = [ |
| 31 |
('Cachys', 'https://stadt-bremerhaven.de/feed/'), |
| 32 |
] |