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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-22-2010, 07:49 PM   #1
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 927
Karma: 46026034
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
How do I prevent custom metadata from being sent to the device?

I made a custom field called "Notes" which basically consists of a lot of random notations to myself concerning the book source or conversion steps or whatever. One of the main reasons I broke this info out from the comments field was to keep it from appearing in Stanza on my Touch. But now I see it is appearing on the information screen along with the comments.

Is there some tweak I can make to Calibre to keep custom data from being sent to the device?
PatNY is offline   Reply With Quote
Old 09-23-2010, 02:47 AM   #2
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,459
Karma: 831552
Join Date: Jan 2010
Location: France
Device: Many android devices
Are you talking about seeing your 'notes' in the content server? If so, then you are asking that the content server not show custom metatada, at least for you?
chaley is offline   Reply With Quote
Old 09-23-2010, 08:29 AM   #3
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 927
Karma: 46026034
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
chaley, I'm not exactly sure what you mean by content server here. I assumed content server was Calibre's process for making books and information available to devices or to other PC's over the web.

I'm referring to what ends up on my device, in this case my Touch (using Stanza) . There is an information/summary page in Stanza for each book that shows the thumbnail, author, title, tags, and comment field. It does not show ISBN, dates, or some other custom metadata such as the comma separated field. But it appears it now shows all long-text custom metadata fields.

I set up two custom notes fields -- one for miscellaneous notes to myself and the other for other info such as long author interviews. Now both these fields are appearing on the summary page, and they appear before the comment field where I put the title's synopsis, so if you want to read that, you have to scroll a long ways down.

The very reason I set up a custom notes field was to segregate extraneous information such as book sources and technical conversion notes from the comments field where I had previously put them after the synopsis. I didn't want these notes to show up on my device and I wanted to also keep the comments field uncluttered. Now, having these notes show up anyway defeats that purpose and makes it even harder to quickly skim through a title's synopsis as the notes appear before the synopsis, not after as they did before I put them in the custom notes fields.

Is there not some way to tweak a Calibre file or setting to keep these custom notes from being sent to the device? Ideally, there would be an option for every custom field to decide if it gets included with the other information when sent to the device.

Alternately, could an additional option be included under custom field types? Long text that will never be sent to the device?

Also, why is it that some custom data fields and some default data like ISBN and publishing dates do not show up on the summary page on the device but all custom long text fields do? It seems somewhat arbitrary.
PatNY is offline   Reply With Quote
Old 09-23-2010, 08:33 AM   #4
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,459
Karma: 831552
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by PatNY View Post
chaley, I'm not exactly sure what you mean by content server here. I assumed content server was Calibre's process for making books and information available to devices or to other PC's over the web.
How do you get the books onto your device? There is no 'stanza' device that I know of.

The reason I ask is that I cannot know what is happening until we work out the chain from the library to what you see. If could be a device issue, a conversion issue, a content server issue, or something else.

EDIT: What version of calibre are you running?

Last edited by chaley; 09-23-2010 at 08:44 AM.
chaley is offline   Reply With Quote
Old 09-23-2010, 08:54 AM   #5
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 927
Karma: 46026034
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
chaley, I send books to the Touch from within the Stanza app on the Touch using wi-fi as described here:

http://calibre-ebook.com/user_manual...-iphone-itouch

I am using Calibre 0.7.19 which I think is the latest.

Last edited by PatNY; 09-23-2010 at 08:57 AM.
PatNY is offline   Reply With Quote
Old 09-23-2010, 09:50 AM   #6
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,459
Karma: 831552
Join Date: Jan 2010
Location: France
Device: Many android devices
You are using calibre's content server. That I can do something about.

What I can do is provide a 'tweak' where you list fields not to be included in content server output. I will do the work in the calibre custom field beta, which will become the production release in a week or so. The tweak name will be something like 'content_server_ignore_fields'. I will almost certainly include the ability to ignore standard fields, such as comments and rating.
chaley is offline   Reply With Quote
Old 09-23-2010, 09:56 AM   #7
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 927
Karma: 46026034
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
chaley, I now realize you are not familiar with Stanza so I took a screenshot on my Touch that may help explain things.

It shows the summary page from within Stanza for a book that has no custom metadata. All the default metadata fields within Calibre for this book are filled in (except for series). But for as long as I can remember since I've been using the Stanza app, the only thing that shows up on the summary page in Stanza is author, title, series (if applicable), tags, and what's in the comments field. Nothing else, including ISBN or dates. And this was fine.

I created two custom long notes fields and now whatever is in them shows up below the tags and before whatever is in the comments field, which is where I put the title synopsis. So if I put something really lengthy in the long notes field, that is what fills the screen and I have to scroll way down to get the book synopsis.

Thing is, some custom data does not show up on this Stanza page -- ie, things in a comma separated text field. Nor does some default data like ISBN or dates.

So, is this Stanza deciding what to show and what not to show? If so, is there anyway I can circumvent that when it comes to custom long notes fields which I would like to keep only on my PC in the Calibre database?

PatNY is offline   Reply With Quote
Old 09-23-2010, 10:23 AM   #8
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 927
Karma: 46026034
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
chaley, I posted the screenshot before I saw your latest reply.

Thanks soooo much! That would be awesome if you would make that tweak. As a small way to say thanks I've added a cat avatar. I see you like cats and have been enjoying your cat pictures.

Thanks again!
PatNY is offline   Reply With Quote
Old 09-23-2010, 10:26 AM   #9
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,459
Karma: 831552
Join Date: Jan 2010
Location: France
Device: Many android devices
Given what you have told me, you are using calibre's content server to transfer books, and you are not using a calibre release that puts custom fields in the OPF. As you are seeing custom field information (fields that you created), that implies very strongly that stanza is getting its information from the content server.

The attached screenshot shows what Stanza will see for a book in my library. Calibre's content server currently publishes to stanza (or anyone else using the OPDF version, as stanza does) all non-empty custom fields. As you can see, calibre is sending comma-separated lists for all multiple fields, including tags. I infer from your comments that stanza would not show all the tags. That sounds like a stanza bug.

The only thing I can do is change calibre to allow you to limit what fields are sent to stanza via the content server. I certainly cannot change what stanza does with the information.

EDIT: Cross posting bites again! You are welcome! Nice cat, too.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	87
Size:	30.0 KB
ID:	58686  
chaley is offline   Reply With Quote
Old 09-23-2010, 10:41 AM   #10
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,055
Karma: 777825
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Stanza does not seem to look at the metadata inside the ebook file if it is transferred from an OPDS compatible server (as Calibre content server provides). Instead it takes all its values from the OPDS catalog.
itimpi is offline   Reply With Quote
Old 09-24-2010, 06:39 AM   #11
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,459
Karma: 831552
Join Date: Jan 2010
Location: France
Device: Many android devices
Implemented, a bit differently than I originally thought.

This code is in the serializer (beta) branch, which will become production in a week or so.

The tweak documentation is:
Code:
# Set custom metadata fields that the content server will or will not display.
# content_server_will_display is a list of custom fields to be displayed.
# content_server_wont_display is a list of custom fields not to be displayed.
# wont_display has priority over will_display.
# The special value '*' means all custom fields.
# Defaults:
#    content_server_will_display = ['*']
#    content_server_wont_display = ['']
# Examples:
# To display only the custom fields #mytags and #genre:
#   content_server_will_display = ['#mytags', '#genre']
#   content_server_wont_display = ['']
# To display all fields except #mycomments:
#   content_server_will_display = ['*']
#   content_server_wont_display['#mycomments']
content_server_will_display = ['*']
content_server_wont_display = ['']
chaley 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
Using Custom Metadata in Save Template EJvdH Calibre 1 07-02-2010 06:06 AM
Send to device now supports custom paths user_none Calibre 0 01-04-2010 06:13 AM
Is it possible to prevent calibre from automatically sending news to my device? jedediah Calibre 2 10-26-2009 11:44 AM
Prevent downloading tags when fetching metadata? Hi! Calibre 4 09-06-2009 08:42 AM
edit metadata on device alexxxm Calibre 12 12-11-2008 03:23 AM


All times are GMT -4. The time now is 09:17 PM.


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