Re: output plain HTML for CD Rom

From: Date: Mon, 16 Jul 2001 07:54:04 +0000
Subject: Re: output plain HTML for CD Rom
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-58021@lists.php.net to get a copy of this message
On Sun, 15 Jul 2001 16:10, Justin French wrote: > Hi, > > I have a client who wishes to publish some catalogues to CD Rom. Of > course they can't be placed onto a CD using PHP code (because it would > require the CD user to have PHP installed!!), but PHP/MySQL is > definately the best way to build the content, since the same data is > being used for online content as well. > > So I guess my question is, what;s the best way to creat a static site > from dynamic content. If it was a small site, i'd just access every > page, view the source, copy it, and save to file, but the catalogues > may get up over 1000 pages!! > > It also occurs to me that this would be helpfull in building dynamic > sites monthly, but publishing a static site to the web, which would > have better luck with search engines, and maybe even with server load / > caching. > > > I could make a script which builds / wrote HTML files to disc, no > problem, but if the pages already exist dynamically, I thought there > might be a way to write the HTML source (same as sent to the browser) > to a HTML file.... > > > Thanks > > Justin French Scratching around in my multiple mailbox folders, I found these mesages on the topic. Hopefully there is some still useful info there. ############## Re: [PHP] PHP site to CDRom Date: Wed, 18 Oct 2000 10:57:53 -0700 From: "Robert V. Zwink" <rzwink@microcenter.com> To: <php-general@lists.php.net>, "Andrea Resmini" <a.resmini@ogcs.com> There was a message posted today for a script viewer that is probably what you guys are looking for. It can be found here: http://www.angorasoftware.com/scriptviewer.html This windows application is designed to show a parsed script file without the need of a web server. This may be useful for CD-ROM distribution, Stand-Alone materials, and other uses. The application starts the php executable with a file parameter, showing the result in a HTML format. Hope this helps. Robert V. Zwink ############## Re: [PHP] PHP site to CDRom Date: Wed, 18 Oct 2000 16:53:06 +0200 From: Andrea Resmini <a.resmini@ogcs.com> To: php-general@lists.php.net Phil Driscoll wrote: > > I do this kind of job (on windows) with some software called WinHTTrack > http://httrack.free.fr/ > It sorts everything out for you. Yowza! Thanks Phil. I went to the site above and found out that they also have a new site at www.httrack.com, and that the thing is also available for Linux and Solaris. I downloaded and simply launched it (as usual, you have your three-screens-load of switches) and it correctly parsed and saved the files in a safe format (index.html and then indexXXXX.html, where XXXX is an alphanumberic combo). Works great: anybody looking out for a quick way to move some PHP site to a CDRom should go take a look. Thanks again ############## -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA On a radiator repair shop: Best place to take a leak.

« previous php.general (#58021) next »