From 02f8f08b650fbe86aec7a6ece5f9af2f3910a90e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 21 Sep 2011 10:50:11 -0600 Subject: [PATCH] Various Polish news sources by fenuks --- recipes/benchmark_pl.recipe | 70 ++++++++++++++++++++++++++++++++ recipes/cgm_pl.recipe | 40 ++++++++++++++++++ recipes/dzieje_pl.recipe | 17 ++++++++ recipes/greenlinux_pl.recipe | 13 ++++++ recipes/historia_pl.recipe | 11 +++++ recipes/icons/benchmark_pl.png | Bin 0 -> 658 bytes recipes/icons/cgm_pl.png | Bin 0 -> 837 bytes recipes/icons/dzieje_pl.png | Bin 0 -> 642 bytes recipes/icons/greenlinux_pl.png | Bin 0 -> 648 bytes recipes/icons/historia_pl.png | Bin 0 -> 806 bytes recipes/icons/lomza.png | Bin 0 -> 2099 bytes recipes/ksiazka_pl.recipe | 28 +++++++++++++ recipes/lomza.recipe | 14 +++++++ recipes/tablety_pl.recipe | 12 ++++++ 14 files changed, 205 insertions(+) create mode 100644 recipes/benchmark_pl.recipe create mode 100644 recipes/cgm_pl.recipe create mode 100644 recipes/dzieje_pl.recipe create mode 100644 recipes/greenlinux_pl.recipe create mode 100644 recipes/historia_pl.recipe create mode 100644 recipes/icons/benchmark_pl.png create mode 100644 recipes/icons/cgm_pl.png create mode 100644 recipes/icons/dzieje_pl.png create mode 100644 recipes/icons/greenlinux_pl.png create mode 100644 recipes/icons/historia_pl.png create mode 100644 recipes/icons/lomza.png create mode 100644 recipes/ksiazka_pl.recipe create mode 100644 recipes/lomza.recipe create mode 100644 recipes/tablety_pl.recipe diff --git a/recipes/benchmark_pl.recipe b/recipes/benchmark_pl.recipe new file mode 100644 index 0000000000..d5b4997aa7 --- /dev/null +++ b/recipes/benchmark_pl.recipe @@ -0,0 +1,70 @@ +from calibre.web.feeds.news import BasicNewsRecipe +import re +class Benchmark_pl(BasicNewsRecipe): + title = u'Benchmark.pl' + __author__ = 'fenuks' + description = u'benchmark.pl -IT site' + cover_url = 'http://www.ieaddons.pl/benchmark/logo_benchmark_new.gif' + category = 'IT' + language = 'pl' + oldest_article = 8 + max_articles_per_feed = 100 + no_stylesheets=True + preprocess_regexps = [(re.compile(ur'\bWięcej o .*', re.DOTALL|re.IGNORECASE), lambda match: '')] + keep_only_tags=[dict(name='div', attrs={'class':['m_zwykly', 'gallery']})] + remove_tags_after=dict(name='div', attrs={'class':'body'}) + remove_tags=[dict(name='div', attrs={'class':['kategoria', 'socialize', 'thumb', 'panelOcenaObserwowane', 'categoryNextToSocializeGallery']})] + INDEX= 'http://www.benchmark.pl' + feeds = [(u'Aktualności', u'http://www.benchmark.pl/rss/aktualnosci-pliki.xml'), + (u'Testy i recenzje', u'http://www.benchmark.pl/rss/testy-recenzje-minirecenzje.xml')] + + + def append_page(self, soup, appendtag): + nexturl = soup.find('span', attrs={'class':'next'}) + while nexturl is not None: + nexturl= self.INDEX + nexturl.parent['href'] + soup2 = self.index_to_soup(nexturl) + nexturl=soup2.find('span', attrs={'class':'next'}) + pagetext = soup2.find(name='div', attrs={'class':'body'}) + appendtag.find('div', attrs={'class':'k_ster'}).extract() + pos = len(appendtag.contents) + appendtag.insert(pos, pagetext) + if appendtag.find('div', attrs={'class':'k_ster'}) is not None: + appendtag.find('div', attrs={'class':'k_ster'}).extract() + + + def image_article(self, soup, appendtag): + nexturl=soup.find('div', attrs={'class':'preview'}) + if nexturl is not None: + nexturl=nexturl.find('a', attrs={'class':'move_next'}) + image=appendtag.find('div', attrs={'class':'preview'}).div['style'][16:] + image=self.INDEX + image[:image.find("')")] + appendtag.find(attrs={'class':'preview'}).name='img' + appendtag.find(attrs={'class':'preview'})['src']=image + appendtag.find('a', attrs={'class':'move_next'}).extract() + while nexturl is not None: + nexturl= self.INDEX + nexturl['href'] + soup2 = self.index_to_soup(nexturl) + nexturl=soup2.find('a', attrs={'class':'move_next'}) + image=soup2.find('div', attrs={'class':'preview'}).div['style'][16:] + image=self.INDEX + image[:image.find("')")] + soup2.find(attrs={'class':'preview'}).name='img' + soup2.find(attrs={'class':'preview'})['src']=image + pagetext=soup2.find('div', attrs={'class':'gallery'}) + pagetext.find('div', attrs={'class':'title'}).extract() + pagetext.find('div', attrs={'class':'thumb'}).extract() + pagetext.find('div', attrs={'class':'panelOcenaObserwowane'}).extract() + if nexturl is not None: + pagetext.find('a', attrs={'class':'move_next'}).extract() + pagetext.find('a', attrs={'class':'move_back'}).extract() + pos = len(appendtag.contents) + appendtag.insert(pos, pagetext) + + + + def preprocess_html(self, soup): + if soup.find('div', attrs={'class':'preview'}) is not None: + self.image_article(soup, soup.body) + else: + self.append_page(soup, soup.body) + return soup diff --git a/recipes/cgm_pl.recipe b/recipes/cgm_pl.recipe new file mode 100644 index 0000000000..eba856ac3a --- /dev/null +++ b/recipes/cgm_pl.recipe @@ -0,0 +1,40 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class CGM(BasicNewsRecipe): + title = u'CGM' + oldest_article = 7 + __author__ = 'fenuks' + description = u'Codzienna Gazeta Muzyczna' + cover_url = 'http://www.krafcy.com/foto/tinymce/Image/cgm%281%29.jpg' + category = 'music' + language = 'pl' + use_embedded_content = False + max_articles_per_feed = 100 + no_stylesheers=True + extra_css = 'div {color:black;} strong {color:black;} span {color:black;} p {color:black;}' + remove_tags_before=dict(id='mainContent') + remove_tags_after=dict(name='div', attrs={'class':'fbContainer'}) + remove_tags=[dict(name='div', attrs={'class':'fbContainer'}), + dict(name='p', attrs={'class':['tagCloud', 'galleryAuthor']}), + dict(id=['movieShare', 'container'])] + feeds = [(u'Informacje', u'http://www.cgm.pl/rss.xml'), (u'Polecamy', u'http://www.cgm.pl/rss,4,news.xml'), + (u'Recenzje', u'http://www.cgm.pl/rss,1,news.xml')] + + + def preprocess_html(self, soup): + ad=soup.findAll('img') + for r in ad: + if '/_vault/_article_photos/5841.jpg' in r['src'] or '_vault/_article_photos/5807.jpg' in r['src'] or 'article_photos/5841.jpg' in r['src'] or 'article_photos/5825.jpg' in r['src'] or '_article_photos/5920.jpg' in r['src'] or '_article_photos/5919.jpg' in r['src'] or '_article_photos/5918.jpg' in r['src'] or '_article_photos/5914.jpg' in r['src'] or '_article_photos/5911.jpg' in r['src'] or '_article_photos/5923.jpg' in r['src'] or '_article_photos/5921.jpg' in r['src']: + ad[ad.index(r)].extract() + gallery=soup.find('div', attrs={'class':'galleryFlash'}) + if gallery: + img=gallery.find('embed') + if img: + img=img['src'][35:] + img='http://www.cgm.pl/_vault/_gallery/_photo/'+img + param=gallery.findAll(name='param') + for i in param: + i.extract() + gallery.contents[1].name='img' + gallery.contents[1]['src']=img + return soup \ No newline at end of file diff --git a/recipes/dzieje_pl.recipe b/recipes/dzieje_pl.recipe new file mode 100644 index 0000000000..d80161e71a --- /dev/null +++ b/recipes/dzieje_pl.recipe @@ -0,0 +1,17 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class Dzieje(BasicNewsRecipe): + title = u'dzieje.pl' + __author__ = 'fenuks' + description = 'Dzieje - history of Poland' + cover_url = 'http://www.dzieje.pl/sites/default/files/dzieje_logo.png' + category = 'history' + language = 'pl' + oldest_article = 8 + max_articles_per_feed = 100 + remove_javascript=True + no_stylesheets= True + remove_tags_before= dict(name='h1', attrs={'class':'title'}) + remove_tags_after= dict(id='dogory') + remove_tags=[dict(id='dogory')] + feeds = [(u'Dzieje', u'http://dzieje.pl/rss.xml')] diff --git a/recipes/greenlinux_pl.recipe b/recipes/greenlinux_pl.recipe new file mode 100644 index 0000000000..3c5a3c8f20 --- /dev/null +++ b/recipes/greenlinux_pl.recipe @@ -0,0 +1,13 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class GreenLinux(BasicNewsRecipe): + title = u'GreenLinux.pl' + __author__ = 'fenuks' + category = 'IT' + language = 'pl' + cover_url = 'http://lh5.ggpht.com/_xd_6Y9kXhEc/S8tjyqlfhfI/AAAAAAAAAYU/zFNTp07ZQko/top.png' + oldest_article = 15 + max_articles_per_feed = 100 + auto_cleanup = True + + feeds = [(u'Newsy', u'http://feeds.feedburner.com/greenlinux')] diff --git a/recipes/historia_pl.recipe b/recipes/historia_pl.recipe new file mode 100644 index 0000000000..68321df351 --- /dev/null +++ b/recipes/historia_pl.recipe @@ -0,0 +1,11 @@ +class Historia_org_pl(BasicNewsRecipe): + title = u'Historia.org.pl' + __author__ = 'fenuks' + description = u'history site' + cover_url = 'http://lh3.googleusercontent.com/_QeRQus12wGg/TOvHsZ2GN7I/AAAAAAAAD_o/LY1JZDnq7ro/logo5.jpg' + category = 'history' + language = 'pl' + oldest_article = 8 + max_articles_per_feed = 100 + + feeds = [(u'Artykuły', u'http://www.historia.org.pl/index.php?format=feed&type=rss')] diff --git a/recipes/icons/benchmark_pl.png b/recipes/icons/benchmark_pl.png new file mode 100644 index 0000000000000000000000000000000000000000..a1519a3fd75fa3e4bd9263b7b8b363ccf619b73e GIT binary patch literal 658 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbMfhX9`t*LN*k?^^iYHgmpf;d$H4 z`?i_;T`R}8&8hF3IN!E%yl>)t)5P(ineYF%kMEnfUpMi5Xyks=#P$E@+mB5=|Gs~G z-@x^@iSJD_@9P%s|KHxfYvg+0Civs@l>gs8y>8}u*CqY`$EPm~U4Px#@wQX&V>8#A zX1)&{qJMvV{(89M_u1JWI)y(s@w{o``FVTmzyJUL0x<~u{sUycxct6L?Emi{-_Oka z*eUU@f%h%Yovl1?TKPV90>yv*JU8>-|G$5Jy#3J3^QMLSeKY%;4zc%*eDAuX{{Q^= zp@ri^Bk%toAKo?cd~D)-*U0hz$GZ>BTO>_45U54 z*zIJt9guO;)5S4F;<9PqOEcy`ftKI*-aXp2NRl%#XJdXcOQO!kGX~R+eEOHaSk?XS zs$YKPbCrtbvCf!q(m>Qzrt+hKuX$QYnVw<8#1O;xPxUACcna%IYdvb{!Eik;%I{(T zv!F-g)TDjKJRagBK*6074H#0d%t)^v{#ETD~wL7n7 zSTXNCD3EI4o>2Jh(*JMvGs9H=E2wSM+gb8X{N{a8i9`0BARnuixJHzuB$lLFB^RXv zDF!10LqlByOI;(w5JLkiBXcW5OI-sqD+2?UpR&hLH00)|WTsW()?m71X%$cdgQu&X J%Q~loCIFH=I#U1u literal 0 HcmV?d00001 diff --git a/recipes/icons/cgm_pl.png b/recipes/icons/cgm_pl.png new file mode 100644 index 0000000000000000000000000000000000000000..0e332f720edbacb82b34fe83552686c24a558209 GIT binary patch literal 837 zcmeAS@N?(olHy`uVBq!ia0vp^u^`L>BpB3R-H-!PoCO|{#X#BvjNMLV+c7XOP4#qf z42d}WcFOr|VMmeU_m|mgyhxnPCHG~+?t_ypRrkUlINw-#nd~?3B=gseP<@feg zMmBVSz<+LKzb#5!kAKg2`$>AvbZ=Mg1=(?~HNsUDo~*Be#>3SwyI)7hzY#6U{q~FL)XtfejraMde9rALJic|4#`fcPu5jP4w|wch zV9&8RrGF&fTr52Decf8A?<`M^Hox@#`FK_CB*%N(tz+|H@gIo?2CP%0_L&#z`kdZv7HoC7-uaQY7j6 zt7TI+ZBxDVOMaDnU*5}=s*|qY=J(0sdNpef$J?WN#>L&CH&im1vgU zK;N8)`MiQ?xdM1T{A)L0@7bq~FK}l< zzkuk&G8E{qm~;R(Qa*xxcpSux&XY$#yPX=k6`0@xC0W~}VH8=$P`U&zp zFgOE1l7s0pFdyHG>=vL@B3x8?2l5L*&Q0w=tsh!fFTqqlfh1XNAAomx4#j&9k(-fthEhT*&;Kz67pqT)Xn}
%r3MBUFV6G{G22Eev{qP~2>m0K-@mABGz(A#6Ht3eDx60Rs^ z3bI}5;26T!FQs)K?K`(%32$q34DE&6;Mx~Z!3T#Lrcpev2C_bqbMc~N5otjzAm1kG5|Io>eF=FQ+{43X?Wcygej1$$4U2xA|ggSCm z1df1wKJjz2Zgbd4a%uB*b{uDkrNvMdh+Ds59TPx#24YJ`L;(K){{a7>y{D4^000SaNLh0L01ejw01ejxLMWSf00007bV*G`2igG& z6gM&VTKAs-00Ia}L_t(I%f(YoYZFlvJ$K%`c{9nxPCjf}N;irkqM%EKxY1V7AK*&5 zsXxGtVy(0xO8pIr;7UZh5foaq6sr_*qi&2Kh(*yt)1>LtN#^sqQ81>>O7QOPfqOXI za}MyohqePRKhaetrC&)~V!XZ?O;twyJ3A5Re*@R%<$-LUQO#u}lSWi;hJC#hXn!t~ z^Rn2VQ&q>7oG_^ECy7#;2>>^qTeXQfJ>OG7pDn9)N@r%!YTf@daiX;s0B$Z>FN=AV zb$^K3^t15j^eO*smx9T8qvY5!3lP?u;pgASM5cW2XV|_m;s>^?6fEW@go43Ih({ln*d<^9%cse zYEl?FCCsln6nK98AdHwaBF<*y>~@yz8M0oRN-z2f`{J0%^`h4L zMle=69nM~zGaWlcAB#Cv0KiQ*3NIepQe8GS-1v|bL6~dP%9kDs%gGqayR*g-DTo;$0yqJv)(GHw(Qsun_}a4zzjATdQsShh;UEJm izMm|YNBqTq-o~FC)X%KA0t@i~0000 literal 0 HcmV?d00001 diff --git a/recipes/icons/historia_pl.png b/recipes/icons/historia_pl.png new file mode 100644 index 0000000000000000000000000000000000000000..f7774e31390f85db1bf29729448dced58e4e1614 GIT binary patch literal 806 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dy4+DHcT>t(1_xtC!r)xG}t!{fb zW$x>}hkv|y{`>QncV{m?UcCD8w1p4*X5Q(Za(C*yw?|L?c=q)7+fV1?3qRj`@a5K> zGcj3@7A$?V=g6&|8DF2j`1b1c>%&LSrj^_*Zg{+M{h7p^i#cUyBhqfQPB;}5e>tb> zba3+3qPk0|#aA2J?@eELwXE@MPT8Z`OK#S6eY$kz(}f%FPM!Vv`t9xJo)=qoU2Ez+ zsAzJ3&XNzuFTA>V^}LGdv)tGrd6$;gT4m3?t*c*}%7!I6EGUWa-hN!^ka2V4M4!{|q(vHx54gyd zzYw)uEWOU4<76+AbyuW1DHr7jrANO(I zRR0k=Y0a!HEz8sU95>j!iO}iP+;qcLB=)n$dv+$fB<4fRZnM^I`1h%*kbASa(h=W3 zUg8`F%8FPP^l%<`S#aKLt>5v`EJnkX?|C{eA8N0$U`yL~?O(f}{Mss&S^JM25Q-Ph zZ1C;rv~XJRs&t!+OIiAnA1}6?S9>bz?`>_%v98d{r$0r`dj2cLIW@KE^#}bA9p5|U zr#O@0vM^P)&pOL@Yw*<7%WIvP@wsVBBS(TA*S%TBvJAqj7wcZ^z4Vv8>X(dV87B`Y zovN0&MwFx^mZVxG7o`Fz1|tJQLtO()T_eK~Ljx-l11n=wT>~>K1B26|3%{ah$jwj5 YOsmALVV8%bCr|@}r>mdKI;Vst0F}Rmw*UYD literal 0 HcmV?d00001 diff --git a/recipes/icons/lomza.png b/recipes/icons/lomza.png new file mode 100644 index 0000000000000000000000000000000000000000..d7ee0a82ef6e164df898fca459e5df32656d7288 GIT binary patch literal 2099 zcmV-32+a41P)NZ;bjlm{Xz8fXbk9Z1`_ZBjdqlgW&o`E~ap^=!PTyPK}Wkw&_f z@0|O+XTIlr&k_9I1UomyQ=0hbqmR{t6uDfE{rmSbK0eOHix>ZK>(;F+Km+jpR}gYxVF4iol}d%l$w`XEB4HSk zN~Q39AIq|M^ym>%N|u(ExOeX!*=!cmG|A<1jE|3#&*%B^#~=R!ECTLMq99$@Mbk9q z=H^gJv2Wi#(&;pN_Uxg*zn^Ng%Fxgdw{PEOWo3mo-gtvdCWEGFBoYafQmn15(Q38+ z1QdYePB}RZFF4+APht1=jZ9`>*MOxtJt>9$&)A9w{IUph?pOD?%ZK% zX$jx=jmL*;I{~1z+ii4RCk#W9$t1;MG5(!OrMP+XCNncLeE8vqjE;`dC8-c12D`br zNe~22lRZcvCY7dXNGb6=k5;RN>$+UMdX>|sPjm3#!T9F?Ziz(ViU0jq08td-`#!sN z?ZWdsYPA}=uJgkWKhSJ8nVOp7$dMyYJissvq?B>GK2-z&JkP`PJY3ghd3hPbFxb0y zFH=)fB$H3(l~RgiGD#wlcq#xIfRqx$FbKmC(=@Sdn`X1g#~**pz`y_izVCDS@@2v> z>~YX;w|n@oV*pC29#$_bEZ{f}$B!Rpe0)6Kc;(6!PMkP_>$*L+Z@1f+rilZ_@Fy??r`SJ87#}{;et|%dcBTmnjAZJ>~D_a z{CRnKxpVjK-OzR2I9i&f;dx&Cu2Kr66rD~-NnO|RJP%#hsnu${`R1Fv{r1~&NL|>Cz?6oH@fwFTKR{ z^fVhA8$Ic!lwxUVi3=Al;5ZJOo156SO(v5e2m&T1CKwqRVR?BOr4-d_m3#N@;kqul zTn@)^kX_X?O|z%W20_3tzx+bETqd8-Q?J)~?X}l14C7x~E(9;X{4zoaMn*>BkSnFQ zcI_J1uV1HBD$!^($Y!&YN+niTS9#`{XDFA;xUP#B9v)Wf>+9^^y_-{~PI2_;(f9zz zaR|c@P16X10Mj&k0Q@JraNz=KZb?cRS60_`Sy))WG)-!?8e?N)y!hgaL@B1;RD2h07;zXP!Q55mjS6}hP7hhmm7TIhT zUDqiT3M?!vU|AOVe4Ymn9&q5mfvvQYl1`^XGMU8lJfvY52q7347+~+-y_lxSjT<+3 z^ym?dMuVZDAuP+nwrv`X1|NLzK~I`qyLOE)zxu{dJ_2 zEG{l`{`~o#G!#NGI5^1Y=qN9|@B+H7qm*J`V1SK{4Q}4NNxfcYaBz^zmoHPPRIn@y z(=?f#on>ZbW{ZT6%Ob5-i@CWun$0GLVK6*AjHYR{S}lJ5`DgCmzfY&r>EVE`>u8#W z>$-9HTdfwUREmj-2?~V*!^6Yezki>vzy6wJG8q@7$;nBirfKN9j+By>l@-pOJFH^{`|dl|*46;1*XyKGsh$XQn~}c0KE}qzxPALJwrw*tHN{(Ry%p=h?CdO; zE?q(h!RqQN&p-b>#bR+Q0znWE1OZD+OBjYhsZ^rbY|>~n$mjFqayfk8r_<^1%{Sk~ z1*fYYnx;658qQ3(9$6d`IWxjZPXayJpGCLhC{!a_U<7uWJNI&k9 d#UBVj{SyX0=V+|Yr;z{v002ovPDHLkV1kTh2a5mz literal 0 HcmV?d00001 diff --git a/recipes/ksiazka_pl.recipe b/recipes/ksiazka_pl.recipe new file mode 100644 index 0000000000..7f9999f782 --- /dev/null +++ b/recipes/ksiazka_pl.recipe @@ -0,0 +1,28 @@ +from calibre.web.feeds.news import BasicNewsRecipe +import re +class Ksiazka_net_pl(BasicNewsRecipe): + title = u'ksiazka.net.pl' + __author__ = 'fenuks' + description = u'Ksiazka.net.pl - book vortal' + cover_url = 'http://www.ksiazka.net.pl/fileadmin/templates/ksiazka.net.pl/images/1PortalKsiegarski-logo.jpg' + category = 'books' + language = 'pl' + oldest_article = 8 + max_articles_per_feed = 100 + no_stylesheets= True + #extra_css = 'img {float: right;}' + preprocess_regexps = [(re.compile(ur'Podoba mi się, kupuję:'), lambda match: '
')] + remove_tags_before= dict(name='div', attrs={'class':'m-body'}) + remove_tags_after= dict(name='div', attrs={'class':'m-body-link'}) + remove_tags=[dict(attrs={'class':['mk_library-icon', 'm-body-link', 'tagi']})] + feeds = [(u'Wiadomości', u'http://www.ksiazka.net.pl/?id=wiadomosci&type=100'), + (u'Książki', u'http://www.ksiazka.net.pl/?id=ksiazki&type=100'), + (u'Rynek', u'http://www.ksiazka.net.pl/?id=rynek&type=100')] + + def image_url_processor(self, baseurl, url): + if (('file://' in url) and ('www.ksiazka.net.pl/' not in url)): + return 'http://www.ksiazka.net.pl/' + url[8:] + elif 'http://' not in url: + return 'http://www.ksiazka.net.pl/' + url + else: + return url diff --git a/recipes/lomza.recipe b/recipes/lomza.recipe new file mode 100644 index 0000000000..899745a84a --- /dev/null +++ b/recipes/lomza.recipe @@ -0,0 +1,14 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class Lomza(BasicNewsRecipe): + title = u'4Lomza' + __author__ = 'fenuks' + description = u'4Łomża - regional site' + cover_url = 'http://www.4lomza.pl/i/logo4lomza_m.jpg' + language = 'pl' + oldest_article = 15 + no_styleseets=True + max_articles_per_feed = 100 + remove_tags=[dict(name='div', attrs={'class':['bxbanner', 'drukuj', 'wyslijznajomemu']})] + keep_only_tags=[dict(name='div', attrs={'class':'wiadomosc'})] + feeds = [(u'Łomża', u'http://feeds.feedburner.com/4lomza.pl')] diff --git a/recipes/tablety_pl.recipe b/recipes/tablety_pl.recipe new file mode 100644 index 0000000000..08212fbc66 --- /dev/null +++ b/recipes/tablety_pl.recipe @@ -0,0 +1,12 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class Tablety_pl(BasicNewsRecipe): + title = u'Tablety.pl' + __author__ = 'fenuks' + description = u'tablety.pl - latest tablet news' + cover_url = 'http://www.tablety.pl/wp-content/themes/kolektyw/img/logo.png' + category = 'IT' + language = 'pl' + oldest_article = 8 + max_articles_per_feed = 100 + feeds = [(u'Najnowsze posty', u'http://www.tablety.pl/feed/')]