in reply to Generation of dynamically-static documents

I would set up the dynamic version on my local PC and when needed I would make a static copy of it with wget or some other recursive downloader and upload it on the server.

Cheers

Antonio


The stupider the astronaut, the easier it is to win the trip to Vega - A. Tucket
  • Comment on Re: Generation of dynamically-static documents

Replies are listed 'Best First'.
Re^2: Generation of dynamically-static documents
by fizbin (Chaplain) on Sep 16, 2005 at 12:16 UTC
    Specifically, with wget (if you're on windows, grab a copy of cygwin) it's as simple as:
    date=`date +%Y%m%d` mkdir static_cut_$date (cd static_cut_$date && wget -m -nH http://localwebserver/)
    --
    @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/