Userland asked me to implement FTP filewriting for Static Rendering in
Manila. You can download a beta from:
http://gems.wiredfool.com/manilaFtp.tar.gz or
http://gems.wiredfool.com/manilaFtp.zip .
How to install:
This is beta software! Back everything up first. Update your
manila.root if you haven't done so in the last couple of days. Download
the archive, unzip it, then from within Frontier choose Main -> Batch
Export -> Import from Folder.... Select the folder you just unzipped
and the parts will be installed.
How to enable serverwide:
Server administrators can enable this feature on this page:
http://127.0.0.1:5336/settings?page=2.5 . There are two new
preferences: one to enable (or disable) filesystem rendering, and one
to enable or disable FTP rendering. The default for systems currently
using static rendering is filesystem rendering on and FTP off.
How to enable for individual sites:
There are two new preferences in adrSite^.["#newsSite"]:
flStaticRenderingFileEnabled and flStaticRenderingFtpEnabled. These
preferences override the serverwide setting. Set them to true to enable
the rendering method, false to disable, or delete the preference to use
the serverwide setting.
Configuration:
Once the server administrator has enabled FTP rendering, managing
editors can set their FTP server information on this page:
http://www.mysite.com/admin/sitePrefs/default$rendering . If the server
administrator has enabled both the FTP and filesystem rendering, then
the managing editor can choose how manila should publish the site.
The FTP Account configuration section only appears if FTP rendering is
selected. The managing editor can enter the URL of the static site, the
FTP server hostname, their username and password, and the path to their
site on the ftp server. Paths starting with a '/' are absolute, paths
without a leading '/' are relative to your login directory.
Test your settings by rendering a page. You may want to set the "Do you
want a Render this Page button?" option to yes if it isn't already
enabled. If the rendered page appears and has the correct url, you are
ready to publish the entire site from the admin page:
http://www.mysite.com/admin/ .
Please send comments/questions/concerns to the list.
eric