The Tree of Widsdom

智慧の樹

The final directory structure


The first thing to think about when exporting any kind of website from from Tinderbox is the directory structure you will employ on your server. A blog website must have a certain structure, and your Tinderbox export will have to conform to this structure.

One way to expedite this process is to download a ready-made website directory structure. BoxPress uses the “compiled and minified” Bootstrap framework. The unzipped folder will serve as your Tinderbox export folder, and also the root directory of your website.

When exporting from Tinderbox, the rule is: The containment structure of your TBX becomes the (default) directory structure of your export. The former is made of notes and container notes; the latter, of files and folders.

Tinderbox structure becomes the default directory structure, not the necessary structure. The final export structure can deviate from the Tinderbox containment structure by means of certain tricks:

  • You can turn the export of a note off and on with the flick of a switch. If you the note’s $HTMLDontExport attribute to true, the note will be skipped and its template never applied.
  • You can use the ^include()^ export code to insert the text (or any other attribute) from a distant note.