En calidad de Afiliado de Amazon, obtengo ingresos por las compras adscritas que cumplen los requisitos aplicables
Resultados 1 al 6 de 6

Tema: Breves Ejemplos recetas PROGRAMACION en TV:. para leer en el eReader.

Vista híbrida

Mensaje anterior Mensaje anterior   Próximo mensaje Próximo mensaje
  1. #1
    Jovencit@ en el foro Avatar de rickydh
    Fecha de ingreso
    02 feb, 11
    Mensajes
    19

    Predeterminado Re: Breves Ejemplos recetas PROGRAMACION en TV:. para leer en el eReader.

    No se si esto es lo que queriais...

    Código:
    class AdvancedUserRecipe1289098587(BasicNewsRecipe):
        title          = u'GUIA PROGRAMACION TV'
        oldest_article = 1
        max_articles_per_feed = 20
    
        __author__  = ' KRorschachZ./Rickydh'
        description = 'Tv rss'
        timefmt = ' [%d %b, %Y]'
        language = 'es_ES'
        no_stylesheets = True
        remove_javascript = True
    
        keep_only_tags = [
                     dict(name='div', attrs={'id':'show'}),
                     dict(name='div', attrs={'class':'intro-datasheet'})
                     ]    
    
        remove_tags = [
                     dict(name='div', attrs={'class':'toolbox'}),
                     dict(name='div', attrs={'class':'rater inline'})
                     ]    
    
        remove_tags_after = [
                     dict(name='div', attrs={'class':'toolbox'}),
                     dict(name='div', attrs={'class':'rater inline'})
                     ]    
    
    
        feeds          = [
    		(u'Noticias TV', u'http://www.sincroguia.tv/rss/rss.php?types=news')
    		,(u'TVE 1', u'http://www.miguiatv.com/rss/tve1.xml')
    		,(u'TVE 2', u'http://www.miguiatv.com/rss/la2.xml')
    		,(u'ANT 3', u'http://www.miguiatv.com/rss/antena3.xml')
    		,(u'Cuatro TV', u'http://www.miguiatv.com/rss/cuatro.xml')
    		,(u'Tele 5', u'http://www.miguiatv.com/rss/telecinco.xml')
    		,(u'La Sexta', u'http://www.miguiatv.com/rss/la-sexta.xml')
    		,(u'Peliculas', u'http://www.laguiatv.com/rss/feeds/peliculas.xml')
    		]
    
    #    remove_attributes = ['width','height']
    
        extra_css              = '''
                                    h2{font-family: serif; font-size: small; font-weight: bold; color: #000000; text-align: justify}
                                    h1{font-family: serif; font-size: 120%; font-weight: bold; color: #000000; text-align: justify}
    			.desc{ font-family: sans-serif; font-size: 130%; font-weight: bold; text-align: justify }
    			.txt_articulo{ font-family: sans-serif; font-size: medium; text-align: justify }
    			.contentheading{font-family: serif; font-size: large; font-weight: bold; color: #000000; text-align: center}
                                    '''
    
    
    #    def preprocess_html(self, soup):
    #            for item in soup.findAll(style=True):
    #               del item['style']
    #	 del item['link']
    #            return soup
    --
    Saludos

  2. #2
    Veteran@ en el foro Avatar de KRorschachZ
    Fecha de ingreso
    03 nov, 10
    Mensajes
    355

    Predeterminado Re: Breves Ejemplos recetas PROGRAMACION en TV:. para leer en el eReader.

    Cita Iniciado por rickydh Ver mensaje
    No se si esto es lo que queriais...

    Código:
    class AdvancedUserRecipe1289098587(BasicNewsRecipe):
        title          = u'GUIA PROGRAMACION TV'
        oldest_article = 1
        max_articles_per_feed = 20
    
        __author__  = ' KRorschachZ./Rickydh'
        description = 'Tv rss'
        timefmt = ' [%d %b, %Y]'
        language = 'es_ES'
        no_stylesheets = True
        remove_javascript = True
    
        keep_only_tags = [
                     dict(name='div', attrs={'id':'show'}),
                     dict(name='div', attrs={'class':'intro-datasheet'})
                     ]    
    
        remove_tags = [
                     dict(name='div', attrs={'class':'toolbox'}),
                     dict(name='div', attrs={'class':'rater inline'})
                     ]    
    
        remove_tags_after = [
                     dict(name='div', attrs={'class':'toolbox'}),
                     dict(name='div', attrs={'class':'rater inline'})
                     ]    
    
    
        feeds          = [
    		(u'Noticias TV', u'http://www.sincroguia.tv/rss/rss.php?types=news')
    		,(u'TVE 1', u'http://www.miguiatv.com/rss/tve1.xml')
    		,(u'TVE 2', u'http://www.miguiatv.com/rss/la2.xml')
    		,(u'ANT 3', u'http://www.miguiatv.com/rss/antena3.xml')
    		,(u'Cuatro TV', u'http://www.miguiatv.com/rss/cuatro.xml')
    		,(u'Tele 5', u'http://www.miguiatv.com/rss/telecinco.xml')
    		,(u'La Sexta', u'http://www.miguiatv.com/rss/la-sexta.xml')
    		,(u'Peliculas', u'http://www.laguiatv.com/rss/feeds/peliculas.xml')
    		]
    
    #    remove_attributes = ['width','height']
    
        extra_css              = '''
                                    h2{font-family: serif; font-size: small; font-weight: bold; color: #000000; text-align: justify}
                                    h1{font-family: serif; font-size: 120%; font-weight: bold; color: #000000; text-align: justify}
    			.desc{ font-family: sans-serif; font-size: 130%; font-weight: bold; text-align: justify }
    			.txt_articulo{ font-family: sans-serif; font-size: medium; text-align: justify }
    			.contentheading{font-family: serif; font-size: large; font-weight: bold; color: #000000; text-align: center}
                                    '''
    
    
    #    def preprocess_html(self, soup):
    #            for item in soup.findAll(style=True):
    #               del item['style']
    #	 del item['link']
    #            return soup
    --
    Saludos
    genial, ha quedao to chula y limpia...

    ya la tengo instalada, y me informa de lo que van a echar en la tv, en las proximas horas/dias, con mucha claridad...

    salu2

Temas similares

  1. Pequeña Guía para agregar recetas a Calibre
    Por jefferson_frantz en el foro Calibre
    Respuestas: 9
    Último mensaje: 07/01/2014, 15:45
  2. ¿Esta prohibido leer un eReader en el cine?
    Por Chaman en el foro Foro general
    Respuestas: 23
    Último mensaje: 07/11/2010, 18:59
  3. Script para descarga de recetas de Calibre
    Por alf en el foro Amazon Kindle
    Respuestas: 1
    Último mensaje: 26/10/2010, 23:04
  4. Leer blogs y rss, offline, con ereader. Zinepal
    Por parker03 en el foro Foro general
    Respuestas: 2
    Último mensaje: 18/09/2009, 08:50

Permisos de publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes
  •