finalize

Tinderbox Icon

<finalize> finalization tags </finalize>

Occurs: Once - in last panel

Multiple instances: No

Has attributes: No

Self-closing: No

This holds the commands used to finalise the wizard and must be included in the last (text) panel of the wizard

Example:

	<finalize>
	<Splash>Building your weblog...</Splash>
	<CreateFolder>$DestinationFolder</CreateFolder>
	<CreateFolder>$DestinationFolder+$WeblogName files</CreateFolder>
	<CreateFolder>$DestinationFolder+$WeblogName files:elements</CreateFolder>
	<CreateFolder>$DestinationFolder+$WeblogName files:css</CreateFolder>
	<CopyFolder from="$pathToHTMLTemplates" to="$DestinationFolder+html templates" depth="1" />
	<CopyFolder from="$pathToExport+:elements" to="$DestinationFolder+$WeblogName files:elements" depth="1" />
	<CopyFolder from="$pathToExport+:css" to="$DestinationFolder+$WeblogName files:css" depth="4" />
	<CopyFolder from="$pathToExport" to="$DestinationFolder+$WeblogName files" depth="1" />
	<Open leaveOpen="true">$TinderboxFile</Open>
	<SetDefaultTemplate>$DestinationFolder+$defaultTemplate</SetDefaultTemplate>
	<SetExportFolder>$DestinationFolder+$WeblogName files</SetExportFolder>
	<SetHomePage>$WeblogURL</SetHomePage>
	<SetFor name="/Configuration" attribute="CSS">$WeblogStyle</SetFor>
	<SetFor name="/Configuration" attribute="WeblogName">$WeblogName</SetFor>
	<SetFor name="/Configuration" attribute="TagLine">$TagLine</SetFor>
	<ExportHTML />
	<Save>$DestinationFolder+$WeblogName</Save>
	</finalize>

Up: Wizard XML Syntax
Previous: filePanel  Next: FolderMustExist 

[Last updated: 1 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox