Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2008, 10: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, 01: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: 43,856
Karma: 22666666
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
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk import - possibly stupid question Megahurts Calibre 3 04-16-2010 05:59 AM
Calibre won't import any books! sapereaudo Calibre 10 03-22-2010 08:55 PM
Import files, regex question al35 Calibre 0 03-22-2010 12:33 PM
Question for Australians: do parallel import rules apply to e-books? charlieperry News 2 12-05-2009 10:32 PM
Can't import into Calibre 6.26 Winter57 Calibre 8 12-05-2009 02:05 PM


All times are GMT -4. The time now is 05:10 PM.


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