IPhone Document Reader
From Dev.openbig.net
Demo available here. Version 0.1 alpha (9th Jan 2008) is now available for download.
Contents |
Features
The iPhone Document Reader is a script written in php to aid document viewing for document types that are natively supported in Safari (for example jpg, png, gif, txt, html, xls, doc, mp3 and etc..). It currently supports local documents (placed in the same directory as the script itself) but can be modified to extend to files on the Internet. The document reader addresses the problem that the directory listings and text file rendering by the lighthttpd / apache + Safari is not satisfactory for reading on a hand held device.
The iPhone Document Reader currently provides the following features:
- A suitable for iPhone reading directory listing of the directory the script resides in, and for any directories below that level.
- A plain text (.txt) file reader that supports word-wrapping (with the help of html <p> </p> tags).
Screenshots
Installation
Detailed installation procedure will be provided later.
- Install lighthttpd
- Install php
- Setup lighthttpd to use php as cgi
- Create the Document Reader directory
- Download Document.app
- Modify Document.app to point to the Document Reader directory
- Put the application into the Document Reader directory
- Unzip and untar with tar -xvzf command
- Reload Springboard on iPhone
- Click on the Document icon in Springboard to use
Planned Features
Credits
- html / css layout shamelessly ripped from Appsnapp.
- Directory Listing Script taken from evoluted.
- Inspired by Document.app by mikehoho.
