View Single Post
Old 03-26-2011, 10:42 PM   #1
forceps
Enthusiast
forceps doesn't litterforceps doesn't litter
 
Posts: 26
Karma: 168
Join Date: May 2005
Location: Wuhan, China
Device: Kindle DXG
How to add author by line?

the titles in news/magazine looks like:
title
summary

I'd like to add an author byline. I found a brief description in calibre/web/feeds/news.py, "In addition, you can add 'author' for the author of the article.", so I did. the list of articles returned by parse_index now looks like:

{ 'title' : article title,
'url' : URL of print version,
'date' : The publication date of the article as a string,
'description' : A summary of the article
'author' : xxx
}

but the output remain unchanged, how to add the author byline?
forceps is offline   Reply With Quote