Introduction

This class lets you export a static copy of your site as a tar.gz archive.

See StaticPublisher for a more versatile solution for deploying static content (incl. publishing to multiple content servers).

Requirements

  • Unix-Environment (does not work on Windows)

Usage

Usage through URL:

http://localhost/StaticExporter/export

Usage on commandline (through sake) is not possible at the moment, as we're sending a file to the browser for download.

Specify a custom baseurl in case you want to deploy the static HTML pages on a different host:

http://localhost/StaticExporter/export?baseurl=http://example.com

API Documentation

Related

 
staticexporter.txt · Last modified: 2010/05/05 23:38 (external edit)

Please use comments for notes, tips and corrections about the described functionality.
Use the Silverstripe Forum to ask questions.

blog comments powered by Disqus
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Creative Commons LicenseSilverStripe Documentation by SilverStripe is licensed under a Creative Commons Attribution 3.0 New Zealand License.
Based on a work at doc.silverstripe.com
Recent changes RSS feed Driven by DokuWiki