View Single Post
Old 10-27-2021, 01:49 PM   #1
tlf
Member
tlf began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2021
Device: Kindle Oasis
How good does my recipe have to be to be included in Calibre?

Hí,

I want to make some recipes for specific languages and topics. This is what I have so far. The themes are mixed here in my personal one but I will change to separate recipes later. Is this kind of code enough to be included?

Code:
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1635356798(BasicNewsRecipe):
    title          = 'Mo bhlaganna'
    oldest_article = 7
    max_articles_per_feed = 10
    auto_cleanup   = True

    feeds          = [
        ('Galway Daily', 'https://www.galwaydaily.com/feed/'),
        ('Journal.ie', 'https://thejournal.ie/feed/'),
        ('Nuacht RTÉ', 'https://www.rte.ie/feeds/rss/?index=/gaeilge/'),
        ('Galway Daily', 'https://www.galwaydaily.com/feed/'),
        ('Mrs Mindfulness', 'https://mrsmindfulness.com/feed/'),
        ('NÓS', 'https://nos.ie/feed/'),
        ('PEIG', 'https://peig.ie/feed/'),
        ('Gaeilge ar Reddit', 'http://reddit.com/r/gaeilge/.rss'),
        ('Survival International', 'http://survivalinternational.org/feeds'),
        ('Tiny Buddah', 'https://feeds.feedburner.com/tinybuddha'),
        ('Zen Habits', 'https://zenhabits.net/feed/'),
        ('Indianz', 'https://indianz.com/News/feed/'),
    ]
tlf is offline   Reply With Quote