From d2f5d71ddd6287b27cd1649f101a667687aee0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Thu, 21 Mar 2013 00:36:09 +0100 Subject: [PATCH] add blog_biszopa --- recipes/blog_biszopa.recipe | 30 ++++++++++++++++++++++++++++++ recipes/icons/blog_biszopa.png | Bin 0 -> 755 bytes 2 files changed, 30 insertions(+) create mode 100644 recipes/blog_biszopa.recipe create mode 100644 recipes/icons/blog_biszopa.png diff --git a/recipes/blog_biszopa.recipe b/recipes/blog_biszopa.recipe new file mode 100644 index 0000000000..7393f23f3b --- /dev/null +++ b/recipes/blog_biszopa.recipe @@ -0,0 +1,30 @@ +__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 new file mode 100644 index 0000000000000000000000000000000000000000..eaba074cde3292f57b7f885fe740b86b0c5a8ef9 GIT binary patch literal 755 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstUx|vage(c z!@6@aFM%9|WRD45bDP46hOx7_4S6Fo+k-*%fF5l=v3l z6XN>+|Np-qK75)o^-XH}hnCit?jG+-%YRt*JX;ZFkhif2)+-{kik5_xA0wvbi&7?xVHq9