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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2010, 02:43 PM   #1
naisren
Enthusiast
naisren began at the beginning.
 
Posts: 38
Karma: 12
Join Date: Jul 2009
Device: ppc
How to add my own html page to recipe

I often use ebook-convert.exe (DOS) to fetch enews into mobi format and I want to add the following guide.html into recipe but no way to do it.

guide.html

Code:
<html><body>
<reference type="lot" title="HightLight" onclick="selection.highlight( ) "/>
<reference type="lot" title="Annotate" onclick="selection.annotate( ) "/>
<reference type="lot" title="Lookup" onclick="selection.lookup( ) "/>
</body></html>
The purpose is to let "Highlight, Annotate, Lookup" appear with "first page" from bottom menu.
Attached Thumbnails
Click image for larger version

Name:	Screen001.png
Views:	62
Size:	34.7 KB
ID:	61373  
naisren is offline   Reply With Quote
Old 11-17-2010, 02:52 PM   #2
naisren
Enthusiast
naisren began at the beginning.
 
Posts: 38
Karma: 12
Join Date: Jul 2009
Device: ppc
Another problem is add date to append title
command
ebook-convert.exe abcnews.recipe abcnew <date>.mobi --output-profile kindle
I hope the title appears as "abcnews MM DD YYYY", not just abcnews.
naisren is offline   Reply With Quote
 
Enthusiast
Old 11-17-2010, 02:54 PM   #3
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,637
Karma: 4998489
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That would require changes to the way MOBI is generated in the conversion pipeline. <reference> tags are ignored by the MOBI output plugin. And you cannot add date to title with the kindle output profile. This is because ont he kindle dates are displayed anyway for news downloads. Change your output profile to something else.
kovidgoyal is offline   Reply With Quote
Old 11-17-2010, 04:37 PM   #4
naisren
Enthusiast
naisren began at the beginning.
 
Posts: 38
Karma: 12
Join Date: Jul 2009
Device: ppc
Quote:
Originally Posted by kovidgoyal View Post
That would require changes to the way MOBI is generated in the conversion pipeline. <reference> tags are ignored by the MOBI output plugin.
Thanks a lot. Now I see why calibre could not generate <reference>, though mobigen (now kindlegen) could do it through opf file or html file.
I have to compile mobi enews awkwardly.
naisren 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
Add book as HTML file Mister_R Calibre 5 10-19-2010 10:43 AM
Calibre Recipe HTML content differs from raw html of index.html. krunk Calibre 4 09-20-2010 09:48 PM
New to Calibre - Recipe/HTML question cklls Calibre 3 07-23-2010 11:53 AM
Add HTML with meta tags Pixelmagic Calibre 3 03-03-2010 07:54 PM
Unable to add HTML files in 0.6.10 nekokami Calibre 2 09-06-2009 11:17 AM


All times are GMT -4. The time now is 11:42 AM.


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