View Single Post
Old 12-28-2013, 11:25 AM   #1
Fabk
Junior Member
Fabk began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2013
Device: none
Can't change tags and other attributes for news books

Hello,

I'm new to Calibre and recipes so excuse me for dummy questions :-).

I have this recipe:

Spoiler:

Code:
class NewsForFab(BasicNewsRecipe):
    title                 = 'News Fab'
    __author__            = 'Fab'
    description           = 'Futura Sciences, Ars Technica, Le Monde, pour Fab TEST'
    publisher             = 'Web'
    publication_type      = 'newspaper'
    tags                  = 'News'
    category              = 'News'
    series                = 'NewsFab'

    max_articles_per_feed = 1
    auto_cleanup          = True
    no_stylesheets        = True
    oldest_article        = 3
    timeout               = 30
    remove_empty_feeds    = True
    remove_javascript     = True

    remove_attributes     = [ 'border', 'cellspacing', 'align', 'cellpadding', 'colspan', 'valign', 'vspace', 'hspace', 'alt', 'width', 'height' ]

    feeds                 = [(u'Futura sciences', u'http://rss.futura-sciences.com/packfs?format=xml'),(u'Ars Technica', u'http://feeds.arstechnica.com/arstechnica/index?format=xml'),(u'Le Monde', u'http://rss.lemonde.fr/c/205/f/3052/index.rss')]


I thought this would change at least the tags for the news book built, but also publisher, publication-type and series. But it doesn't.

What am I doing wrong or understanding wrong?

Thanks
FabK
Fabk is offline   Reply With Quote