Greetings!

On 16 Nov, Jason Thaxter wrote:
> I read somewhere on the midgard site that it could be 
> used to manage a static site which could be pushed out 
> to a server.   How would you get a midgard site to dump 
> out to the filesystem?  I've RT'd all the FM's I could 
> find...

This, like many other things with Midgard's usage, is still
pretty much undocumented.

When you convert a Midgard site into static HTML for deployment
on a normal Web server, the easiest way for doing this is to
use the GNU Wget utility. Wget fetches the site structure via
HTTP and generates the directory structure and pages by it. After
that, just deploy the HTML pages via FTP or whatever your Web 
hosting service uses.

Of course, when developing Midgard sites for static deployment,
you have to remember that you will not be able to use the nice
dynamic stricting possibilities of Midgard. But what you can use
is the style, page and topic structures, and I think that even
that is an advantage when compared to alternatives.

I used to maintain Stonesoft's sites this way, but switched
them to a native Midgard server after we got all the legacy
CGI and NSAPI applications ported.

/Bergie

BTW. The Wget utility should be present in most Linux or BSD
distributions. If you don't have it, you can find it from
the GNU project's Web site at 
http://www.gnu.org/software/wget/wget.html

-- 
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
               http://www.iki.fi/Henri.Bergius


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to