![]() |
#1 |
Connoisseur
![]() ![]() Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
|
How to add Next Section etc to my own ebook
I have created my own epub book from a set of local html pages set up like a website minus all the formatting. I add the index.htm to calibre and convert to epub and I get a really nice book set up perfectly except I do not have the options at the top and bottom of the pages such as 'Next' 'Section Menu' 'Main Menu' etc on my Sony 650 like I do when I create a recipe for a newspaper.
How do I add those. Any help would be greatly appreciated. I could I guess do a lot of extra html work to add these buttons but Calibre can do it to Newspapers so I hope there is an easy solution. Thanks Last edited by mufc; 12-03-2010 at 05:56 PM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,235
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Note that for that to work you have to do two things:
1) Add code to the epub 2) When sending the device to to the sony mark it as a periodical in cacheExt.xml Easiest way is to write a recipe to process you html pages. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
|
Have tried the recipe way with no luck
I have tried the recipe way and this is what I get,
Failed feed: LAURA BrowserStateError("can't fetch relative reference: not viewing any document",) the next section button ( I went through the labored process of adding previous, next main section buttons to me html pages which is not ideal seeing as this is still a work in progress) works and this is what I get. Unknown section <div id="content"> <h2>Recipes</h2> <p><a href="soup.htm">Soup</a></p> <p><a href="muffins.htm">Muffins</a></p> <p><a href="cake.htm">Cake</a></p> <p><a href="cookies.htm">Cookies</a></p> <p><a href="pies.htm">Pies</a></p> <p><a href="chicken.htm">Chicken </a></p> <p><a href="beef.htm">Beef</a></p> <p><a href="turkey.htm">Turkey</a></p> <p><a href="fish.htm">Fish</a></p> </div> As far as your other 2 suggestions I have no idea how to do either. I will try to research them. 1) Add code to the epub 2) When sending the device to to the sony mark it as a periodical in cacheExt.xml Thanks I should point out that I created the book my dragging the first page over to calibre. It created a zip file that I converted to epub. OK. I have found the cacheExt.xml on my sony reader but not sure what to change. <text path="database/media/books/Cooking/Laura's Recipes - Simon Farrer_1395.epub" opened="true"> <currentPosition date="Sat, 04 Dec 2010 22:10:45 GMT" name="undefined" page="37" pageOffset="0" pages="56" part="0" scale="0" synced="false" dpi="167" width="584" height="754" layoutVersion="1"> <mark>Y29va2llcyUyMDIuaHRtI3BvaW50KC8xLzQvMi8xLzEv Mi8xKQA=</mark> Description of a periodical in my cacheExt.xml <text conformsTo="http://xmlns.sony.net/e-book/prs/periodicals/1.0/newspaper/1.0" periodicalName="BBC News (fast)" description="" publicationDate="Fri, 03 Dec 2010 10:26:11 GMT" path="database/media/books/News/BBC News (fast) [Fri, 03 Dec 2010]_2010-12-3_1297.epub" opened="true"> I am also assuming that by add code to epub you mean in conversion options but I have no idea what to put there. Last edited by mufc; 12-05-2010 at 10:27 AM. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,235
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid I don't have the time to walk you through this, you're on your own.
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
|
OK I went about another way but still have a question.
I decided to try create an rss file of my main page on my website. It works great up to a point. I removed all the links for forward and backward etc I had in the html files and now Calibre treats it like a newspaper and does what it is supposed to do ( adding section menu main menu etc)
Here is my problem now. I get the first page with the picture of the books with date and title. Then it goes to the title page and from there it will go to my chapter headings but the links in the chapters do not work. I only need to go one level further to get all my content. Any ideas ? Thanks in advance |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
|
I think I have it figured but will take time
Instead of creating a main rss file for my site I need to create rss files for my chapters.
Might take until next weekend to know but I think I am on the right track. Thanks for providing a means for me to ask questions and move me in the right direction eventually. ![]() |
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() ![]() Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
|
Eureka
A combination of OCD and notepad ++ enabled me to fully test my recipe idea.
It works a charm. Calibre treats the site like any other newspaper. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Section for non major ebook tools | Zorz | Feedback | 0 | 01-22-2010 02:09 AM |
Stanza in the eBook Software Section | Mason | Feedback | 2 | 08-21-2009 11:11 PM |