diff --git a/recipes/gofin_pl.recipe b/recipes/gofin_pl.recipe new file mode 100644 index 0000000000..0063e889d4 --- /dev/null +++ b/recipes/gofin_pl.recipe @@ -0,0 +1,26 @@ +#!/usr/bin/env python + +__license__ = 'GPL v3' +__author__ = 'teepel ' + +''' +gofin.pl +''' + +from calibre.web.feeds.news import BasicNewsRecipe + +class gofin(AutomaticNewsRecipe): + title = u'Gofin' + __author__ = 'teepel ' + language = 'pl' + description =u'Portal Podatkowo-Księgowy' + INDEX='http://gofin.pl' + oldest_article = 7 + max_articles_per_feed = 100 + remove_empty_feeds= True + simultaneous_downloads = 5 + remove_javascript=True + no_stylesheets=True + auto_cleanup = True + + feeds = [(u'Podatki', u'http://www.rss.gofin.pl/podatki.xml'), (u'Prawo Pracy', u'http://www.rss.gofin.pl/prawopracy.xml'), (u'Rachunkowo\u015b\u0107', u'http://www.rss.gofin.pl/rachunkowosc.xml'), (u'Sk\u0142adki, zasi\u0142ki, emerytury', u'http://www.rss.gofin.pl/zasilki.xml'),(u'Firma', u'http://www.rss.gofin.pl/firma.xml'), (u'Prawnik radzi', u'http://www.rss.gofin.pl/prawnikradzi.xml')] diff --git a/recipes/icons/gofin_pl.png b/recipes/icons/gofin_pl.png new file mode 100644 index 0000000000..c5329969a3 Binary files /dev/null and b/recipes/icons/gofin_pl.png differ diff --git a/recipes/icons/histmag.png b/recipes/icons/histmag.png new file mode 100644 index 0000000000..80e0f45fb9 Binary files /dev/null and b/recipes/icons/histmag.png differ diff --git a/recipes/icons/optyczne_pl.png b/recipes/icons/optyczne_pl.png new file mode 100644 index 0000000000..f8ad6162c5 Binary files /dev/null and b/recipes/icons/optyczne_pl.png differ diff --git a/recipes/optyczne_pl.recipe b/recipes/optyczne_pl.recipe new file mode 100644 index 0000000000..1eb9fa2749 --- /dev/null +++ b/recipes/optyczne_pl.recipe @@ -0,0 +1,41 @@ +#!/usr/bin/env python +__license__ = 'GPL v3' + +from calibre.web.feeds.news import BasicNewsRecipe + +class OptyczneRecipe(BasicNewsRecipe): + __author__ = u'Artur Stachecki ' + language = 'pl' + + title = u'optyczne.pl' + category = u'News' + description = u'Najlepsze testy obiektywów, testy aparatów cyfrowych i testy lornetek w sieci!' + cover_url='' + remove_empty_feeds= True + no_stylesheets=True + oldest_article = 7 + max_articles_per_feed = 100000 + recursions = 0 + + no_stylesheets = True + remove_javascript = True + + keep_only_tags =[] + keep_only_tags.append(dict(name = 'div', attrs = {'class' : 'news'})) + + remove_tags =[] + remove_tags.append(dict(name = 'div', attrs = {'class' : 'center'})) + remove_tags.append(dict(name = 'div', attrs = {'class' : 'news_foto'})) + remove_tags.append(dict(name = 'div', attrs = {'align' : 'right'})) + + extra_css = ''' + body {font-family: Arial,Helvetica,sans-serif;} + h1{text-align: left;} + h2{font-size: medium; font-weight: bold;} + p.lead {font-weight: bold; text-align: left;} + .authordate {font-size: small; color: #696969;} + .fot{font-size: x-small; color: #666666;} + ''' + feeds = [ + ('Aktualnosci', 'http://www.optyczne.pl/rss.xml'), + ]