View Single Post
Old 06-09-2010, 07:01 PM   #2
luite
Connoisseur
luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.
 
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
For the people who want to know how it works:
I have modified the browser to start an embedded web server. This web server is based on libmicrohttpd ( http://www.gnu.org/software/libmicrohttpd/ ), and automatically extracts each requested file from the zip file and delivers it to the browser. The unzip part uses minizip ( http://www.winimage.com/zLibDll/minizip.html ).

The URLs look like this: http://127.0.0.1:7766/media/mmcblk0p...LES/index.html

It would be fairly easy to modify the browser to show files from other kinds of archives (it requires modifying only one function). I've seen a few requests for an offline Wikipedia browser. Does anyone know a good archive format for Wikipedia?
luite is offline   Reply With Quote