Live data from Hacker News

Apple accepts Javascript in EPUB ebooks in iBookstore

pigsgourdsandwikis.com

1–10 of 34 posts

Re: Apple accepts Javascript in EPUB ebooks in iBookstore

#2
Previously, in a kind of reverse thing, any booklike app that didn't have interactivity was refused as a normal app and had to go in the iBook store. But interactivity ie Javascript in iBooks did not seem to be allowed.

The ePub committee spent a lot of time trying to decide if ePub was just a browser and what an eBook was, but maybe Apple have decided.

Not sure they would accept an HTML5 game as an iBook though. A kids book with puzzles in might work though and still sell as a book not an app.

Re: Apple accepts Javascript in EPUB ebooks in iBookstore

#4
As a web developer who specializes in JavaScript, I'm really thrilled -- but as a person who reads books, I'm a little worried. What does the iTunes approval process for iBooks look like? Will any kind of HIG be enforced on the books? Do book publishers have good taste in interactivity? If I wanted interactivity, I would go to the internet.

Re: Apple accepts Javascript in EPUB ebooks in iBookstore

#7
I had no idea epub allowed js in the spec. My reactionary opinion on this is negative. Why do we need this? What reason is there to have js in epub when we already have js in html? What distinction will there be between html and epub if they are both just document formats that can also execute js?

Re: Apple accepts Javascript in EPUB ebooks in iBookstore

#8

I had no idea epub allowed js in the spec. My reactionary opinion on this is negative. Why do we need this? What reason is there to have js in epub when we already have js in html? What distinction will there be between html and epub if they are both just document formats that can also execute js?

So the good thing about ePub was that it was less capable than HTML, and now they've made ePub worse by making it better?

Re: Apple accepts Javascript in EPUB ebooks in iBookstore

#9

I had no idea epub allowed js in the spec. My reactionary opinion on this is negative. Why do we need this? What reason is there to have js in epub when we already have js in html? What distinction will there be between html and epub if they are both just document formats that can also execute js?

JavaScript isn't in the current ePub 2.0 spec. Though it is suggested in the 3.0 draft. Like Apple extended ePub 2.0 with audio/video support, they seem to either support it or not prevent it.
Post reply on HN