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 12-01-2014, 03:17 PM   #1
cyttorak
Member
cyttorak began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Nov 2014
Device: Kobo Mini
Question Change navigation bar

Hi

When I run my recipe:
Code:
ebook-convert gm.recipe gm.epub
Calibre add at the beginning and at the ending of each article a navigation bar:

Quote:
<div class="calibre7">| <a href="../article_2/index_u26.html">Siguiente</a> | <a href="../index_u43.html#article_1">Menú de sección</a> | <a href="../../index_u46.html#feed_3">Menú principal</a> | <a href="../article_0/index_u27.html">Anterior</a> | <hr class="calibre5"/>
</div>
...
<div class="calibrenavbar">
<hr class="calibre5"/>
<p class="calibre12">This article was downloaded by <strong class="calibre10">calibre</strong> from <a href="http://ganemosmadrid.info/acta-15-de-septiembre-2014/">http://ganemosmadrid.info/acta-15-de-septiembre-2014/</a></p>
<br class="calibre6"/><br class="calibre6"/> | <a href="../index_u43.html#article_1">Menú de sección</a> | <a href="../../index_u46.html#feed_3">Menú principal</a> | </div>
How can I customize that navigation bar?

For example, I would like remove the first bar and put the bottom bar at the begging

Last edited by cyttorak; 12-02-2014 at 03:45 AM.
cyttorak is offline   Reply With Quote
Old 12-01-2014, 09:53 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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You cannot, those are hard-coded.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-02-2014, 03:44 AM   #3
cyttorak
Member
cyttorak began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Nov 2014
Device: Kobo Mini
Ummm

And is there any chance of set a link in the title of each article to the original page?
cyttorak is offline   Reply With Quote
Old 12-02-2014, 06:30 AM   #4
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,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can do whatever you want in the article's html by implementing postprocess_html() in your recipe.
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
? Change page navigation in PW1 fogice Kindle Developer's Corner 2 06-04-2014 10:45 AM
How to remove the navigation bar in the top and bottom of each article? tq0fqeu Recipes 1 05-04-2013 06:02 AM


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


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