View Single Post
Old 02-04-2016, 02:01 AM   #55
sbaylor
Addict
sbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beautysbaylor does all things with Zen-like beauty
 
sbaylor's Avatar
 
Posts: 218
Karma: 32081
Join Date: Dec 2015
Location: USA
Device: iPad, iPad mini, iPhone
Series and Volume of EPUB and PDF

Quote:
Originally Posted by Cloudmaker View Post
Thanks for this great app! Have downloaded it yesterday and found it very useful and user friendly.

Got some questions:
1. I downloaded my books from Calibre via OPDS and found that series field and book # in series are empty. But once I tap "Restore all from book" in book tags editor, they appeared again. Why does Bookmaster ignore these fields by default in just imported books?
Thanks for catching this bug. We've verified that this bug can happen to EPUB and PDF. It will be fixed in the next release of the apps.

Technical details for those who want to dig a little bit deeper:
In general, the value of Series (Volume or "Series Number") embedded inside an EPUB can be different from its value as embedded in the corresponding OPDS entry (as generated by calibre, or Feedbooks, etc.), and the two are encoded in different formats. When both are present, the OPDS value overrides the EPUB value.

For example, an OPDS entry generated by calibre may contain the following line:
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: Fiction<br/>SERIES: Harry Potter [3]<br/>In this third installment in the projected seven-volume series, Sirius Black, imprisoned for killing 13 people with one curse, escapes from Azkaban.</div>

As far as we know, the above way the Series and Volume values are encoded is calibre-specific, and it is not part of the OPDS standard. The current version (v1.3) of BookMaster simply does not deal with the above calibre-specific convention properly in all cases, and fails to extract the Series and Volume values properly, and thus treats them as if they were empty strings.

Quote:
Originally Posted by Cloudmaker View Post
And is there any way to implement "Restore all from book" method in bulk?
No, there isn't. However, you can achieve the same effect (for books with the intended Series and Volume values) by importing the books without going through calibre or other OPDS server. Delete the books and try importing them via "PC Upload".
sbaylor is offline