New Message: Frontier 5.0.1 bbSite under Mac OS X

webmaster at userland.com webmaster at userland.com
Mon Oct 15 19:55:35 PDT 2001


A new message was posted:

Address: http://frontier.userland.com/discuss/msgReader$8946

By: faisal at faisal.com

Summary:

I've gotten some of the BBEdit rendering in Frontier 5.0.1 working (sort of) under Mac OS X. I'm posting it here in case I'm not the only person left on the planet using this functionality.

Background:

Frontier 5.0.1 was the last free version. The Mac version used the Mac menu sharing capability to export a menu to BBEdit, and you could use the menu from within BBEdit to ask Frontier to render the site of the current page. Mac OS X does not have menu sharing, so I've had to reboot into Mac OS 9 to use the renderer. Rebooting is a pain.

What to do:

I currently manage only one site with Frontier (http://www.faisal.com/), and it's small enough that I can render the whole site fairly quickly. These instructions assume that you are only rendering one site, and can render the entire site at once.
Open suites.bbSite.renderSite, and change the third line to specify the top level template for your entire site:

local (templatefile = "Macintosh HD:Users:faisal:Documents:faisal.com:site:build:#template.html")

(change the bit within quotes to give the path to your site)

Now go to your 'initials' menu (the one with your name or initials in it) and choose 'Edit Menu'. In it add a script called "Render bbSite". Open that script and put in one line:

suites.bbsite.renderSite()

Now you can run the renderer across your site from your 'initials' menu.

Notes:

- For some reason IE (in X) seems to crash if Frontier (in Classic) is running.

- I'm assuming you set your site folder in BBEdit at some point. If you've never set it, it's stored in websites.bbSite.#ftpSite.folder - just change the string to the path you want Frontier to output to.

- If you're managing multiple bbSites, you can switch between the sites by re-setting the template path and output folder path when you're ready to work on a diferent site.

This is a Manila site.. http://manila.userland.com/.





More information about the Frontier-Server mailing list