Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes


Thread Tools Search this Thread
Old 02-06-2011, 05:19 PM   #1
tolyluis doesn't littertolyluis doesn't litter
Posts: 49
Karma: 196
Join Date: Jan 2011
Device: Kindle 3
Europa Press (v1.0) - Spanish

Hi All:

I made some days before a recipe with news from a spanish agency news called

Europa Press -


Europa Press is a well-known agency news from Spain, I've taken all the feeds from "Secciones Principales" EXCEPT EP Social feed. Also I discarted all the local feeds and innovation feeds. Impossible to take all the content of the webpage.


__license__   = 'GPL v3'
__author__    = 'Luis Hernandez'
__copyright__ = 'Luis Hernandez<>'
__version__     = 'v1.0'
__date__        = '30 January 2011'


class AdvancedUserRecipe1294946868(BasicNewsRecipe):

    title          = u'Europa Press'
    author            = 'Luis Hernandez'
    description           = 'spanish news agency'

    oldest_article = 2
    max_articles_per_feed = 100

    remove_javascript = True
    no_stylesheets        = True
    use_embedded_content  = False

    language              = 'es'
    timefmt        = '[%a, %d %b, %Y]'
    remove_tags_before = dict(name='div' , attrs={'class':['nivel1 bg_3col']})
    remove_tags_after  = dict(name='div' , attrs={'id':['ImprimirEnviarNoticia']})

    remove_tags = [
                             dict(name='ul', attrs={'id':['entidadesNoticia','MenuSecciones']})
                            ,dict(name='div', attrs={'id':['ImprimirEnviarNoticia','PublicidadSuperior','CabeceraDerecha','Comentarios','comentarios full fbConnectAPI','ComentarEstaNoticia','ctl00_Superior_Main_MasEnChance_cajamasnoticias','gl_chn','videos_portada_derecha','galeria_portada_central','galeria_portada_central_boxes']})
                            ,dict(name='div', attrs={'class':['infoRelacionada','col_1','buscador','caja doblecolumna strong','CHANCE_EP_Encuesta_frontal text','seccionportada col_0','seccion header','text','pie caption_over']})
                            ,dict(name='a', attrs={'class':['buscadorLabel']})
                            ,dict(name='span', attrs={'class':['editado']})							

    feeds = [
                 (u'Portada'              , u'')
                ,(u'Nacional'             , u'')
                ,(u'Internacional'       , u'')
                ,(u'Economia'           , u'')
                ,(u'Deportes'            , u'')
                ,(u'Cultura'               , u'')
                ,(u'Sociedad'            , u'')
                ,(u'Motor'                 , u'')
                ,(u'CHANCE'             , u'')
                ,(u'Comunicados'      , u'')
Hope you enjoy it!
tolyluis is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spanish? OBoyle General Discussions 11 02-10-2011 08:32 PM
Springer Science+Business Media bringt "MyCopy" nach Europa beachwanderer Deutsches Forum 0 05-17-2010 06:25 AM
When will the press get it right? pilotbob News 41 01-25-2010 02:10 PM
GRYPHONWOOD PRESS/BLADE RED PRESS Halloween Giveaway Winter Deals, Freebies, and Resources (No Self-Promotion) 0 10-30-2009 06:39 AM
Poetry Novalis: Die Christenheit oder Europa - german V.1 - 21.05.2009 Insider ePub Books 0 05-21-2009 10:09 AM

All times are GMT -4. The time now is 03:01 AM. is a privately owned, operated and funded community.