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 07-01-2008, 11:31 PM   #1
edembowski
Zealot
edembowski has a complete set of Star Wars action figures.edembowski has a complete set of Star Wars action figures.edembowski has a complete set of Star Wars action figures.edembowski has a complete set of Star Wars action figures.
 
edembowski's Avatar
 
Posts: 138
Karma: 372
Join Date: Apr 2008
Location: New York, NY
Device: Sony PRS-600, Nook Color, iPad
Calibre import question

I'm working with html files for import into Calibre, and I'm wondering if there are meta tags that I can embed into the content to be recognized, or if I should build an .opf file to go with the content? embedding would be easier, but the .opf route is doable.

- Ed
edembowski is offline   Reply With Quote
Old 07-02-2008, 02:21 AM   #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: 26,450
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It tries to read metadata from HTML comments. For example for title the regular expression is
Code:
<!--.*?TITLE=(?P<q>[\'"])(.+)(?P=q).*?-->
Basically,

Code:
<!-- TITLE=book title-->
Similarly for AUTHOR, PUBLISHER, ISBN
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
Bulk import - possibly stupid question Megahurts Calibre 3 04-16-2010 06:59 AM
Calibre won't import any books! sapereaudo Calibre 10 03-22-2010 09:55 PM
Import files, regex question al35 Calibre 0 03-22-2010 01:33 PM
Question for Australians: do parallel import rules apply to e-books? charlieperry News 2 12-05-2009 11:32 PM
Can't import into Calibre 6.26 Winter57 Calibre 8 12-05-2009 03:05 PM


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


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