#!/usr/bin/env python
# vim:fileencoding=utf-8

from __future__ import absolute_import, division, print_function, unicode_literals
from calibre.web.feeds.news import BasicNewsRecipe


class cachys_blog(BasicNewsRecipe):
    # with the knowledge and consent of the owner
    title = 'Cachys Blog'
    cover_url = 'https://upload.wikimedia.org/wikipedia/commons/f/f1/Caschys_Blog_Logo.png'
    # Author of the recipe
    __author__ = 'Volker Heggemann, VoHe'
    # description, some Reader show this in titlepage
    description = u'Smart Home, Software, Hardware, Mobile Computing & Co.'
    # Who published the content?
    publisher = u'https://stadt-bremerhaven.de/'
    # What is the content of?
    category = u'Technik - News'
    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
    oldest_article = 2
    max_articles_per_feed = 100
        
    feeds          = [
        ('Cachys', 'https://stadt-bremerhaven.de/feed/'),
    ]
    
    