diff --git a/recipes/blog_biszopa.recipe b/recipes/blog_biszopa.recipe deleted file mode 100644 index 7393f23f3b..0000000000 --- a/recipes/blog_biszopa.recipe +++ /dev/null @@ -1,30 +0,0 @@ -__license__ = 'GPL v3' -from calibre.web.feeds.news import BasicNewsRecipe - -class BlogBiszopa(BasicNewsRecipe): - title = u'Blog Biszopa' - __author__ = 'fenuks' - description = u'Zapiski z Granitowego Miasta' - category = 'history' - #publication_type = '' - language = 'pl' - #encoding = '' - #extra_css = '' - cover_url = 'http://blogbiszopa.pl/wp-content/themes/biszop/images/logo.png' - masthead_url = '' - use_embedded_content = False - oldest_article = 7 - max_articles_per_feed = 100 - no_stylesheets = True - remove_empty_feeds = True - remove_javascript = True - remove_attributes = ['style', 'font'] - ignore_duplicate_articles = {'title', 'url'} - - keep_only_tags = [dict(id='main-content')] - remove_tags = [dict(name='footer')] - #remove_tags_after = {} - #remove_tags_before = {} - - feeds = [(u'Artyku\u0142y', u'http://blogbiszopa.pl/feed/')] - diff --git a/recipes/icons/blog_biszopa.png b/recipes/icons/blog_biszopa.png deleted file mode 100644 index 7c794b21c3..0000000000 Binary files a/recipes/icons/blog_biszopa.png and /dev/null differ diff --git a/recipes/icons/korespondent.png b/recipes/icons/korespondent.png deleted file mode 100644 index dc31544560..0000000000 Binary files a/recipes/icons/korespondent.png and /dev/null differ diff --git a/recipes/korespondent.recipe b/recipes/korespondent.recipe deleted file mode 100644 index fff0946593..0000000000 --- a/recipes/korespondent.recipe +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- - -__license__ = 'GPL v3' -__copyright__ = '2011, Attis ' -__version__ = 'v. 0.1' - -import re -from calibre.web.feeds.recipes import BasicNewsRecipe - -class KorespondentPL(BasicNewsRecipe): - title = u'Korespondent.pl' - publisher = u'Korespondent.pl' - description = u'Centrum wolnorynkowe - serwis ludzi wolnych' - encoding = 'utf-8' - __author__ = 'Attis' - language = 'pl' - oldest_article = 15 - max_articles_per_feed = 100 - remove_javascript = True - no_stylesheets = True - - keep_only_tags = [dict(name='div', attrs={'class':'publicystyka'})] - remove_tags = [{'name': 'meta'}, {'name':'div', 'attrs': {'class': 'zdjecie'} }] - extra_css = '.naglowek {font-size: small}\n .tytul {font-size: x-large; padding-bottom: 10px; padding-top: 30px} \n .external {font-size: small}' - - preprocess_regexps = [ - (re.compile(u'' ), - (re.compile(u'

Więcej'), - lambda match:'Więcej' ), - (re.compile(u'target="_blank"'), - lambda match:'target="_blank" class="external"' ), - (re.compile(u'

\nPoczytaj inne teksty w Serwisie wolnorynkowym Korespondent.pl.*', re.DOTALL|re.IGNORECASE), - lambda match: ''), - ] - - feeds = [(u'Serwis informacyjny', u'http://korespondent.pl/rss.xml')]