Tuesday, April 16, 2013

Resources for PePcon Presentation (4/30@1:30)

eBooks Produced by Rick Gordon

  • Stretching: Enhanced 30th Anniversary Edition: Heavily JavaScript-enhanced, including cookie-based techniques to communicate between chapters, to implement link highlighting and dynamic backlinks, and to make data persistent; uses external SVG sections to simulate mixed fixed/flowing layout and allow live links in images. Scripting extends into the SVGs.
  • Tiny Homes: 240-page text- and image-heavy fixed layout book that simulates the original 9" × 12" coffee-table book. Produced using the CircularFLO plug-in for InDesign, preceded and followed by a lot of manual prep and follow-up. Uses a small amount of JavaScript, mostly for detailed email feedback.
  • Marathon: You Can Do It! Flowing layout, with CSS design built on aesthetic principles of print book design (yet a different design from the original print version).

Examples of Interactive eBooks

  • Stretching: Enhanced 30th Anniversary Edition: Described above, its techniques are the subject of much of this presentation.
  • Widget World: A sample book designed as a showcase for the Infogrid Pacific publishing system and its dedicated reader AZARDI, it works well in iBooks, shows a variety of intriguing techniques, and the code is not DRM’d, and therefore accessible for study.
  • EPUB 3 Unleashed: A slightly older sample book similar to Widget World. The same commentary applies.
  • EPUB 3 Accessibility Guidelines: While also a great asset for implementing accessibility in EPUB, this book also has quite a bit of JavaScript enhancement. Notably, it includes an implementation of JavaScript-enabled code coloring and line-numbering.
  • Sticks and Stones: A fixed-layout children’s book that is both an alphabet book and a primer in binary representation, it uses JavaScript for multiple purposes.
  • Raisins & Dried Fruits: Produced by Toby Stevenson of eBook Architects, the recipe sections use jQuery techniques to toggle the visibility of ingredients listed in U.S. or metric measurements. (Free, but has DRM)
  • Barcelona Beyond Gaudi: (also available as part of package deal at www.PigsGourdsAndWikis.com) Produced by Liz Castro (see book recommendations under EPUB resources), this fixed-layout book uses straight JavaScript to toggle the visibility of panels, and also serves as an example of integration with Google Maps.
  • The Monarch Butterfly: Also produced by Liz Castro, this book uses JavaScript for toggle visibility and timing for re-hiding.
  • Voyage en Dyslexie (in French): This fixed-layout children’s book uses gyroscope acceleration events to move objects when the iPad is tilted, and also allows the reader to drag objects around the page. Unfortunately, it is DRM’d.
  • Yellow Submarine (removed from iBookstore): Formerly freely available from the iBookstore (and using DRM), this book was the prototype for functionality in ibooks.js. It seems to be gone now.
  • Fixed Layout Example 3.0 (availability limited to registered Apple ebook publishers; access via iTunesConnect): The current example book for the functionality of ibooks.js.

JavaScript Resources

Books (All listed here are published by O’Reilly.)

Online

  • JavaScriptKit.com: A good go-to reference.
  • W3Schools.com: Not recommended, but totally ubiquitous. So since you’re going to wind up there, get what you can, but understand that they are noted for being unreliable. (Take your grains of salt.)
  • CodeAcademy: An online tutorial site with a lesson plan that you can continue over time. Free; expect emails.

jQuery Resources

Books (All listed here are published by O’Reilly, except for jQuery Enlightenment.)

  • JavaScript & jQuery: The Missing Manual: By David Sawyer McFarland. A good primer for basic JavaScript, segueing into an introduction to jQuery
  • jQuery Cookbook: By Cody Lindley. Lots of examples, and much more than a cookbook-type code book.
  • jQuery Enlightenment: By Cody Lindley. While not the best as a starting book, it’s a great book once you’ve wrapped your head around the basics.
  • jQuery UI: By Eric Sarrion. A good book for learning about jQuery UI, which simplifies the creation and manipulation of interface elements with jQuery
  • Learning from jQuery: By Callum Macrae. A very interesting book, assuming some knowledge of jQuery and light knowledge of JavaScript, focusing how jQuery is implemented under-the-hood, and how to do jQuery operations directly in JavaScript, for maximum efficiency

Online

EPUB Resources

Books

  • Any of Liz Castro’s books: Liz Castro is arguably the number one resource for learning about producing ebooks. Her books are easy to read, not biased to a particular product, and full of useful tips. Get them all at a package price from her website.
  • EPUB 3 Best Practices: By Matt Garish and Markus Gylling. A must-have book for navigating the changes and features of EPUB 3
  • Accessible EPUB 3: By Matt Garish. A great resource for learning how to make EPUB 3 ebooks readable by all potential readers, including (in particular) individuals with special visual or auditory considerations.
  • EPUB 3 Accessibility Guidelines: The official guide to EPUB 3 accessibility, this book is described in more depth under the Examples of Interactive eBooks heading above.

Online

Other Resources

  • The #ePrdctn Twitter hashtag: An amazing, and very active resource for the discussion of ebook technology
  • ePUBSecrets.com: Curated by PePcon hosts David Blatner and Anne-Marie Concepcion
  • StackOverflow.com: Answers for nearly everything code-related; find or post questions / get answers. I often search a question on Google, then go to the StackOverflow.com results for answers.
  • AZARDI: A JavaScript-enabling, EPUB 3–compatible reader that runs as a desktop application in Mac, Windows, and Linux environments
  • Readium for Chrome: A JavaScript-enabling, EPUB 3–compatible reader that runs as plug-in for the Chrome browser.

Friday, April 12, 2013

Welcome to eBook Production Musings

As an active participant in the monumentally awesome experience in sharing and learning under the umbrella of the #ePrdctn hashtag on Twitter, it may seem odd that the launch of this blog has been so long in coming.

But as many of us in production are aware, there always seem to be a thousand things demanding our immediate attention, and adding one more item to the endless to-do list is not always the first thing that we may want to inflict on ourselves.

Now, though, it’s definitely timeovertime! On April 30th at PePcon in Austin, I will be presenting an hour-long presentation on advanced CSS and JavaScript in ebook production (1:30 on Tuesday). And, for a start, I need a place to store or link to references, code samples, and other useful information related to that. So here it will be. Ta-da! (And I hope you’ll be there.)

For a start, the CSS for this blog will be pretty basic, until I have a chance to spiff it up a bit. (And that won’t be tonight, I’m afraid!)

So welcome to my musings on the exciting, frustrating, ever-changing world of ebook production, enhancement, and interactivity.