diff --git a/resources/recipes/leduc.recipe b/resources/recipes/leduc.recipe new file mode 100644 index 0000000000..79ab693115 --- /dev/null +++ b/resources/recipes/leduc.recipe @@ -0,0 +1,40 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1292550626(BasicNewsRecipe): + title = 'Leduc - Wetaskiwin Pipestone Flyer' + __author__ = 'Brian Hahn' + description = 'News from Alberta, Canada' + oldest_article = 56 + max_articles_per_feed = 100 + no_stylesheets = True + #delay = 1 + use_embedded_content = False + publisher = 'Pipestone Publishing' + category = 'News, Alberta, Canada' + language = 'en_CA' + encoding = 'iso-8859-1' + cover_url = 'http://www.pipestoneflyer.ca/images/calibre-cover.jpg' + remove_tags_before = dict(id='ContentPanel') + remove_tags_after = dict(id='ContentPanel') + remove_tags = [dict(name='div', attrs={'id':'StoryNav'}),dict(name='div', attrs={'id':'BottomAds'}),dict(name='div', attrs={'id':'MoreStoryLinks'})] + extra_css = 'img { margin:5px }' + feeds = [ +('Feature', 'http://www.pipestoneflyer.ca/Feature.rss'), +('Editors Desk', 'http://www.pipestoneflyer.ca/Editor%27s%20Desk.rss'), +('Letters', 'http://www.pipestoneflyer.ca/Letters.rss'), +('A Loco Viewpoint', 'http://www.pipestoneflyer.ca/A%20Loco%20Viewpoint.rss'), +('Lifes Doorway', 'http://www.pipestoneflyer.ca/Life%27s%20Doorway.rss'), +('From the Otherside', 'http://www.pipestoneflyer.ca/From%20the%20Otherside.rss'), +('Opinion', 'http://www.pipestoneflyer.ca/Opinion.rss'), +('Community', 'http://www.pipestoneflyer.ca/Community.rss'), +('Sports', 'http://www.pipestoneflyer.ca/Sports.rss'), +('Chambers', 'http://www.pipestoneflyer.ca/Chambers.rss'), +('Government', 'http://www.pipestoneflyer.ca/Government.rss'), +('Environment', 'http://www.pipestoneflyer.ca/Environment.rss'), +('Health', 'http://www.pipestoneflyer.ca/Health.rss'), +('Funnies', 'http://www.pipestoneflyer.ca/Funnies.rss'), +('Faith', 'http://www.pipestoneflyer.ca/Faith.rss'), +('News and Views', 'http://www.pipestoneflyer.ca/News%20and%20Views.rss'), +('Obituaries', 'http://www.pipestoneflyer.ca/Obituaries.rss'), +('Police Blotter', 'http://www.pipestoneflyer.ca/Police%20Blotter.rss'), +]