Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-17-2023, 03:53 AM   #1
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
How to insert some text in a generated index page

Hello

I am building a recipe by supplying my own URLs and using Implement parse_index() (Thanks Davaid for your help on my post https://www.mobileread.com/forums/sh...d.php?t=352237)

The articles are grouped by section, and the recipe generates index pages for each section. Thats' fine !

I want now to add an introductory text in each of these section index pages.
But I do not know how to add these sections pages in the soup and modify them. I've tried some commands by looking through the built-in recipes, but it does not work.

I'm quite a newbie !!

Villard

Thanks a lot
Villard is offline   Reply With Quote
Old 02-17-2023, 06:07 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: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no simple wat to do that. You can override the methods of the recipe class that generate section pages, but that is a lot of work.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-17-2023, 10:27 AM   #3
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
There is no simple wat to do that. You can override the methods of the recipe class that generate section pages, but that is a lot of work.
Hello dear David,
Oh !, something which is not simple for you ? What do I get as a reward to have you saying something is not simple ?

I'm very surprised, you're so good, you're my star


Villard
Villard is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
insert metadata in book - text size cybmole Conversion 3 12-15-2020 07:13 AM
text margins on generated covers littlenellie Library Management 4 10-19-2020 10:38 PM
Insert text while converting PDF to EPUB DougAtHitplays Conversion 5 09-23-2011 11:52 AM
Insert metadata as page... paulfiera Calibre 7 12-28-2010 04:59 PM
Insert specified cover as first page? digital_steve Calibre 6 12-21-2010 05:54 PM


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


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