diff --git a/resources/recipes/anchorage_daily.recipe b/resources/recipes/anchorage_daily.recipe new file mode 100644 index 0000000000..4ce2f13a14 --- /dev/null +++ b/resources/recipes/anchorage_daily.recipe @@ -0,0 +1,40 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1278347258(BasicNewsRecipe): + title = u'Anchorage Daily News' + __author__ = 'rty' + oldest_article = 7 + max_articles_per_feed = 100 + + feeds = [(u'Alaska News', u'http://www.adn.com/news/alaska/index.xml'), + (u'Business', u'http://www.adn.com/money/index.xml'), + (u'Sports', u'http://www.adn.com/sports/index.xml'), + (u'Politics', u'http://www.adn.com/politics/index.xml'), + (u'Lifestyles', u'http://www.adn.com/life/index.xml'), + (u'Iditarod', u'http://www.adn.com/iditarod/index.xml') + ] + description = ''''Alaska's Newspaper''' + publisher = 'http://www.adn.com' + category = 'news, Alaska, Anchorage' + language = 'en' + extra_css = ''' + p{font-weight: normal;text-align: justify} + ''' + remove_javascript = True + use_embedded_content = False + no_stylesheets = True + language = 'en' + encoding = 'latin-1' + conversion_options = {'linearize_tables':True} + masthead_url = 'http://media.adn.com/includes/assets/images/adn_logo.2.gif' + + keep_only_tags = [ + dict(name='div', attrs={'class':'left_col story_mainbar'}), + ] + remove_tags = [ + dict(name='div', attrs={'class':'story_tools'}), + dict(name='p', attrs={'class':'ad_label'}), + ] + remove_tags_after = [ + dict(name='div', attrs={'class':'advertisement'}), + ] diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py index 709f91da25..80a7e6e004 100644 --- a/src/calibre/gui2/ui.py +++ b/src/calibre/gui2/ui.py @@ -546,7 +546,8 @@ class Main(MainWindow, Ui_MainWindow, DeviceMixin, ToolbarMixin, # {{{ ''' MSG = _('is the result of the efforts of many volunteers from all ' 'over the world. If you find it useful, please consider ' - 'donating to support its development.') + 'donating to support its development. Your donation helps ' + 'keep calibre development going.') HTML = u'''