View Single Post
Old 06-25-2014, 11:40 AM   #5
entodoays
Zealot
entodoays will become famous soon enoughentodoays will become famous soon enoughentodoays will become famous soon enoughentodoays will become famous soon enoughentodoays will become famous soon enoughentodoays will become famous soon enoughentodoays will become famous soon enough
 
entodoays's Avatar
 
Posts: 144
Karma: 706
Join Date: Oct 2011
Device: Sony Reader PRS-T1
Thank Kovid,

My python script works independently of Calibre for the time being. It:
  1. Creates a folder on disk
  2. Then creates subfolders for each "section" (dates)
  3. In each folder, it downloads seven html pages and cleans them with BeautifulSoup
  4. Create an index page in each folder
  5. In the base folder create an index page for all index pages

Then I can import the general index in Calibre and create an epub.

Ta transform this script into a recipe I have to change the folder creation and file downloading bits.

My question is: Is it possible to avoid using the normal "Section menu" news structure and replace it with my custom index page structure?

Please be patient; this is my first ever python script and first ever recipe.

Thanks.

The attached epub is the intended result.
Attached Files
File Type: epub Liturgie des Heures - AELF.epub (1.88 MB, 224 views)

Last edited by entodoays; 06-25-2014 at 11:46 AM.
entodoays is offline   Reply With Quote