Code Monkey home page Code Monkey logo

baker's People

Contributors

arturdryomov avatar benoitchantre avatar dominicboettger avatar folletto avatar freney avatar jeanettemueller avatar nin9creative avatar sdarlington avatar simbul avatar steiny2k avatar svdgraaf avatar therabidbanana avatar vgrichina avatar xm4s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

baker's Issues

Chapter Jumping

Hi,
I tried to apply your platform to a catalog.
I have two main issues:

  • the possibility of use it in landscape mode - already being discussed in another thread...
  • "chapter jumping"

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!

Internal referencing

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

Ebooks can be zipped

As an author I want to put the book inside Baker as a zip file.

This is required to create a "proper" hpub format.

Dose the page cache work ?

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.

Scroll down bug

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

  • 4.2

What steps will reproduce the problem?

  1. Open a book with Baker
  2. Scroll down by tapping the bottom of the iPad
  3. Keep scrolling down till ou reach the end of the page, then scroll again

What is the expected result?

  • The page scroll till the end and stop there.

What happens instead?

  • The page indeed scroll till the end, but near/at the end it keeps "jumping up" before setting down.

HTML5 Audio Tag Autoplay

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.

Native protocol for HPub books

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:

  • The identifier is the whole URI, so it's unique (book://example.com/bookname.hpub).
  • It's distributed, no need of a central authority, uses what's already in place for the web.
  • It identifies also a file type, so it's not limited to hpub
  • The resource is downloadable.
  • If DRM or authentication is required, it can be handled on different levels (server, client, payment).

Font Replacement

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?

HPub definition

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

Loading screen disable

Hi,

How can i disable loading screen ? Because , I'm long waiting for the page load. ( Page content : Video , Image , JS , JSon... )

Greetings,
AT

Blank Screen in 1.1

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?

Lightbox imageviewer

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

Scrollbar & Zoom

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

Book pages cannot be in a sub-directory?

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?

Eliminate page number, spinner and white flash between pages?

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.

Zoom the HTML content

As a user I would love to zoom the content with a double tap.
Similar to how Safari works.

Persistent Navigation on books

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.

Orientation of pages

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.

Shelf & Multiple Hpub support

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?

interactive Maps / Elements vs. pagescrolling/tapping

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?

Prevent Page from drag-scrolling?

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..

Status bar on center tap

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)

zoom in the webview

Hello,

I'm using Baker Framework. I have a question. How can i zoom and pinch current webview ?

RTL support ("manga feature")

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.

Pages and spreads

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

Display of downloaded book not working on the iOS Simulator and partly working on iPad

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:

  1. Copied the files of the built-in book to a new folder
  2. Modified Chapter 1 of the new book to make it obvious it was the new book
  3. Zipped-up all the files within the folder (but not the folder itself)
  4. Renamed the zip file to book10.hpub
  5. Moved the book10.hpub zip file to /Library/Webserver/Documents
  6. Turn on the web server of the Mac computer
    System Preferences --> Sharing --> Web Sharing --> Enabled
  7. The local Web Server will be referenced via the 127.0.0.1 address by links within the HTML pages of the book
  8. Then I compiled and ran the latest Baker sources within the iOS Simulator
  9. Within the simulator, I went to Chapter 3 of the built-in book
  10. In Chapter 3, scroll down to the link named "A medical student ..."
  11. A tap on that link downloads the new book (book10.hpub) from your computer's web server (neuro.local)
  12. The new book is successfully unzipped and the old files are replaced by the new files. This was verified by checking for my custom modification to the book files. ( Home/Library/Application Support/iPhone Simulator/4.2/Applications/###/Documents/book )
  13. !!! However !!! The book files are not being displayed in the iOS Simulator for the Baker app. The displayed text is "Mac OS X 2AATTRSA)) com.apple.quarantineq/000;4d22bf7c;Safari;com.apple.Safari
  14. !!! Debugger Console log !!! shows that the file being fetched has the wrong file name:
    Goto Page: book/._Chapter 01.html
    [+] Loading: book/._Chapter 01.html

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!

:-)

Three-cards: smoother transition between two pages

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)

Opening a new book does not reset the current page, possibly leading to a crash

How to replicate:

  • in the sample book add a link to a different book; the link must appear on a page that is higher than the number of pages in the second book (e.g.: I added the link on page 4, linking to a book of only 1 page);
  • navigate to that page;
  • send Baker to the background;
  • go back to foreground, click on the link.

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.

Target iPhone platform

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. ;)

Navigation

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:

  1. Background is flashing during navigating to the next page. You see a glimpse of page 2 if you navigate to page 3.
  2. Now I've 16 html pages in the /book directory. Tab right on page 16 brings me to page 7 and I do not understand why.
  3. Tap on the bottom of the page is great to continue reading on the same page. But not when you're almost at the end. Then the animation is strange.

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!

Navigation

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

Req: progress bar + ToC

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.

Swipe movement crash

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!

Test suite

As a developer I want to have a test suit to check for errors and safe upgrade/refactoring

White background flash makes it difficult to use any other background other than white

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.