PHF: Portable Hypertext Format

Nov 2, 2005

Have you ever wanted to save a webpage for later printing, or for emailing, or burning to an offline media? Saving pages with a browser requires that you also download a folder full of extras: images, stylesheets and javascripts, which really hurt portability.

What if you could save a webpage in such a format that all external files were encoded and included in a single page? You could then easily email this page, or save it for printing at a later date without having to worry about any extra files.

I've been working on a little PHP script to do just this, and I've posted a beta version of the script here. Try saving your favorite pages in a single file format, easy to email or transfer while still looking completely like the original.

I call these generated pages PHFs for Portable Hypertext Format, since they have the same sort of portability as PDFs (Portable Document Format)

This mechanism uses the data protocol to embed files into the HTML page. Newer browsers like Opera and Firefox can use these URIs, but unfortunately, MSIE cannot. You'll just get broken images and stylesheets if you try to load a generated PHF file in Internet Explorer.

Please let me know if you find any bugs, using the email address provided at the bottom of the page above. Eventually I hope to release the code to the public for other people to use on their servers.

Orca Search 2.0 Final now available Orca Search 2.0b released

Comments closed

Recent posts

  1. Current Bitcoin Cash Price Image Mar 2018
  2. Iguana no Musume / Iguana Girl Aug 2016
  3. What I'd Like To See In The Elder Scrolls VI - Part 2 Aug 2015
  4. What I'd Like To See In The Elder Scrolls VI Jul 2015
  5. Cyprus, and what capitalists want Mar 2013
  6. Archive

Items of Interest

Webcomics Reading List

Good Eats