Click here to register.
      
IRC banner


     Discuss > Etcetera

Howto: Export complete WebGUI site

User len
Date 4/21/2006 5:22 pm
Views 1362
Rating 15    Rate [
|
]
Previous · Next
User Message
len

 

I thought this might be handy for other WebGUI users as well:

We're using one WebGUI server for Content Management for content generation, and multiple remote static html servers.

On the remote webservers we get a full mirror of the WebGUI site every hour using the following command:

wget -p -r --html-extension -k http://the.webgui.site

-p will fetch all page requisites (images, css, etc)
-r  is for recursively downloading all pages
--html-extension  will add .html to all pages. This is needed to avoid duplicate page /directory names ( /home and /home/contact).
-k will convert all urls

I know that there's a build-in export function in WebGUI and the generateContent.pl script, but imho this works much better because wget is taking care of all the hard things (url rewriting / image downloading / etc). 

Len Kranendonk / www.ilance.nl

--- (Edited on 4/21/2006 5:29 pm [GMT-0500] by len) ---



Back to Top
Rate [
|
]
 
 
     Discuss > Etcetera



Recent Discussions Color Key

Design:

Development:

Et Cetera:

Install/Upgrade:  

Smoketest:

Template Group:


Re: Navigation links by techwriter - Fri @ 03:23pm

Re: Best way to make files available to webgui comunity by bernd - Fri @ 02:50pm

Re: User event history by knowmad - Fri @ 02:02pm

Re: Best way to make files available to webgui comunity by lctn2 - Fri @ 01:55pm

Re: Strategic Roadmap by JT - Fri @ 01:55pm

Re: Navigation links by rogier - Fri @ 01:55pm

Re: 2009 Presidents Meeting by JT - Fri @ 01:10pm

Re: navigation new window by rogier - Fri @ 01:03pm

Re: navigation new window by rogier - Fri @ 12:53pm

Re: WUC 2009 by JT - Fri @ 12:50pm

Re: Best way to make files available to webgui comunity by preaction - Fri @ 12:35pm

Re: Pagination markup by rogier - Fri @ 12:35pm

Re: Best way to make files available to webgui comunity by kristi - Fri @ 12:29pm

Debian and Ubuntu Packaging Status by jmarsden - Fri @ 12:12pm