Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2009, 03:25 AM   #1
iain_benson
Connoisseur
iain_benson began at the beginning.
 
iain_benson's Avatar
 
Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
PDFs, metadata and conversion on a Mac

I'm currently using Calibre on my Mac to manage my book library and transfer it to my PRS-505.

I've just recently got a selection of PDF files which I want to use on it, but they have pretty screwy metadata ... if I just import them directly into calibre some end up with author and title swapped and some have complete garbage in them.

The files are all named as "<author> - <title>.pdf", so I am thinking the best solution would be to find a CLI PDF metadata editor so I can do do a batch re-tag on them, assuming there is any such thing on the Mac ... or can I force calibre to set metadata based on filename rather than content?

Once I've got this sorted, is it best to leave them all as PDFs, or should I convert them all to LRF?

Ta
Iain
iain_benson is offline   Reply With Quote
Old 01-19-2009, 03:43 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,504
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Just change the setting in the Advanced Configuration dialog*. By default it expects Title - Author, not Author - Title, which explains why they're getting swapped.

(?P<author>.+) - (?P<title>[^_]+)

should do the trick.

*the Configuration dialog is accessed through the small hammer icon to the right of the search field

Quote:
Originally Posted by iain_benson View Post
I'm currently using Calibre on my Mac to manage my book library and transfer it to my PRS-505.

I've just recently got a selection of PDF files which I want to use on it, but they have pretty screwy metadata ... if I just import them directly into calibre some end up with author and title swapped and some have complete garbage in them.

The files are all named as "<author> - <title>.pdf", so I am thinking the best solution would be to find a CLI PDF metadata editor so I can do do a batch re-tag on them, assuming there is any such thing on the Mac ... or can I force calibre to set metadata based on filename rather than content?

Once I've got this sorted, is it best to leave them all as PDFs, or should I convert them all to LRF?

Ta
Iain
pdurrant is offline   Reply With Quote
Advert
Old 01-19-2009, 03:51 AM   #3
iain_benson
Connoisseur
iain_benson began at the beginning.
 
iain_benson's Avatar
 
Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
Oops, I usually go through all the settings on any software I use, just to see if there is anything useful. I didn't do that with calibre!
iain_benson is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata and PDFs mdroberts Calibre 0 12-27-2009 06:54 AM
Searching for a way to batch-update PDFs metadata Pulp PDF 2 01-13-2009 06:40 AM
View PDFs with Metadata? Sonist iRex 2 12-13-2008 05:02 PM
lost metadata on pdfs slushie Calibre 15 10-05-2008 12:11 AM
Mac OS X and PPDs/PDFs mrdini Workshop 2 03-27-2008 03:00 PM


All times are GMT -4. The time now is 04:21 PM.


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