From bbefad58a4eb593cf6783f90e228d138f184ba51 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 30 Oct 2009 19:43:23 -0600 Subject: [PATCH] Fix #3895 (New recipe for economic suplement of Clarin newspaper - iEco) --- resources/images/news/ieco.png | Bin 0 -> 1142 bytes resources/recipes/ieco.recipe | 40 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 resources/images/news/ieco.png create mode 100644 resources/recipes/ieco.recipe diff --git a/resources/images/news/ieco.png b/resources/images/news/ieco.png new file mode 100644 index 0000000000000000000000000000000000000000..8d15d9e40dc16f6e77dc77df0c2be03a6f18c06d GIT binary patch literal 1142 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzwj^(N7l!{JxM1({$v_d#0*}aI zAngIhZYQ(tK!Rljj_E*J0gT&!&6&%`-bwEuyxgpxxp- zKj)k?XE0;<=g#n`f}Q{VxWISY7Lqnd-}e=9jH!`$G+$Pj99v2$7JjYU^;0=1@gEaJFc9PIviuaNKR zt4^5*iWRyR1bJ37oMw}4RO?-p+4TC*=JcC_3XF?5a#xAEZ_5>K6}()~6||bcE3ET@ zk;B=Q-RXT_dfb*O^d-nGJk442|L~s^@~#IG&RQ~fmYGalDADWw^3UI2TpNDMZSOVK z5fWwT5YChp0)bN-xUkH*C%V<)7LARULSwz-{V@%_tTz! zIl6MrpDLwmw%$NZlK)MosmI$3W*?vQ+}?ir+8!$T-*VcNf3scogvXgR zR8NyA=Y6^VjrafWk<~Z-9b=DAic#MLw6^Pew@_Sbcd2;3{*mgZCm(KapLF}&$=UYz zbaEbsY8+*E1zM#`&$*dJf4x?0wop-_s%r8?_jujE^qQX{aCKBs$F^8cc;y7mYK7D zzvRC6`p;`NaT%Q|xVI`k^r-b`mH)1BJ-gfH?6Zj7*dD&nWPhd?FsOn4pO*SZZ`!B4 z$S(daq5a)QUzAw&xG6K-+2<|5a%Gk2pX+v3*Iu|3f4O_{mZsWd&Q>SJ$QrNUpn%njm`+H0?(O9}6ceVmY zKwH!+<6~c|WG|asW?%i@NU9eYKHGAm&We>?^vjgs`Eb5=%e9bIQ@<$AetQ1ev+Xs^ z2|)OunE400$t=%{dE4G_1M{qEiEBhjN@7W>RdP`(kYX@0FtF4$G|)9R2r;y@GBL6; yFwiwH1ClBd$v;svYx>pz literal 0 HcmV?d00001 diff --git a/resources/recipes/ieco.recipe b/resources/recipes/ieco.recipe new file mode 100644 index 0000000000..8c59d033a1 --- /dev/null +++ b/resources/recipes/ieco.recipe @@ -0,0 +1,40 @@ +#!/usr/bin/env python + +__license__ = 'GPL v3' +__copyright__ = '2009, Darko Miletic ' +''' +www.ieco.clarin.com +''' +from calibre.web.feeds.news import BasicNewsRecipe + +class iEco(BasicNewsRecipe): + title = 'iEco Clarin' + __author__ = 'Darko Miletic' + description = 'iEco, el suplemento economico de Clarin. Las ultimas noticias de Empresas y Negocios, Mercados y Finanzas, Economia y Tecnologia de la Argentina y el mundo.' + oldest_article = 7 + max_articles_per_feed = 100 + no_stylesheets = True + use_embedded_content = False + encoding = 'utf-8' + publisher = 'Grupo Clarin' + category = 'news, economia, mercados, bolsa de valores, finanzas, empresas, negocios, empleos, emprendedores, marketinguniversidades, tecnologia, agronegocios, noticias, informacion' + language = 'es' + cover_url = 'http://www.ieco.clarin.com/static2/images/Tapa-PDF.gif' + extra_css = ' #bd{font-family: sans-serif} ' + + conversion_options = { + 'comment' : description + , 'tags' : category + , 'publisher' : publisher + , 'author' : publisher + , 'language' : language + } + + feeds = [(u'Articulos', u'http://www.ieco.clarin.com/rss/')] + + keep_only_tags = [dict(name='div', attrs={'id':'bd'})] + remove_tags = [dict(name=['object','link'])] + + + def print_version(self, url): + return url + '?print=1'