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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-18-2011, 01:41 PM   #1
MamaSylvia
Enthusiast
MamaSylvia doesn't litterMamaSylvia doesn't litter
 
Posts: 27
Karma: 124
Join Date: Mar 2011
Device: Droid 1, Kindle 3
HTML import loses author's name

When I import an HTML file with the title and author specified using Netscape's Composer (yes I know it's old but I know how to use it and it works great otherwise), Calibre captures the title just fine but the author shows up as "Unknown." Where can I put the author's name so Calibre will see and recognize it?

For that matter, what is the best format to create the original document in to hold onto both information (such as title and author) and a linked TOC? Mobi will be the output format, if that matters.

Thanks for any help!
MamaSylvia is offline   Reply With Quote
Old 03-18-2011, 01:49 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,622
Karma: 4998489
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://www.mobileread.com/forums/sho...44&postcount=9
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 03-18-2011, 03:31 PM   #3
MamaSylvia
Enthusiast
MamaSylvia doesn't litterMamaSylvia doesn't litter
 
Posts: 27
Karma: 124
Join Date: Mar 2011
Device: Droid 1, Kindle 3
That worked. Composer used the format

<meta content="Mary Jones" name="author">

which Calibre wasn't seeing, so I changed it to the

<meta name="Author" content="Mary Jones">

format from the post you referenced and re-added the book and the author's name shows up fine in Calibre. It no longer shows under the "author" field in Composer itself, but since the only reason I use Composer is to come up with a file for Calibre to add and convert, that doesn't matter.

Thanks!
MamaSylvia is offline   Reply With Quote
Old 03-18-2011, 04:04 PM   #4
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,038
Karma: 777825
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Still a bit strange as normally the order of the attributes within a tag is not significant.
itimpi is offline   Reply With Quote
Old 03-18-2011, 04:34 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,622
Karma: 4998489
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It uses a regex rather than parsing the html for performance reasons, so order matters.
kovidgoyal 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
Why do html entities get replaced upon import? kentmatt Calibre 1 12-08-2010 12:21 PM
Html import broken in 0.7.25 - ok to rollback? kiwidude Calibre 7 10-31-2010 12:07 PM
Import of HTML With Embedded <Style> Broken In 0.7.5 Oboe Joe Calibre 2 06-27-2010 10:35 AM
Sigil loses all text after an html error grumbles Sigil 3 05-13-2010 10:28 AM
importing html does not import images reup Calibre 12 12-08-2009 08:52 PM


All times are GMT -4. The time now is 06:32 PM.


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