This is the original Baker Framework repository by Davide Casali, Marco Colombo and Alessandro Morandi. Note that this repo is not maintained anymore.
The new official fork can be found at https://github.com/bakerframework/baker/.
The HTML5 ebook framework to publish interactive books & magazines on iPad & iPhone using simply open web standards
Home Page: http://bakerframework.com
This is the original Baker Framework repository by Davide Casali, Marco Colombo and Alessandro Morandi. Note that this repo is not maintained anymore.
The new official fork can be found at https://github.com/bakerframework/baker/.
As an author I want to publish on the iPhone
This feature allows Baker's author to build well-designed books on the iPhone screen size as well. While it seems counter-intuitive to be able to build design books on the iPhone small screen, it's still well within Baker's aim: to allow authors to build great designed books... even if it's on a small screen. ;)
It would be useful to be able to easily select the "background flash" color (and associated page number) when switching pages -- for a photography book, the user might want to select a different color or perhaps black, but white seems hard coded somewhere. Perhaps the flash color could be based on the next page's background color, but I also imagine that would be complicated to implement.
As an author I want to be able to link my book and refer to it uniquely
As a user I want to open directly a book and a specific chapter by clicking on a link
This is another piece of the foundation for HPub, a way to hyperlink inside the book itself and allow to uniquely identify books.
The protocol could be:
book://example.com/bookname.hpub/filename.html#marker
This would allow both the download of a book from:
http://example.com/bookname.hpub
And the reference inside a specific part of the book.
Note that:
It seems that Apple has not implemented this feature in their HTML5 webkit implementation for the iPad. Is this something you are planning on supporting in a different way in a future release of Baker? The reason I'm asking is that I was creating a travelogue photo book and wanted to have autoplay audio commentary on the pages.
As an author I want to put the book inside Baker as a zip file.
This is required to create a "proper" hpub format.
Was: Footer bar - Navigation
As a user I think it would be interesting to have a horizontal navigation to different contents.. pages or chapters. (Footer bar)
I think that a good solution to avoid the refresh from html to html and calling a js each time... would be contain the navigation in a separate html (nav.html) and keep a top layer of the other content pages.
The navigation could have an option next and previous.
nav.html could adapted the heigth assigned by developer / designer, and it can customize perfectly the layout. :-)
example: http://itunes.apple.com/es/app/ars-technica/id393859050?mt=8
Hi,
How can i disable loading screen ? Because , I'm long waiting for the page load. ( Page content : Video , Image , JS , JSon... )
Greetings,
AT
Hello everyone!
I've just started to playaround with the Baker framework and I love it
Has anyone used any lightbox effekt to show larger images in a baker book?
I think the regular problem will be the position of the image to show because the javascript in the page don't get the scrollHeight right after scrolling in the iPad
I will test some more and post if I found some working lightbox
/jesper
Hello
My first post so I apologize for missing any etiquette. Doing a quick search of issues I see no one has posted regarding font replacement. I'm putting a book together which would ideally use Cufon font replacement for headlines and body copy. The issue is Cufon uses a domain confirmation as a way of protecting fonts from abuse. When creating a font file for use with Cufon one must upload the otf or ttf file to the system and define domains that are approved to use it. How would this domain auth work once the hpub is uploaded to the app store? Should I use another replacement technique?
Hi everyone,
I encountered a problem that causes the "swipe" moves to stop working. I think it is related to the use of internal links.
How I can I provide more information to detect what caused the problem?
Thanks!
I need orientation of pages for a project. We discussed the best way to do this was to start supporting the media query, and let UIWebView figure out which version to load after a rotation.
I'll start working on this.
As a user I want to use any name for my HTML files, seeing them inside Baker alphabetically ordered.
Hello,
I'm having problems with version 1.1, I renamed my html files and it worked for a while but now in the simulator, when I load the application I get only a blank screen.
Any ideas?
Just updated to master (34ba5fd) and I cannot see the spinner anymore.
Is it possible to make the vertical scrollbar show from all the time if the pagecontent is long?
And is it possible to turn on the zoom
best regard
We have subdirectory of HTML files that are accessed through a top-level page within the book.
The pages (files) within the sub-directory cannot be accessed from a top-level page.
Example:
Book / Chapter1.html
Book / Chapter1_More / Chapter1_More_Stuff.html
Book / Chapter2.html
Book / Chapter3.html
A link within Chapter1.html points to the Chapter1_More_stuff.html via this link "Chapter1_More/Chapter1_More_Stuff.html"
When we tap on that link, nothing happens, no error message is displayed on the iPad and not in the Debugger console. This happens also on the Simulator.
Are sub-directories allowed to have content that is hyperlinked from the top-level pages?
Hi guys, love the framework! Finally something that simply works easy without the necessity to dive into the code. Hope someday I will understand that also better. But again, I believe you're the first delivering something just easy. And it's unbelievable it's free. Hope I can contribute to the project somehow, even though I'm not a coder.
I'm trying to setup an e-book/magazine in the framework with proper use of html5. No problemo at all. Hyperlink-navigation is wonderful. Thanks for adding that. Makes it a more interactive experience. There are some issues I see. Hope it helps to make things better:
I've just one request that will make this framework complete. Think it's mentioned already. But something for pagenavigation (like TIME Magazine and others using the WoodWing framework or other frameworks) will make this a superwonderful project.
Thanks for helping me out!
I have not got an iPad. With the simulator can not I find out how it works
Thanks ;)
As a developer I want to have a test suit to check for errors and safe upgrade/refactoring
Hi,
I tried to apply your platform to a catalog.
I have two main issues:
I would like the catalog to be read as any normal book, but wanted to have direct links in main page to certain chapters. So in 1.html I had a link to 5.html, which worked, but when swipping back to the previous page, it goes back to 1.html (instead of 4.html)... I know this might be the intentional flow in some apps, but in an ebook, shouldn't it keep the page sequence, even after jumps?
Thanks!
Hi Guys!
Should we perhaps start with writing down the definition of the hpub standard, and then move on from there? Perhaps first setup a draft and get input from others? The Baker.app could serve as an an example implementation of the standard, and other people could start working on -for example- an Android implementation.
~
The current specification is here: https://github.com/Simbul/baker/wiki/hpub-specification
Hello,
I have configured my application to locate files by language and other changes I've made.
What do you think is the best way to upgrade to 1.1?
Thanks!
As an author I want to see a nice book that is a good example of what I can expect
As a developer I want to have a good book to test with
Hey!
Is there a way to pass a drag-move ( which currently scrolls the page up/down/left/right ) directly to the tap events?
This would be great to implement for a more "magazine-like" view - but i simple can't figure out how to suppress this - or better: redirect the move to the tap-functions..
As a user I want to be able to open external links in my browser
Was: more than one hpub in the same application
As a user would be great to see more than one hpub in the same application.
Pre-home with hpub-thumbsnails navigation?
As a user I would love to zoom the content with a double tap.
Similar to how Safari works.
I have try to open the comment code who have relation to below .
self.prevPage;
self.currPage;
self.nextPage;
But it seam not work well . Some thing is confused . I have try to fix it ...could you give me some tips . that i can fix this problem .
It always crash after do :
// ****** DESTROY
/*if (webView != nil&& slot != 0) {
[webView removeFromSuperview];
[webView release];
}
if destroy it . It will crash ... I don`t know why.
As a user I want to see the status bar when I tap in the middle of the pages
(this is the first step for future "center taps" admin controls)
Hej everybody,
we are currently working on an eBook and are using the Baker framework. I know this is isn't the right place for questions and support, but nevertheless there seems no other location to do so.
The specific question I have, is concerning the internal links. As HPub is using *.html files within the book folder I'm kind of keen to use some 'a href=""' referencing to jump from one page to another. Naturally this only works partially and I indeed see the right content but still be one the page I'm coming from.
Is there a clever solution to allow internal referencing?
Kind regards, Franz
Baker is GREAT WORK, thanks you!
But i wonder how the implementing of maps or interactive swipe / drag guestures could be improved? As far as i can see in the emulator, an embedded map i.e, is always fixed
All swipes / scrolls / taps are directly given to the page-move-mechanism.. is there a way to fix that, or am I missing something?
is there a technical reason for delaying the display of the next page?
Could a simple slide-left transition be used in place of the page numbering, white flash and spinner?
For most usage (book, magazine, catalog), I cannot envision a need for inserting that stuff in between the pages. It simply gets in the way and it is awkward. Each time, I have to apologize and explain to our users.
Perhaps make it be optional? Enable it within the plist.
I have set the baker-info.plist
Supported interface orientations to Landscape (left home button) ,
But the UIView is not rotation , It always stay in Portrait (bottom home button) ..
I have try
1.0 version is work ,but 1.1 is not work ....
If the user embeds a google map in their HPub, when they reach that page, the ebook will open the Maps app automatically.
Was: Smoother transition between two pages
At the moment there is a short flash between two page loads, specially when they have more images. Sometimes I see the old page for a short time after the number fades out and before the switch to the new one. Maybe there is a way to pre-render the next and previous page to make it more smooth and faster. Or is this already in? (Sorry, I have no experience with Obj-C coding / iOS SDK)
In the iOS Simulator, I downloaded and ran the latest Baker files (as of January 04, 2010).
In preparation for the testing of the download-and-display-a-new-book, I did the following:
Conclusion: Instead of loading .filename.html, it should be loading filename.html (without the . characters)
Its great accomplishment in registering a new URL type (book://) and downloading a zipped book and expanding it. Now just have to properly display the new book.
Almost there!
:-)
I have not got an iPad. With the simulator can not I find out how it works.
Nor Full screen swipes.
Thanks ;)
Scrolling down while near/at the end of a page by tapping the bottom of the screen cause the webview to "jump up" in a strange manner.
Details:
iOS Version
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Right-to-left books support:
. starting from rightmost page
. page numbering from right-to-left (10, 9, 8, 7, 6, 5, 4, 3, 2, 1)
Maybe with book "meta.html" level flag in the upcoming HPub standard.
It would be great if the Baker Framework had a persistant navigation option. At the very least an option to tap and bring up an index.
This would be outside the UIWebView and wouldn't have to be redrawn each screen. From a UX point of view, this would also help with the perception of it loading faster.
Probably the best example I've found would be Wired's Magazine app. Being able to have a consistant point of reference helps users from "getting lost". The small scrollbar at the bottom simply isn't enough. The thumbnails are a great addition too.
Hello,
I'm using Baker Framework. I have a question. How can i zoom and pinch current webview ?
How to replicate:
Baker will crash with:
2011-01-06 20:06:26.160 Baker[79463:40b] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 3 beyond bounds [0 .. 0]'
Immediate fix: reset the current page to 1 when opening a new book (and store it to NSUserDefaults).
Longer term fix: keep separate "current pages" per book.
Hey,
I like the idea of baker & will keep an I on it.
There is an issue when opening opening the newly checked out project & running it straight away.
Hello,
I would really like to see a way to switch between pages and spreads. This is inherent to book structure and design. For those of us who design books, we design in spreads, and it would be nice to design in this new format using the same standards. Specifically, I'd like to see a switch from page to spreads on rotating the ipad to the horizontal. I believe Adobe's new digital magazine standard does this by keeping two sets of files, one for vertical layout and one for horizontal. I don't know if that is the best solution, but it would work. Maybe a simpler solution would be to logically placing two pages next two each other in same order a book would (spreads). So if you are looking at page 2, and rotate, you should get the spread containing pages 2 and 3; and the same should occur if you were on page 3, because it is part of the page 2 and 3 spread.
Hope that makes sense. I really can't image designing a book without spreads. And simply reorienting everything with media query is not enough.
Thanks
Daniel
Are partials something you've considered already?
(and is there any way I can apply a label to an issue?)
A progress bar while reading the book would be super handy. I've got some ideas for styling. :)
Ditto for a Table of Contents. Perhaps by swiping down at the top of a page? Kind of like the refresh gesture in Tweetie/Twitter for iPhone.
I'm quite sure it could be an OS-related problem, so not related with Baker, but anyway: I'm working on a project where I include a font with @font-face and after updating to 4.2 (both SDK and iPad) the @font-face support seems gone.
Anyone experiencing the same problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.