Ingeniously simple method for storing iPhone Web apps locally
W. Clawpaws, who maintains the Life with Lunchhooks blog has discovered an amazingly simple and simply amazing method that allows Web apps to be stored locally on the iPhone, presenting the first viable solution to a major point of contention for developers. Essentially, the method stores an entire set of HTML and JavaScript in a bookmark by utilizing the data: URL. All page content is thus stored in bookmark data, and can be accessed when no network connection exists -- even if the iPhone is in Airplane mode.
Click on the following link using an iPhone: Tip Calculator
Then press the " " button to add it as a bookmark.
You can now access this basic Tip Calculator (written by W. Clawpaws) by simply opening the saved bookmark, even with no active data connection.
W.Clawpaws has even posted a one-line Perl script that converts HTML into a data: URL.
There are a few caveats to the code that can be stored in bookmarks, and very large bookmark data files may crash the iPhone, but this is a truly tremendous bit of progress.

http://www.somewhere.com/url2iphone.html
That will take any remote web page and convert it into a single data url that includes all the attached media. At least in Safari (Computer and iPhone) you can then click on the link to see the results. And of course you can save it to your bookmarks.
A couple caveats.
1. It looks like the iPhone has about a 32K limit on bookmark size. Leastwise I haven't gotten one to work that was bigger than that. Although it *can* click on links that contain larger data: statements, so in theory you could email one to yourself.
2. Storing a couple of these in your bookmarks slows down bookmark editing in Safari.
3. Don't point it at your favorite MySpace or news page. Those sites are way too big. You'll want to stick to widgets and iPhone web applications, preferably with minimal graphics.