SITE2TEMPLATE
This utility appeared om macosxhints.com some time ago. It worked nicely with iWeb 1.0(1).
Since we’re at iWeb 1.1.1, it doesn’t work anymore as designed. This because iWeb 1.1.1 has a slightly changed TemplateInfo.plist file. There’s an extra entry for the version of the template. Being 1.0 Themes or 1.1 Themes. And a Blank page in every theme.
Meet site2template2
Now, I don’t know anything about Python. It’s just trying to understand the logic and the declarations to see if it can be altered to work with the new templates. So I tried once and got an error-message. A very logical one. I tried twice - and it worked. So now I can use it to convert a new style template into one carrying the name I want and alter it later.
Downloading site2template
Although part of the instructions are in the file, not everything was clear. So here it goes: instructions for the both of them... ensuring you’ll get a working version or versions. If you’re on 1.1.1, you need only to download the patched version. You know, like ctrl-click and choose “Download linked file”.
Installing site2template
NOTE: You need to be an Admin to do this...
-
•Open a terminal window. (its in your /Applications/Utilities folder.
-
•Type sudo cp with a space behind it.
-
•Go to the folder you have your freshly downloaded file in. Drag&drop the file on your terminal window.
-
•You now see the path and filename appear in the Terminal window.
-
•Type /usr/bin/site2temp behind it and press return.
You’re asked for your password.
Congratulations! You’ve just copied over the file that can help you create templates!
Now. let’s only make sure it can be executed as well. Still in the terminal, type the following command:
chmod a+x /usr/bin/site2temp
and press return.
If you get no error-messages, all’s well.
Whatever prompt you’re on, type in cd /usr/bin and press return
Then type in ls -l si* and press return