The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-09-2009, 08:44 PM
lightmaster's Avatar
My iTouch is a Part of Me
 
Join Date: Jan 2008
Device + Firmware: iTouch 16GB + 3.0
Operating System: Mac OS X 10.5.7 + Snow Leopard GM + Win7 RC + Ubuntu 8.10
Location: Georgia
Posts: 544
Thanks: 100
Thanked 152 Times in 103 Posts
Send a message via ICQ to lightmaster Send a message via AIM to lightmaster Send a message via MSN to lightmaster Send a message via Skype™ to lightmaster
BookReader HTML Coding Help

I downloaded the app "BookReader.app" from Cydia a few days ago. I also downloaded one of the books on Cydia so I could see how it was coded in HTML. The book was broken down into a folder named whatever the book's title was and then an HTML file for each chapter. I copied the words from a book I found on the Internet into the same HTML coding that the sample book was in and, after several hours, I had a working book that I could view on my iTouch. Needless to say, it was a long and tedious process to take a PDF file and break it up chapter by chapter and make each chapter a working HTML page.

My question is: does anyone have a list of all of the HTML commands that will work with BookReader.app?

For instance, I noticed that each time I loaded a chapter, it would display text saying something to the effect of "Subchaptering book". I also noticed that, in the bottom right hand corner, there are two arrows pointing in opposite directions. I assume that this means that you can code one single HTML page containing the entire book and a command to tell BookReader.app where the chapters begin and end and you can switch between the chapters using the arrows at the bottom of the screen.

If someone knows that I'm assuming wrong about the subchaptering feature and that it doesn't exist, please let me know. If someone knows what the chapter command is or any other useful commands, please also let me know.

Thank you.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 02-12-2009, 07:59 PM
lightmaster's Avatar
My iTouch is a Part of Me
 
Join Date: Jan 2008
Device + Firmware: iTouch 16GB + 3.0
Operating System: Mac OS X 10.5.7 + Snow Leopard GM + Win7 RC + Ubuntu 8.10
Location: Georgia
Posts: 544
Thanks: 100
Thanked 152 Times in 103 Posts
Send a message via ICQ to lightmaster Send a message via AIM to lightmaster Send a message via MSN to lightmaster Send a message via Skype™ to lightmaster
How to code chapters into HTML books for BookReader

For anyone else how was wondering how to add chapters to the HTML files for BookReader, I emailed the author of the app and here is his reply. I tried it and it works beautifully. I had to add a space inside each HTML command (ie: < h1>) so it wouldn't format this post, so when you use this in your books, remove the space inside each command.

Quote:
BookReader parses the HTML, looking for standard formatting that might indicate a chapter change. If I recall correctly, the version you are using looks for the strings

< h1>...< /h1>, or
< p class="p...">< b>...< /b>< /p>

The header tags can be < h1> through < h9>, and the ellipses are some amount of text that the search doesn't care about. If you add headers using the < h1>< /h1> tags, BookReader should find them. Note that BookReader will group subsections together if they are too small (under 2kB or so) for efficiency.

John
Basically, write each chapters title as: < p>< h1>Chapter 1< /h1>< /p>
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion

Tags
bookreader.app, books, html, subchapter, subchaptering

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 02:21 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top