View Single Post
Old 09-05-2012, 01:55 PM   #3
scissors
Addict
scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.
 
Posts: 204
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
That seems like a lot of hard work when calibre produces a pretty good output with

Spoiler:
Code:
class AdvancedUserRecipe1346865225(BasicNewsRecipe):
    title          = u'RTE News'
    
    max_articles_per_feed = 20
    oldest_article = 1
    
    remove_empty_feeds = True
    remove_javascript     = True
    #auto_cleanup = True
    auto_cleanup_keep = '//div[@id="photography"]|//span[@class="side-content"]'
    
    remove_tags=[
	dict(attrs={'id' : 'header-print'})
		]
    feeds          = [u'News', u'http://www.rte.ie/rss/news.xml']
scissors is offline   Reply With Quote