View Single Post
Old 06-22-2011, 02:30 PM   #30
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,318
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1) Look at the functions in calibre.ptempfile

2) That's what webkit does.

3) P simply resolves relative paths to files in the resources folder of your calibre install to absolute paths (look at calibre.utils.resources)
kovidgoyal is online now   Reply With Quote