![]() |
#1 |
Member
![]() Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
![]()
I created a book of feeds using the following syntax:
Code:
html2epub index.html --level1-toc=//*[@class="feed"] --level2-toc=//*[@class="article"] |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That should work
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
I can repeat this issue:
Code:
feeds2disk "USA Today" --test Code:
html2epub index.html --level1-toc=//*[@class="feed"] --level2-toc=//*[@class="article"] Opening a ticket now... |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you're using feeds2disk anyway, why not use the existing OPF+NCX files?
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
I'm working with a set of html files created with feeds2disk that were merged together manually so there is no OPF or NCX file for that set of files. It seems it would not create a 2nd level TOC for any set of html files (unless of course you had an OPF & NCX file).
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well you can use the toc options provided you make sure there is a level1 toc in each file that has a level2 toc as well. Currently that's not possible with the output of feeds2disk, but in the next release I'll add a class name to the feed title so you can use that option.
|
![]() |
![]() |
![]() |
#7 | |
Member
![]() Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
Kovid: Can you clarify this? Is there a way currently to create a level1 TOC on a per-file basis?
Quote:
Thanks for all your help. |
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Code:
html2epub index.html --level1-toc=//*[@class="feed_title"] --level2-toc=//*[@class="article"] |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding Table of Contents to ePub problems... | cates | Calibre | 2 | 10-10-2010 04:18 PM |
How to make a PDF table of contents work in epub | ajbrutico | Calibre | 3 | 09-26-2010 09:31 AM |
Table of contents issue - xhtml to epub | Ryan_scriptorium | Calibre | 1 | 07-11-2010 10:40 AM |
Table of Contents on ePub | Matt2012 | Ectaco jetBook | 3 | 03-13-2010 01:35 PM |
ePub-Sony 505 slow table of contents? | dordale | ePub | 7 | 01-31-2009 06:18 AM |