<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Threepress Consulting blog &#187; html5</title>
	<atom:link href="http://blog.threepress.org/category/html5/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.threepress.org</link>
	<description>Threepress creates software for publishers, educators and authors.</description>
	<lastBuildDate>Tue, 27 Jul 2010 16:34:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Geo-aware ebook demo</title>
		<link>http://blog.threepress.org/2010/06/08/geo-aware-ebook-demo/</link>
		<comments>http://blog.threepress.org/2010/06/08/geo-aware-ebook-demo/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 17:47:29 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[ebooks]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[interactivity]]></category>
		<category><![CDATA[ipad]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1478</guid>
		<description><![CDATA[
We&#8217;re making the geo demo featured in the Interactivity in EPUB talk available for download under the MIT License.
About the demo
In the demo, the geolocation capability of the web browser transmits your latitude/longitude.  The code then queries the Geonames database to get an English placename.  
After that, the code will continually poll for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://threepress.org/static/labs/geo/"><img src="http://3press-blog.s3.amazonaws.com/sm-geo-ebook.png" alt="Geo ebook demo" style="float:right;padding-left: 1em"/></a></p>
<p>We&#8217;re making the geo demo featured in the <a href="http://blog.threepress.org/2010/06/02/interactivity-in-epub-using-javascript-html5-and-css3-beaidpf-video-posted/">Interactivity in EPUB</a> talk available for download under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>.</p>
<h3>About the demo</h3>
<p>In the demo, the geolocation capability of the web browser transmits your latitude/longitude.  The code then queries the <a href="http://ws.geonames.org">Geonames</a> database to get an English placename.  </p>
<p>After that, the code will continually poll for your current location.  If you remain still, text will be displayed to indicate that the main character is bored and waiting to set off on her adventure.  When your lat/long changes, it displays new text.</p>
<h3>What&#8217;s in the demo</h3>
<p>This is a ZIP file bundle of the following resources:</p>
<ul>
<li>The geo code itself, in JavaScript, CSS and XHTML</li>
<li>A copy of the <a href="http://monocle.inventivelabs.com.au/">Monocle</a> ereader by Inventive Labs</li>
<li>A copy of <a href="http://code.google.com/p/geo-location-javascript/">geo-location-javascript</a>, which provides a simplified API to the HTML5 geolocation feature</li>
<li>The embedded font <a href="http://www.fontsquirrel.com/fonts/IM-FELL-English-PRO">IM Fell English Pro</a>, converted to SVG format for use on iPads/iPhones.</li>
</ul>
<p>The book content is in the form expected by Monocle, not EPUB, though if someone wanted to produce an EPUB version I would be happy to link to it.  It should be possible to produce a valid EPUB file though very few ereaders would be able to run it.</p>
<p><a href="http://3press-blog.s3.amazonaws.com/geo-ebook-threepress.zip">Download the source code</a>.</p>
<h3>Try it now</h3>
<p>You can also <a href="http://threepress.org/static/labs/geo/">try it out in a geo-aware browser</a>.  This should work in Chrome, Firefox and Safari 5, as well as on iPads and iPhones (and probably Android), though the user interface will need to be changed to support smaller devices.  </p>
<p>Keep in mind that if you&#8217;re on a real computer, you&#8217;ll never see the &#8220;you&#8217;ve moved&#8221; state change since your location is based on your internet service provider. Even on a mobile device, it can take quite some distance to update your position as GPS does not discriminate very finely.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/06/08/geo-aware-ebook-demo/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Interactivity in EPUB using JavaScript, HTML5 and CSS3: BEA/IDPF video posted</title>
		<link>http://blog.threepress.org/2010/06/02/interactivity-in-epub-using-javascript-html5-and-css3-beaidpf-video-posted/</link>
		<comments>http://blog.threepress.org/2010/06/02/interactivity-in-epub-using-javascript-html5-and-css3-beaidpf-video-posted/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 14:29:39 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[interactivity]]></category>
		<category><![CDATA[talks]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1467</guid>
		<description><![CDATA[I re-recorded my talk at IDPF Digital Book as a video.  Getting the audio synced properly was no fun so I apologize for a few production issues.
Interactivity in EPUB
View more videos from lizadaly.

Here&#8217;s the executive summary of the talk:

 You can add interactivity to an EPUB book using either the &#60;object&#62; or &#60;script&#62; elements.
 [...]]]></description>
			<content:encoded><![CDATA[<p>I re-recorded my talk at IDPF Digital Book as a video.  Getting the audio synced properly was no fun so I apologize for a few production issues.</p>
<div style="width:425px" id="__ss_4390733"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/lizadaly/interactivity-in-epub" title="Interactivity in EPUB">Interactivity in EPUB</a></strong><object id="__sse4390733" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/playerv.swf?doc=epub-100602085847-phpapp02-video&#038;stripped_title=interactivity-in-epub&#038;autoplay=0" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse4390733" src="http://static.slidesharecdn.com/swf/playerv.swf?doc=epub-100602085847-phpapp02-video&#038;stripped_title=interactivity-in-epub&#038;autoplay=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">videos</a> from <a href="http://www.slideshare.net/lizadaly">lizadaly</a>.</div>
</div>
<p>Here&#8217;s the executive summary of the talk:</p>
<ul>
<li> You can add interactivity to an EPUB book using either the &lt;object&gt; or &lt;script&gt; elements.</li>
<li> Currently <em>object</em> has the best support, especially <a href="http://blog.threepress.org/2009/11/14/using-flash-video-in-epub/">using Flash in Adobe Digital Editions</a>.</li>
<li> The <em>script</em> element is specifically discouraged (though not disallowed) in EPUB 2.0.1, and no major reading system supports it. However, all browsers do!</li>
<li> The primary advantage of interactivity using <em>script</em> is that the content creator has the ability to manipulate every part of the ebook: all of the text, its layout, even potentially the user interface of the reading system itself. With <em>object</em> you can apply interactivity to just an arbitrary rectangle.</li>
<li> There is a great deal of interesting animation and even interactivity possible using CSS3, which <em>is</em> allowed in EPUB 2.0.1 and is supported by iBooks and <a href="http://blog.threepress.org/2010/04/02/designing-ebooks-for-epub-reading-engines/">other WebKit-based ereaders</a>.</li>
<li> Interactivity is also possible using JavaScript combined with the <a href="http://blog.threepress.org/2010/04/12/html5-for-publishers/">HTML5</a> <em>canvas</em> element, though <em>canvas</em> is not part of EPUB 2.0.1.</li>
<li> With access to JavaScript on mobile devices, ebooks can potentially gain access to information about the reading device itself, such as the location of the reader in the physical world, or the device&#8217;s orientation, or even add photos and video from the device&#8217;s camera.</li>
<li> Any ereader that allows JavaScript provides the ability for ebooks to access live data on the web.</li>
<li>The primary blocker for extremely rich interactive ebooks is ereader support, but by embedding browser-based reading systems like <a href="http://monocle.inventivelabs.com.au/">Monocle</a>, content creators can distribute such ebooks today.</li>
<li>It remains to be worked out how to handle JavaScript in larger ereading systems both safely and with proper fallbacks to non-interactive content.</li>
</ul>
<p>I&#8217;ll also be posting some of the example files used in the tutorial in a forthcoming post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/06/02/interactivity-in-epub-using-javascript-html5-and-css3-beaidpf-video-posted/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Designing ebooks for ePub reading engines (video)</title>
		<link>http://blog.threepress.org/2010/04/28/designing-ebooks-for-epub-reading-engines-video/</link>
		<comments>http://blog.threepress.org/2010/04/28/designing-ebooks-for-epub-reading-engines-video/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 21:04:46 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[book design]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[devices]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[talks]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1449</guid>
		<description><![CDATA[The video of my session at BookNet Canada Tech Forum is now posted over on their site (scroll down to 1pm):

In the video you can enjoy the dramatic moment when the lights inexplicably dim and I think I&#8217;m being thrown off stage.
(Slides for &#8216;Designing ebooks for ePub reading engines&#8217;)
]]></description>
			<content:encoded><![CDATA[<p>The video of my session at BookNet Canada Tech Forum is now posted over on their site (scroll down to 1pm):</p>
<p><a href="http://www.booknetcanada.ca/index.php?option=com_content&#038;view=article&#038;id=567&#038;Itemid=534"><img src="http://3press-blog.s3.amazonaws.com/booknet.png" alt="BookNet Canada presentation" /></a></p>
<p>In the video you can enjoy the dramatic moment when the lights inexplicably dim and I think I&#8217;m being thrown off stage.</p>
<p>(<a href="http://blog.threepress.org/2010/04/02/designing-ebooks-for-epub-reading-engines/">Slides for &#8216;Designing ebooks for ePub reading engines&#8217;</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/04/28/designing-ebooks-for-epub-reading-engines-video/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML5 for publishers</title>
		<link>http://blog.threepress.org/2010/04/12/html5-for-publishers/</link>
		<comments>http://blog.threepress.org/2010/04/12/html5-for-publishers/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 14:58:15 +0000</pubDate>
		<dc:creator>Keith Fahlgren</dc:creator>
				<category><![CDATA[content]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1402</guid>
		<description><![CDATA[The launch of the iPad and iBooks and the tremendous stream of one-off demos reimagining publishing have made it extremely difficult to understand what technologies for enriched content are available to publishers today. In particular, I’ve seen a lot of confusion about what HTML5 might actually mean and what specific opportunities it might bring for [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="blog.threepress.org/2010/04/05/ibooks-and-epub/">launch of the iPad and iBooks</a> and the tremendous stream of <a href="http://www.wired.com/epicenter/2010/02/the-wired-ipad-app-a-video-demonstration/">one-off demos</a> <q><a href="toc.oreilly.com/2010/04/why-ipad-adaptation-is-an-uphill-battle-for-incumbent-publishers.html">reimagining</a></q> publishing have made it extremely difficult to understand what technologies for enriched content are available to publishers today. In particular, I’ve seen a lot of confusion about what <q>HTML5</q> might actually mean and what specific opportunities it might bring for digital reading.</p>
<p>To try to shed some light on some complicated work, I’ve pieced together a very incomplete introduction to some of the new things that HTML5 and related specifications <em>might</em> bring (remember: they aren&#8217;t finished or implemented everywhere).</p>
<p><span id="more-1402"></span></p>
<p>Seven concrete areas of opportunity:</p>
<dl>
<dt><a href="http://www.w3.org/TR/html5/semantics.html#semantics">New semantics</a></dt>
<dd>
<p>HTML5 adds <a href="http://diveintohtml5.org/semantics.html#new-elements<br />
">a bunch of new elements</a> that might help publishers represent their content more clearly.</p>
<ul>
<li class="upside"><code>section</code>, <code>article</code>, <code>header</code>, and <code>aside</code> should be very useful wrappers for real-world content.</li>
<li class="downside">Older web browsers will safely ignore unknown tags, but some ereaders that aren&#8217;t based on browsers may exhibit unexpected behavior. Also, typically, semantic tagging alone won&#8217;t drive a lot of sales.</li>
</ul>
</dd>
<dt><a href="http://www.w3.org/TR/html5/the-canvas-element.html#the-canvas-element">Drawing</a></dt>
<dd>
<p>HTML5 adds a <code>canvas</code> element, which allows for (<a href="http://www.benjoffe.com/code/games/torus/">really</a> <a href="http://n96.org/#lat=41.52&#038;lon=-100.11&#038;dist=2500">snazzy</a>) complex drawing and animation. Mark Pilgrim’s chapter in <a href="http://diveintohtml5.org/canvas.html">Dive into HTML5</a> offers not only the hairy details but also an example of how embedded HTML5 can change instructional materials (view it in Safari).</p>
<ul>
<li class="upside">This might replace some of what we think about when we say &#8216;Flash&#8217; casually. It might allow for more interactive elements to be included in content.</li>
<li class="downside">There are no easy-to-use tools that generate canvases — they must be coded by hand (Although it sounds like some basic tools <a href="http://www.9to5mac.com/Flash-html5-canvas-35409730">are close</a>).</li>
</ul>
</dd>
<dt><a href="http://www.w3.org/TR/html5/video.html#video">Video</a></dt>
<dd>
<p>HTML5 adds a <code>video</code> element, which offers the first standards-based way to embed video in a web page. Similarly, an <code>audio</code> element has been added.</p>
<ul>
<li class="upside">Seamlessly embedable video may offer new ways of assembling and delivering multimedia content.</li>
<li class="downside">Licensing for the actual encodings of the video content (the way that they&#8217;re compressed and stored) is <a href="http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=65403">unbelievably messed up and getting worse</a>.</li>
</ul>
</dd>
<dt><a href="http://www.w3.org/Style/CSS/current-work#CSS3">CSS3</a></dt>
<dd>
<p>A related set of updates to the Cascading Stylesheets specifications, CSS3, is often discussed alongside HTML5.</p>
<ul>
<li class="upside">CSS3 may bring a range of delightful updates for content creators, from better support for font-faces on the web to animations and transitions that may (along with canvas) allow alternatives to Flash for <a href="http://girliemac.com/sandbox/matrix.html">flashy</a> <a href="http://devfiles.myopera.com/articles/1041/image-gallery.html">stuff</a>.</li>
<li class="downside">Licensing solutions for fonts on the web are still in-progress. Authoring tools non-existent; support not complete across browsers.</li>
</ul>
</dd>
<dt><a href="http://www.w3.org/TR/geolocation-API/">Geolocation</a></dt>
<dd>
<p>Updates to a JavaScript API alongside HTML5 allow for users to reveal their physical location.</p>
<ul>
<li class="upside">There are probably a lot of opportunities to connect reading, readers, booksellers, and where people actually are.</li>
<li class="downside"><a href="http://diveintohtml5.org/geolocation.html#w3c">Very little support</a> on desktops or more basic phones.
</li>
</ul>
</dd>
<dt><a href="http://www.w3.org/TR/offline-webapps/">Offline Applications</a></dt>
<dd>
<p>A <a href="http://www.w3.org/TR/offline-webapps/">set</a> of <a href="http://www.w3.org/TR/webdatabase/">specifications</a> related to HTML5 make it possible to create web applications that run without an active internet connection.</p>
<ul>
<li class="upside">Offline web applications can offer many of the features that standalone iPhone and Android Apps have and do not have to go through any App Store. They may also be more portable, as they don&#8217;t<br />
have to have a separate set of software for each platform. [<em>Explicitly</em>: This is the part of <q>HTML5</q> that allows <a href="http://ibisreader.com">Ibis Reader</a>  to behave just like a <q>normal</q> App on iPhones, iPads, and Android phones.]</li>
<li class="downside">Offline web applications are typically slower than standalone apps, although this will become less important as faster devices like the iPad become more common. Support on platforms is not uniform. Firefox doesn&#8217;t seem interested in supporting the current database specification.</li>
</ul>
</dd>
<dt><a href="http://www.w3.org/TR/microdata/">Microdata</a></dt>
<dd>
<p>Another related specification that provides way of adding machine-readable annotations to content.</p>
<ul>
<li class="upside">One use of microdata might be to embed content licensing and other details inside pages.</li>
<li class="downside">Yawn. Some of these features have been around in microformats for years and haven&#8217;t really taken off, although this could be very important for specialized content with regularly-structured content (cookbooks would be an easy example).</li>
</ul>
</dd>
</dl>
<p>Sadly, HTML5 support (on any of the above) in Internet Explorer (even the unreleased IE9) is woefully incomplete and IE is still the most ubiquitous browser. Look at the number of red Xs in the right-hand columns of this support chart: <a href="http://www.findmebyip.com/litmus/">http://www.findmebyip.com/litmus/</a></p>
<p>Does the above inspire you to try out some of these new opportunities now that you can pierce some of the HTML5 hype? Please <a href="http://threepress.org/contact/">let us know</a>, as we’re actively seeking publishers and authors interested in innovating and experimenting with actual content to develop short- or long-form examples that take avantage of these new possibilities for enthralling, educating, and entertaining readers.</p>
<hr />
<p>Want to explore in more detail? Both <a href="http://html5doctor.com">http://html5doctor.com</a> &#038; <a href="http://diveintohtml5.org">http://diveintohtml5.org</a> have great details on the state of the above technologies. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/04/12/html5-for-publishers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Threepress now (re)open for business</title>
		<link>http://blog.threepress.org/2010/03/18/threepress-now-reopen-for-business/</link>
		<comments>http://blog.threepress.org/2010/03/18/threepress-now-reopen-for-business/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 15:03:41 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[ebooks]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ibisreader]]></category>
		<category><![CDATA[ipad]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1325</guid>
		<description><![CDATA[During much of the first quarter we needed to turn folks away who were looking for help with ebook conversions and other projects, due to the demands of launching  Ibis Reader. 
We&#8217;re on track now to resume consulting and custom publishing software development alongside Ibis Reader, so please feel free to contact info@threepress.org for:

Ebook [...]]]></description>
			<content:encoded><![CDATA[<p>During much of the first quarter we needed to turn folks away who were looking for help with ebook conversions and other projects, due to the demands of launching  <a href="http://ibisreader.com/">Ibis Reader</a>. </p>
<p>We&#8217;re on track now to resume <a href="http://threepress.org/about/">consulting and custom publishing software development</a> alongside Ibis Reader, so please feel free to contact <a href="mailto:info@threepress.org">info@threepress.org</a> for:</p>
<ul>
<li>Ebook strategy</li>
<li>EPUB consulting</li>
<li>Help getting books onto the iPad</li>
<li>Challenging ebooks: enhanced books, video, audio, interactivity, custom fonts</li>
<li>HTML5 and mobile development</li>
<li>Custom <a href="http://bookworm.oreilly.com/">Bookworm</a> development</li>
<li>White labeling Ibis Reader</li>
<li>XML workflows</li>
<li>DocBook and other schema development</li>
<li><a href="http://threepress.org/speaking/">Speaking</a> and training</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/03/18/threepress-now-reopen-for-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First ereader on the iPad</title>
		<link>http://blog.threepress.org/2010/03/17/first-ereader-on-the-ipad/</link>
		<comments>http://blog.threepress.org/2010/03/17/first-ereader-on-the-ipad/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 14:00:57 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[ibisreader]]></category>
		<category><![CDATA[ipad]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1291</guid>
		<description><![CDATA[About 15 minutes of minor changes and Ibis Reader is the first ereader on the iPad. App developers have to wait for approval, and even Apple has to to wait for the release of the actual hardware.  If you have access to the iPad simulator, you can use it right now.
If you access the [...]]]></description>
			<content:encoded><![CDATA[<p>About 15 minutes of minor changes and <a href="http://ibisreader.com/">Ibis Reader</a> is the first ereader on the iPad. App developers have to wait for approval, and even Apple has to to wait for the release of the actual hardware.  If you have access to the iPad simulator, you can use it <em>right now</em>.</p>
<p>If you access the site on an iPad today, you get a different block of content on the home page:</p>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-16-at-11.59.31-AM.png"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-16-at-11.59.31-AM.png" alt="" title="Screen shot 2010-03-16 at 11.59.31 AM" width="558" height="384" class="aligncenter size-full wp-image-1292" /></a></p>
<p>The link provided is the same one that we direct all HTML5 devices at.  Here are some screenshots from the experience:</p>
<h2>List page</h2>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-16-at-11.55.25-AM.png"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-16-at-11.55.25-AM-228x300.png" alt="" title="Screen shot 2010-03-16 at 11.55.25 AM" width="228" height="300" class="alignleft size-medium wp-image-1294" /></a></p>
<h2 style="clear:both">Book table of contents</h2>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-16-at-11.54.57-AM.png"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-16-at-11.54.57-AM-230x300.png" alt="" title="Screen shot 2010-03-16 at 11.54.57 AM" width="230" height="300" class="alignleft size-medium wp-image-1295" /></a></p>
<h2 style="clear:both">Reading page</h2>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-16-at-12.06.24-PM.png"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-16-at-12.06.24-PM-233x300.png" alt="" title="Screen shot 2010-03-16 at 12.06.24 PM" width="233" height="300" class="alignleft size-medium wp-image-1296" /></a></p>
<p><br style="clear:both"/></p>
<p>Obviously there are some stylistic changes we&#8217;ll want to make:</p>
<ul>
<li> Making the margins in reading pages wider </li>
<li> Enlarging the size of cover images </li>
<li> Making better use of space on list pages </li>
</ul>
<h2>Tech notes</h2>
<p>Here are a few things we had to change to get it working:</p>
<h3>Event handling</h3>
<p>On Android and the iPhone, <em>touchstart</em> and <em>touchend</em> events are fired when the user touches the application, followed by <em>onclick</em>.  We preferentially use the <em>touch</em> events when reading a book because of some quirks in Android.</p>
<p>The iPad doesn&#8217;t seem to automatically fire the <em>onclick</em> event after a touch, so I had to make it manually trigger that for anchor links.</p>
<h3>Orientation changes</h3>
<p>The iPad simulator doesn&#8217;t fire the <em>orientationchange</em> event when the simulator is rotated.  We don&#8217;t know yet whether that will be true of the device, so at this time Ibis Reader won&#8217;t correctly re-paginate after an orientation change.</p>
<h3>Viewport width/height</h3>
<p>The iPhone doesn&#8217;t report its height/width correctly, and doesn&#8217;t report it differently when rotated.  We have these values hard-coded in the app.</p>
<p>Happily, the iPad does seem to report the correct value, both when the URL bar is visible and when it&#8217;s not (because the app has added to the home screen).  We don&#8217;t yet know about rotation since we&#8217;re unable to detect that.</p>
<h3>HTML5 database size</h3>
<p>There&#8217;s a bug in the current iPhone OS (3.1) in which the user won&#8217;t be prompted to increase an HTML5 database after the webapp has been added to the home screen.  This means that Ibis Reader users on the iPhone can&#8217;t ever add more than the default 50MB worth of books. This bug appears to have been fixed in the iPad OS.</p>
<p>(Android does not prompt the user to increase a DB, but does increase it automatically if there is space available on the device.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/03/17/first-ereader-on-the-ipad/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Ibis Reader update 1: syncing and &#8220;no distractions&#8221; reading mode</title>
		<link>http://blog.threepress.org/2010/03/15/ibis-reader-update-1-syncing-and-no-distractions-reading-mode/</link>
		<comments>http://blog.threepress.org/2010/03/15/ibis-reader-update-1-syncing-and-no-distractions-reading-mode/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 14:00:52 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[ibisreader]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1257</guid>
		<description><![CDATA[In the two weeks since we launched Ibis Reader, we&#8217;ve been listening to feedback about what features you wanted to see most. I&#8217;m happy to say that we&#8217;ve just released two of those major enhancements: position syncing and a better interface for reading on the web. 
First, here&#8217;s how to get the update, since this [...]]]></description>
			<content:encoded><![CDATA[<p>In the two weeks since we launched <a href="http://ibisreader.com/">Ibis Reader</a>, we&#8217;ve been listening to feedback about what features you wanted to see most. I&#8217;m happy to say that we&#8217;ve just released two of those major enhancements: position syncing and a better interface for reading on the web. </p>
<p>First, here&#8217;s how to get the update, since this was  <a href="http://getsatisfaction.com/threepress/topics/iphone_ibis_client_update_concerns">already asked</a>:</p>
<h2>Getting the latest update on your mobile device</h2>
<p>HTML5 devices will get the very latest code on the <em>second</em> time you open the application after an update.  So if you haven&#8217;t used Ibis recently, you might need to open and close it twice.  If you&#8217;ve never used it, you&#8217;ll already be up to date.  That&#8217;s it!</p>
<p>We always post the revision date at the bottom of each book information page:</p>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/current-version.jpg"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/current-version.jpg" alt="" title="current-version" width="320" height="124" class="aligncenter size-full wp-image-1258" /></a></p>
<p><strong>We&#8217;re recommending that you also log out and log back in again if you haven&#8217;t used Ibis in awhile.</strong></p>
<h2>Full position syncing across all clients</h2>
<p>While Ibis Reader has always kept track of the books you acquired from any device, it now also tracks your position within each chapter (<a href="http://getsatisfaction.com/threepress/topics/desktop_and_iphone_dont_sync">as requested</a>).</p>
<p>For example, if you read on the web site for awhile, then switch to reading that same book on your iPhone, you should see a message like the following:</p>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/photo-2.jpg"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/photo-2.jpg" alt="" title="photo (2)" width="320" height="480" class="aligncenter size-full wp-image-1259" /></a></p>
<p>Position syncing across multiple devices and font configurations is tricky and we&#8217;ve still got a few bugs, but we&#8217;ll be improving it along the way and would love feedback.</p>
<h2>&#8220;No distractions&#8221; reading mode</h2>
<p><a href="http://getsatisfaction.com/threepress/topics/im_sure_you_love_fuschia_but">While everybody loves fuschia</a>, we always wanted to include a distraction-free reading screen that fulfills our mission of &#8220;getting out of your way.&#8221;</p>
<p>From any reading page on the website, click &#8220;No distractions&#8221;:</p>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-12-at-5.57.10-PM.png"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-12-at-5.57.10-PM.png" alt="" title="Screen shot 2010-03-12 at 5.57.10 PM" width="700" " class="aligncenter wp-image-1272" /></a></p>
<p>You&#8217;ll be taken into the new mode:</p>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-12-at-5.29.14-PM.png"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-12-at-5.29.14-PM.png" alt="" title="Screen shot 2010-03-12 at 5.29.14 PM" width="700"  class="aligncenter  wp-image-1261" style="border: 1px solid gray"/></a></p>
<p><strong>In both the table-of-contents view and in reading mode you can now make font face and size preferences, and these will persist across sessions.</strong></p>
<p>You can also adjust the width of the text in reading mode by dragging the right margin right and left.  This value will also persist:</p>
<p><a href="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-12-at-5.32.33-PM.png"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/Screen-shot-2010-03-12-at-5.32.33-PM.png" alt="" title="Screen shot 2010-03-12 at 5.32.33 PM" width="700"  class="aligncenter size-medium wp-image-1262" style="border: 1px solid gray"/></a></p>
<p><em>Currently, automatic position updates are only posted when you&#8217;re in no-distractions mode, or when reading on a device.</em> We don&#8217;t want to post your position if you&#8217;re just jumping around the TOC searching for something, only when you&#8217;re engaged in reading.  But that might be a bad assumption, let us know!</p>
<h2>Other updates</h2>
<p>We also fixed a number of bugs and added a few small features here and there, primarily:</p>
<h3>Open in Stanza or Aldiko</h3>
<p>From any book information page you can choose to export the current book to these popular programs if you&#8217;re on an iPhone/iPod Touch or Android, respectively:<br />
<a href="http://blog.threepress.org/wp-content/uploads/2010/03/stanza.jpg"><img src="http://blog.threepress.org/wp-content/uploads/2010/03/stanza.jpg" alt="" title="stanza" width="320" height="341" class="aligncenter size-full wp-image-1263" style="border: 1px solid gray" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/03/15/ibis-reader-update-1-syncing-and-no-distractions-reading-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three JavaScript ePub Readers</title>
		<link>http://blog.threepress.org/2010/02/06/three-javascript-epub-readers/</link>
		<comments>http://blog.threepress.org/2010/02/06/three-javascript-epub-readers/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 21:09:27 +0000</pubDate>
		<dc:creator>Keith Fahlgren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[epub zen garden]]></category>
		<category><![CDATA[epubjs]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ibisreader]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1198</guid>
		<description><![CDATA[The last few weeks have seen a tremendous increase in interest about ePub. Many new blog posts have been written trying to explain the format. We’ve also seen a big jump in the number of publishers coming to Threepress for help with tricky ePub problems or just asking for guidance about the format. While I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>The last few weeks have seen a <a href="http://www.google.com/trends?q=epub">tremendous increase in interest</a> about <a href="http://www.openebook.org/">ePub</a>. Many new blog posts have been written trying to explain the format. We’ve also seen a big jump in the number of publishers coming to <a href="http://threepress.org">Threepress</a> for help with tricky ePub problems or just asking for guidance about the format. While I&#8217;d like to pretend that the growth is due, in part, to a long-anticipated awareness about the benefits of open standards among consumers, publishers, and suppliers, I think it&#8217;s more likely that it was Steve Jobs&#8217; explicit mention of ePub support in <a href="http://www.apple.com/ipad/features/">iBooks on the iPad</a> that drove most of the excitement. What makes <em>me</em> most excited about this groundswell is the sudden interest in ePub from a number of clever developers.</p>
<p>Just in the last few days, details emerged of two new JavaScript ePub readers, <a href="http://romeda.org/rePublish/">rePublish</a> from <a href="http://twitter.com/blaine/status/8733522914">Blaine Cook (@blaine)</a> and <a href="http://github.com/augustl/js-epub">JSEpub</a> (<a href="http://s3.amazonaws.com/augustl-stuff/epub-is-getting-there-95.png">screenshot</a>) from <a href="http://twitter.com/augustl/status/8700582603">August Lilleaas (@augustl)</a>. These two new readers join <a href="http://twitter.com/liza">@liza</a>’s <a href="http://blog.threepress.org/2009/02/09/introducing-epubjs/">epubjs</a>, which will be a year old on Tuesday. An improved version of epubjs powers the <a href="http://epubzengarden.com">ePub Zen Garden</a>, which helps “dispel the myth that digital books can&#8217;t also be crafted works of visual design.”</p>
<p>Why are JavaScript ePub readers interesting? They&#8217;re interesting to me for three reasons:</p>
<ul>
<li><a href="http://javascript.crockford.com/popular.html">JavaScript is the most popular programming language in the world</a> and it might be the best way to get more developers interested in creating and tweaking ePub readers.</li>
<li>JavaScript ePub readers start challenging publishers, developers, and book readers to start thinking about what’s most important in delivering a compelling reading experience in a browser. We’ve spent a lot of time thinking about these choices while developing <a href="http://ibisreader.com/about">Ibis Reader</a>, which will launch later this month, so I’m eager to see more opinions.</li>
<li>Building a pure-JavaScript ePub reader requires unzipping in JavaScript, which had no open source implementations until just recently. August has written about and open sourced his critical breakthrough for <a href="http://august.lilleaas.net/blog/unzipping-files-with-javascript">unzipping files in JavaScript</a>. <em>[Edit: Oops! I was wrong about this one. See the comments for more details.]</em></li>
</ul>
<p>Colin Hazlehurst has also published some impressive introductions, tutorials, and code for the .NET/C# crowd at his <a href="http://www.hazelhurst.net/InsideEpub/">InsideEpub</a> project and on his <a href="http://netkingcol.blogspot.com/2009/12/introduction-to-epub.html">blog</a>.</p>
<p>Do you know of other techies making waves with ePub? Please let us know!</p>
<p>(And if you&#8217;re one of those publishers who <em>is</em> looking for help, <a href="mailto:info@threepress.org">contact us</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/02/06/three-javascript-epub-readers/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Ibis Reader beta program opens</title>
		<link>http://blog.threepress.org/2010/01/25/ibis-reader-beta-program-opens/</link>
		<comments>http://blog.threepress.org/2010/01/25/ibis-reader-beta-program-opens/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 20:38:16 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[ebooks]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ibisreader]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=1163</guid>
		<description><![CDATA[
We&#8217;re starting to share early betas of the Ibis Reader mobile UI for iPhones, Nexus Ones, and other Android devices with a limited group of testers. If you&#8217;re interested in joining the beta program and testing on other phones, tablets, and laptops, please email info@ibisreader.com.  You may be asked to sign a non-disclosure agreement.
More [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.threepress.org/2010/01/25/ibis-reader-beta-program-opens/logo-2/" rel="attachment wp-att-1165"><img src="http://blog.threepress.org/wp-content/uploads/2010/01/logo1.png" alt="logo" title="logo" width="280" height="81" class="alignright size-full wp-image-1165" /></a></p>
<p>We&#8217;re starting to share early betas of the <a href="http://ibisreader.com">Ibis Reader</a> mobile UI for iPhones, Nexus Ones, and other Android devices with a limited group of testers. If you&#8217;re interested in joining the beta program and testing on other phones, tablets, and laptops, please email <a href="mailto:info@ibisreader.com">info@ibisreader.com</a>.  You may be asked to sign a non-disclosure agreement.</p>
<p>More info on our upcoming ereader is available in our <a href="http://ibisreader.com/about/">announcement post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2010/01/25/ibis-reader-beta-program-opens/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using HTML5 video in ePub</title>
		<link>http://blog.threepress.org/2009/11/15/using-html5-video-in-epub/</link>
		<comments>http://blog.threepress.org/2009/11/15/using-html5-video-in-epub/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 17:58:19 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[epub]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=787</guid>
		<description><![CDATA[This was an experiment and is a bit of a hack. Most people seeking to embed video in ePub should use the Flash method described earlier.
I wanted to see if could construct a valid ePub file using HTML5 (in this case, employing the HTML5 &#60;video&#62; element). The problem is that ePub only supports one kind [...]]]></description>
			<content:encoded><![CDATA[<p>This was an experiment and is a bit of a hack. Most people seeking to embed video in ePub should use the <a href="http://blog.threepress.org/2009/11/14/using-flash-video-in-epub/">Flash method described earlier</a>.</p>
<p>I wanted to see if could construct a valid ePub file using HTML5 (in this case, employing the HTML5 <code>&lt;video&gt;</code> element). The problem is that ePub only supports one kind of HTML: XHTML 1.1, a flavor of markup which seems to exist only to annoy people trying to create valid ePub files.</p>
<p>There are two methods to include &#8220;foreign&#8221; media types in ePub. The first is <a href="http://blog.threepress.org/2009/11/09/secrets-of-epub-out-of-line-xml-islands-and-fallbacks/">out-of-line</a> items which have separate fallback items, either out-of-line XML in another vocabulary, or a separate type of binary media like a movie falling back to a static image.</p>
<p>The other is <a href="http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html#Section2.6.3">Inline XML islands</a>, which uses a unique <code>&lt;ops:switch&gt;</code> element to toggle among two or more different XML vocabularies. </p>
<p>My first instinct, if I were going to include the HTML5 <code>&lt;video&gt;</code> element, was to make an inline XML island and switch between that and the Flash fallback. But <code>&lt;ops:switch&gt;</code> depends on the XML island having a different namespace. <a href="http://wiki.whatwg.org/wiki/FAQ#What_is_the_namespace_declaration.3F">HTML5 uses the standard XHTML namespace</a> (<code>http://www.w3.org/1999/xhtml</code>), so there&#8217;s no way to indicate that we&#8217;re using an XHTML vocabulary that isn&#8217;t XHTML 1.1.  </p>
<p>Got that?</p>
<p>But there&#8217;s another option: treat the whole HTML5 page as an out-of-line island. How?  By not using the XHTML vocabulary at all, but instead treating it as media-type <code>text/html</code>:</p>
<pre class="brush: xml;">
    &lt;!-- HTML5 --&gt;
    &lt;item id=&quot;video&quot;
          href=&quot;video.html&quot;
          fallback=&quot;video-fallback&quot;
          media-type=&quot;text/html&quot;/&gt;

    &lt;!-- XHTML 1.1 fallback --&gt;
    &lt;item id=&quot;video-fallback&quot;
          href=&quot;fallback.html&quot;
          media-type=&quot;application/xhtml+xml&quot; /&gt;
</pre>
<p>Here I defined a document with an unsupported media-type (<code>text/html</code>) and a fallback in a supported type (<code>application/xhtml+xml</code>).  Unfortunately there&#8217;s no way for me to actually specify that it&#8217;s HTML5, since HTML5 <a href="http://wiki.whatwg.org/wiki/FAQ#What_will_the_DOCTYPE_be.3F">doesn&#8217;t even have a real DOCTYPE</a>.</p>
<p>I also include the media files in the OPF:</p>
<pre class="brush: xml;">
  &lt;item id=&quot;video-mp4&quot;
          href=&quot;20143.mp4&quot;
          media-type=&quot;video/mpeg4&quot;/&gt;
    &lt;item id=&quot;video-ogg&quot;
          href=&quot;20143.ogv&quot;
          media-type=&quot;video/ogg&quot;/&gt;
    &lt;item id=&quot;video-png&quot;
          href=&quot;video.png&quot;
          media-type=&quot;image/png&quot;/&gt;
</pre>
<p>And here&#8217;s the complete HTML5 island:</p>
<pre class="brush: xml;">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Video test&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;
      &lt;video width=&quot;320&quot; height=&quot;240&quot; controls=&quot;true&quot; autoplay=&quot;true&quot;&gt;
        &lt;source type=&quot;video/ogg&quot; src=&quot;20143.ogv&quot;  /&gt;
        &lt;source type=&quot;video/mp4&quot; src=&quot;20143.mp4&quot;  /&gt;
      &lt;/video&gt;
    &lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Here&#8217;s the sample file: <a href="http://threepress.googlecode.com/svn/trunk/bookworm/library/test-data/data/video.epub">HTML5 video in ePub</a>. This will actually work in Bookworm, but nowhere else.  It&#8217;s also not valid according to epubcheck, but only because epubcheck thinks that the <code>text/html</code> item is an error, and it doesn&#8217;t like that the HTML5 island is missing a namespace (because it&#8217;s not actually XHTML, but <code>text/html</code>).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2009/11/15/using-html5-video-in-epub/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>
