ebook template

I am an author/publisher knowledgeable in HTML and CSS (but not JavaScript) who desires to publish my books in apps rather than ebooks. I need an Onsen template for an ebook that I can just plug in my HTML pages and have a finished product. Does such a template exist? Would it be easy for me to create one?

@sinc Are you wanting to do chapters and such? Should each chapter be just one long scrolling page?

If so, the easiest way would be to use Monaca Cloud IDE, create a new project and use the sliding menu example. Then each chapter just needs to be its own html page and you link it, very much like <a> hyperlinks, to the menu. No javascript needed (kind of) as it is generated automagically by Onsen. All you would do is open menu.html and add/modify these lines to match your chapters.

From there, just duplicate the page1.html and name them as your chapters. These pages accept any standard html and doesn’t require any additional modifications other than to fit the device screens, font size, etc.

@sinc You can do the swipeable chapters and it works very much the same way. On the chapterX.html page, you would add the ons-carousel and then create pageX.html. This is a down and dirty way avoiding as much JS as possible. If you want to get into a bit of JS, you could easily do one main page that might be your cover graphic with a carousel then you would just add the pageX.html files. Then in your menu.html page, you would just call the page that corresponds to the page that is the start of the chapter.

Additionally, I would think a really good eBook would remember where you left off. That is also not as complex as you would think to implement. You would use localStorage to remember what page the user is on. In this thread, https://community.onsen.io/topic/246/walktrough I discuss how to do this exact feature.

I would still recommend using the cloud IDE and you could have all of this setup and running fairly quickly. I think you would be surprised at how simple the JS would be.

@munsterlander Sorry to be so late in replying, as I didn’t know there was another post. I have been spending my time publishing five books as web books. I have two more books to go. Later this year I want to make all seven into book apps via Monaca. Thus, I’m still interested in a template. Please advise. Thanks.