Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
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
Old 12-30-2013, 10:45 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You cannot change those metadata fields in the recipe. Instead users of recipes can specify tags to be added via the advanced tab int he fetch news dialog box.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Tags without Import into Library mh445 Devices 8 05-21-2012 09:55 AM
how do I set specific tags when fetching news MichaelMSeattle Calibre 6 04-06-2010 01:09 PM
Change name to the News jpc66 Calibre 2 01-08-2010 12:28 PM
Change Metadata tags en masse thibaulthalpern Calibre 1 03-20-2009 07:02 PM
Tags for Custom News Feeds in .106 mccande Calibre 1 11-23-2008 08:55 PM


All times are GMT -4. The time now is 03:18 PM.


MobileRead.com is a privately owned, operated and funded community.