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

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2012, 03:47 AM   #1
velde046
Junior Member
velde046 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2012
Device: iphone/ipad/tablet
Question Sort plugin or update content.opf

Calbre is driving me crazy at the moment, but maybe I'm expecting it to be able too much.
Here's my problem, in Calibre I have all my books sorte by [lastname, first name] and they are sorted that way too, so both field are the way I want them. Now I discovered that in the content.opf there is also mention of the author and in there it still is set to [firstname lastname]. ANd thus are they imported incorrectly on my reading device and showing up sorted by first name while I so much prefer last name.
I have tried using the Modify EPUB plugin to replace metadata but that didn't work.
Is there ANY way where I can update the content.opf of a file and put the author name in it as [last name, first name]?
velde046 is offline   Reply With Quote
Old 06-17-2012, 05:08 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,738
Karma: 12488297
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by velde046 View Post
Here's my problem, in Calibre I have all my books sorte by [lastname, first name] and they are sorted that way too, so both field are the way I want them. Now I discovered that in the content.opf there is also mention of the author and in there it still is set to [firstname lastname].
If you update the metadata the content.opf file will reflect the author and author sort from your library.

An example (before I ran Modify ePub):
Code:
<dc:creator opf:file-as="Card, Orson Scott" opf:role="aut">Card, Orson Scott</dc:creator>
An example (after I ran Modify ePub):
Code:
<dc:creator opf:file-as="Card, Orson Scott" opf:role="aut">Orson Scott Card</dc:creator>
You can see my Author field is the default [firstname lastname].

Quote:
Originally Posted by velde046 View Post
I have tried using the Modify EPUB plugin to replace metadata but that didn't work.
The Modify ePub plugin will update the ePub using the fields you have set. If you don't believe it is working for you then you should post in the Modify Epub thread and ask for help troubleshooting your work process/setup for possible problems.

Quote:
Originally Posted by velde046 View Post
Is there ANY way where I can update the content.opf of a file and put the author name in it as [last name, first name]?
Either do an ePub to ePub conversion or use the Modify ePub plugin. Both of these processes will work and I just tested the Modify ePub plugin 1.2.5 in calibre 0.8.56 and it works for me as expected.

Do you have the most recent update of Calibre and the latest Modify ePub plugin?

Last edited by DoctorOhh; 06-17-2012 at 05:10 AM.
DoctorOhh is offline   Reply With Quote
Reply

Tags
content.opf, first name, last name, sorting

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil 0.5.3 keeps rebuilding my content.opf file from scratch mtrahan Sigil 7 04-28-2012 09:10 AM
Sigil corrupting content.opf (0.4, 0.5) cyana Sigil 21 02-11-2012 05:25 PM
Sigil resets edits to content.opf adv_dp_fan Sigil 7 09-28-2011 06:50 PM
Default book language to be saved in content.opf? moriakaice Calibre 7 05-21-2011 05:02 PM
cleaning the content.opf file Adjust ePub 6 09-01-2010 05:54 PM


All times are GMT -4. The time now is 10:08 AM.


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