|
|
Thread Tools | Search this Thread |
02-27-2012, 11:29 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: kindle4
|
Newspapers - automatic cover art and author metadata setting on download
Hi... apologies in advance for the basic newbie question. I am no programmer so although my question may be feasible via some batch mode command or such like that is probably beyond me.
I am using Calibre on a MacBook Pro and I have it downloading Newspapers via RSS feeds. By default the author is set to calibre and the cover art is set to the calibre bookshelf icon. I would like for each newspaper to set the cover art and author automatically. I have saved the cover art in a subdirectory of the Calibre Library ready for use. e.g. when I download "The Independent [Monday 27 Feb 2012]" I would like the author to be "The Independent" and the cover art to be a .jpg that I previously saved in the library. This is so that my library tagging is much neater and when emailed to my Kindle4 is also "neater". Thanks for any insight of whether this is feasible. Dave |
02-27-2012, 12:51 PM | #2 |
onlinenewsreader.net
Posts: 324
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
You will have to customize the recipe and add
Code:
title = "The Independent" cover_url = "(path to your cover jpg)\\independent.jpg" If you want your cover art to be an image of the actual front page on the day you download the paper you can use Code:
cover_url = "http://www.frontpagestoday.co.uk/frontpages/The_Independent_newspaper_front_page.jpg" |
Advert | |
|
02-27-2012, 01:07 PM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: kindle4
|
wow Nick...great reply.
Level 2 questions...where do the recipes live? Thanks Dave |
02-27-2012, 02:22 PM | #4 |
onlinenewsreader.net
Posts: 324
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
Fetch news/Add custom news source/customize builtin recipe
It would be worth your while to click around in calibre and see what it can do rather than ask for such elementary advice in the forum. |
02-27-2012, 04:37 PM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: kindle4
|
Nick
Fair comment. I was at work when I initially posted the question and wasn't in front of my MBP or Calibre. I assumed that this would be an edit in the filesystem somewhere using textedit. I am at home now and can see that there is a very nice interface to modify an existing recipe. Thanks for your help. David |
Advert | |
|
02-28-2012, 02:38 AM | #6 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: kindle4
|
Thanks to Nick I have managed to get the cover_url part of my objective working. As per Nick's very reasonable request I have been messing around with recipes and reading documentation as best I can. I have spent all of yesterday evening also trying to get the metadata to automatically be seeded with the author set to something like "The Independent". So far I have been wholly unsuccessful. I have tried author = 'The Independent' authors = 'The Independent' author_sort = 'The Independent' None of these seem to modify the metadata during download and I am still left with the author of all the feeds set to calibre. Thanks for any help and suggestions. |
02-28-2012, 02:53 AM | #7 |
creator of calibre
Posts: 44,764
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you cannot change the author of downloads.
|
02-28-2012, 06:19 AM | #8 |
Member
Posts: 17
Karma: 10
Join Date: Jun 2011
Device: Sony PRS 505
|
It was working at least utill calibre 0.8.38
conversion_options = { 'authors' : 'Name' } Is there a reason why it was changed? |
02-28-2012, 06:29 AM | #9 |
US Navy, Retired
Posts: 9,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
It will be interesting to hear Kovid's response to this since the standard answer to the author question has always been that it can't be changed on download.
|
02-28-2012, 08:12 AM | #10 |
creator of calibre
Posts: 44,764
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That it worked was always an oversight. The reason why the oversight was fixed is in the changelog.
|
02-28-2012, 10:09 AM | #11 |
Member
Posts: 17
Karma: 10
Join Date: Jun 2011
Device: Sony PRS 505
|
Which is? I'm sorry, but I can't find anything in changelog for version 0.8.39+
Not sure, why it was oversight, it was rather useful feature. Is it related to: "When automatically deleting news older than x days, from the calibre library, only delete the book if it both has the tag News and the author calibre. This prevents accidental deletion of books tagged with News by the user." |
02-28-2012, 10:33 AM | #12 |
creator of calibre
Posts: 44,764
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, that is the reason.
|
02-28-2012, 12:31 PM | #13 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2012
Device: kindle4
|
doesn't that suggest that an additional item in the Schedule News Download form could be Author.
In the form design this could a low lighted field pre-populated with 'calibre' with a toggle button next to it and then the 'calibre' field becomes editable with a user defined author. I am assuming that this field could then be passed forward to whatever script underneath manages the deletion of old news. |
02-28-2012, 01:21 PM | #14 |
creator of calibre
Posts: 44,764
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Now there's a recipe for disaster. What happens to previously downloaded issues? Downloads you get from a friends' calibre library? Or if you move to a new computer and import your library but not your settings from one computer to another?
No doubt someone will be along to point out that I could use another field rather than author for this. Read this: https://www.mobileread.com/forums/sho...d.php?t=166428 There are good reasons I chose to do it this way. You are free to disagree with those reasons, it is not going to change. |
Tags |
cover art, metadata, newspaper, rss |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Metadata download overwriting Author/Title fields | economix | Library Management | 3 | 11-17-2011 09:27 PM |
Automatic download of metadata | perler | Library Management | 0 | 10-16-2011 02:27 PM |
Calibre, download cover, metadata not working | mufc | Calibre | 9 | 06-19-2011 04:25 PM |
0.7.44 - Edit Metadata - Download Cover - Crashes Calibre | nynaevelan | Library Management | 2 | 02-05-2011 10:19 PM |
Automatic adding of cover art from folder? | Barriemackenzie | Calibre | 7 | 01-23-2011 12:38 PM |