API Reference
WikiLoaderHtml.save( filename, bookname )
Parameters:
| filename | contains the directory path where the Html is to be written |
| bookname | the name of the book to be written |
Returns:
integer:
'1' if the save was successful
'0' otherwise
Remarks:
The Html writer generates a separate file for each page in the book. It also export a default css (cascading stylesheet) file
called 'notestudio.css'. Each Html file uses that css file. The css file is only exported if none exists in the output directory.
If one is found in that directory, a new one is not created. This allows you to substitute your own stylesheet for the default
one, without it being overwritten all the time.
Although you must specify a filename, really only a directory name is required. The actual filename is ignored - only the
directory name is used. This means you can use any filename you want, as long as the directory is correct.
The exporter does not construct the directory for you. It is assumed to exist. If necessary, you can create it using Python's
file manipulation library. See 'mkdir()' and 'mkdirs()' in the 'os' module.