Nature iPhone app
This is a JQuery Mobile-based clone of Nature's iPhone app that runs in a web browser. For background on this project see Viewing scientific articles on the iPad: cloning the Nature.com iPhone app using jQuery Mobile. There is also a live demo.
How it works
Nature ePub files comprise the article text in HTML, and the references, tables, and figure captions in separate XML files. Links between article text and these external files are represented by local links in the HTML file, e.g.
where ref://b3 corresponds to refence
Included with the code are two Open Access (Commons Attribution-NonCommercial-Share Alike 3.0 Unported License) articles from Nature Communications in ePub format. These have been unzipped into separate folders, which the app reads to display the articles.
If you have a local webserver and PHP then you should be able to simply drop this project into a folder on your machine and point your browser at it.