Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rdmpage/natureiphone
Clone of Nature iPhone app using jQuery Mobile
https://github.com/rdmpage/natureiphone
Last synced: 16 days ago
JSON representation
Clone of Nature iPhone app using jQuery Mobile
- Host: GitHub
- URL: https://github.com/rdmpage/natureiphone
- Owner: rdmpage
- Created: 2011-11-17T11:46:00.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-17T12:00:58.000Z (about 13 years ago)
- Last Synced: 2023-03-13T03:37:37.547Z (almost 2 years ago)
- Language: PHP
- Size: 1.45 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nature iPhone app
#### Overview
This is a JQuery Mobile-based clone of [Nature's iPhone app](http://www.nature.com/mobileapps/) 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](http://iphylo.blogspot.com/2010/12/viewing-scientific-articles-on-ipad.html). There is also a [live demo](http://iphylo.org/~rpage/natureiphone/).#### 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.`3`
where ref://b3 corresponds to refence `` in the file references.xml. To handle these local links I rewrite them as Javascript calls. Each action (displaying and article, a reference, etc.) invokes a Javascript function that extracts the relevant item (HTML, XML fragment, image) and displays it. The page transitions are all made using jQuery Mobile.
#### Articles
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.#### Installation
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.