View Single Post
Old 03-31-2010, 10:25 PM   #1705
franchute
Junior Member
franchute began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2010
Device: PRS 600
well

i have tried to use calibre to get my news

I am happy because i have the news on calibre and i can see it
www.diariosur.es

but
problem is i dont be able to clear things i dont want to appear in my reader.

------------------------------
#!/usr/bin/env python

__license__ = 'GPL v3'
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
'''
diariosur.es
'''


class Diariosur(BasicNewsRecipe):
title = u'DIARIO SUR MALAGA'
__author__ = u'Noticias de Malaga'
description = u'Malaga'
oldest_article = 1
max_articles_per_feed = 100
no_stylesheets = True
use_embedded_content = False
encoding = 'iso8859_15'
remove_javascript = True
language = _('Spanish')


html2lrf_options = [
'--comment', description
, '--base-font-size', '10'
, '--category', 'news, Spain'
, '--ignore-tables'
]


feeds = [ (u'Ultima' , 'http://www.diariosur.es/rss/feeds/ultima.xml'),
(u'Portada', 'http://www.diariosur.es/portada.xml'),
(u'Malaga', 'http://www.diariosur.es/rss/feeds/malaga.xml'),
(u'Costa', 'http://www.diariosur.es/rss/feeds/costadelsol.xml'),
(u'Interior', 'http://www.diariosur.es/rss/feeds/interior.xml'),
(u'Turismo', 'http://www.diariosur.es/rss/feeds/turismo.xml'),
(u'Opinion', 'http://www.diariosur.es/rss/feeds/opinion.xml'),
(u'Andalucia', 'http://www.diariosur.es/rss/feeds/andalucia.xml'),
(u'Economia', 'http://www.diariosur.es/rss/feeds/economia.xml') ,
(u'Vivir', 'http://www.diariosur.es/rss/feeds/vivir.xml'),
(u'Cultura y Espectaculos', 'http://www.diariosur.es/rss/feeds/cultura.xml')
]
franchute is offline