View Single Post
Old 06-29-2012, 09: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