Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-29-2012, 10:40 PM   #1
us06154
Member
us06154 began at the beginning.
 
us06154's Avatar
 
Posts: 11
Karma: 10
Join Date: Jun 2012
Location: London, Ontario
Device: KOBO wi-fi
Author Tag in Recipes

Hello all,

I looked around, but could not find a definitive answer. I am downloading feeds from several newspapers, and managing them via Calibre, to push it to my KOBO.

I have customized the feed content, so that they have their own covers i.ehttp://www.johnsilva.ca/covers/lfpcov.jpg

In an attempt to have all my "news e-pubs" appear in a certain area of my choosing in the catalog all the time, I modified the recipe:

=============

from calibre.web.feeds.news import BasicNewsRecipe

class LondonFreePress(BasicNewsRecipe):
cover_url = 'http://www.johnsilva.ca/covers/lfpcov.jpg'
title = u'London Free Press'
author = 'News Articles'
oldest_article = 4
max_articles_per_feed = 100

pubisher = 'lfpress.com'
description = 'Ontario Canada Newspaper'
category = 'News, Ontario, Canada'
remove_javascript = True
use_embedded_content = False
no_stylesheets = True
language = 'en_CA'
encoding = 'utf-8'
conversion_options = {'linearize_tables':True}

==============

I was hoping that the Author would be changed to "News Articles", therefore allowing me to sort the library on the KOBO, and have the news pubs appear under "A",making the system think 'Articles' was the lastname. But for whatever reason, the recipe always creates the new download with "Calibre" as the Author (and filing the news epubs under "C").

Is there a way to fix this? I'm sure the Author tag is there for a reason.
us06154 is offline   Reply With Quote
Old 06-30-2012, 01:32 AM   #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: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, you cannot control the value of author assigned to news downloads from a recipe.
kovidgoyal is online now   Reply With Quote
 
Advertisement
Old 06-30-2012, 01:45 AM   #3
us06154
Member
us06154 began at the beginning.
 
us06154's Avatar
 
Posts: 11
Karma: 10
Join Date: Jun 2012
Location: London, Ontario
Device: KOBO wi-fi
Thanks..

Thanks for the reply Kovid . Now at least I'm not scratching my head wondering why it does not work.
us06154 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amazon Author Tag Exchange U.S. and U.K. Williamlk Writers' Corner 394 11-21-2012 11:49 PM
Tag Browser Author icons BeccaPrice Calibre 2 06-25-2012 12:09 PM
Author Tag always groups by author_sort BetterRed Calibre 11 04-06-2012 11:23 PM
Remove author tag from comics BRGriff Recipes 13 12-30-2011 08:15 PM
Remove author tag persiomenezes Library Management 3 10-26-2011 05:41 PM


All times are GMT -4. The time now is 08:59 AM.


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