![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2011
Device: amazon kindle
|
New recipe in spanish - Muy Interesante
__license__ = 'GPL v3'
__copyright__ = '2011, Oscar Megia Lopez' ''' muyinteresante.es ''' import re from calibre.web.feeds.recipes import BasicNewsRecipe class MuyInteresante2(BasicNewsRecipe): title = u'Muy Interesante' __author__ = 'Oscar Megia Lopez' description = 'Revista Muy Interesante' oldest_article = 90 max_articles_per_feed = 100 no_stylesheets = True #delay = 1 use_embedded_content = False encoding = 'utf8' publisher = 'Muy Interesante' category = 'Ciencia' language = 'es_ES' publication_type = 'Magazine' extra_css = ' body{ font-family: Verdana,Helvetica,Arial,sans-serif } .contentheading{font-weight: bold} .txt_articulo{display: block; padding: 0; border: 1px solid; width: 40%; font-size: small} .story-feature h2{text-align: center; text-transform: uppercase} ' preprocess_regexps = [(re.compile(r'<!--.*?-->', re.DOTALL), lambda m: '')] conversion_options = { 'comments' : description ,'tags' : category ,'language' : language ,'publisher' : publisher ,'linearize_tables': True } keep_only_tags = [ dict(name='div', attrs={'class':['article']}) ,dict(attrs={'class':['txt_articulo']}) ] remove_tags = [ dict(name='div', attrs={'class':['otrosenlaces_title', 'otrosenlaces_parent', 'otrosenlaces', \ 'tags_articles', 'story-feature narrow', 'bajo_title']}), dict(name='a', attrs={'class':['twitter-share-button']}), dict(name='div', attrs={'id':['comment']}) ] remove_attributes = ['width','height'] feeds = [ ('Muy Interesante.es', 'http://feeds.feedburner.com/Muyinteresantees?format=xml'), ] |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,323
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is already a recipe for Revista Muy Interesante is your's different?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2011
Device: amazon kindle
|
Hi
In my ubuntu (calibre version 0.7.18) there is not recipe for the magazine Muy Interesante, so I created a new one but I forgot to look before if there's this recipe here. I tried the recipe from Gustavo Azambuja and is different (I dont download magazine cover and my recipe do not download the same articles). To be honest the previous recipe is better. Regards, Oscar Megia |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,323
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Cool, thanks.
|
![]() |
![]() |
![]() |
Tags |
recipe, spanish |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recipe in spanish - Patente de corso | yoyoba | Recipes | 0 | 08-13-2011 10:04 AM |
Upgrade recipe for weblogssl (Spanish) | desUBIKado | Recipes | 0 | 04-13-2011 05:31 PM |
New recipe in Spanish: ABC.es | rickydh | Recipes | 0 | 02-11-2011 11:33 AM |
One new recipe and other one updated (In Spanish) | desUBIKado | Recipes | 3 | 01-19-2011 03:58 AM |