I wrote a Python/Applescript to automatically export pics from iPhoto to a photo album, ftp the album to a web site, and generate the link code to the new album needed for a blog post -- all with one click.
My parents just left on an RV trip around the western United States, and wanted a way to post photos from the road (I guess most rv camps have wifi now!). We are mac users, so they use iPhoto. I like the simple look of iPhoto's export to web album feature, but exporting and ftp'ing is a drag. So this program just automates the process. Once you have edited the source file with your ftp info, it's all automatic.
This has only been tested on iPhoto 4 and OSX 10.3 Panther (that's all we got). It uses (evil) GUI scripting extensively, because there's no script support for exporting to web photos in iPhoto (lame, btw).
This script does many applescript things, but is written in Python. It requires Appscript
To run it, I suggest writing a shellscript with something like this:
and name the file Export_Iphoto.command. The ".command" at the end will let you double click the shell script.
One more gotcha. Cause I was a lazy script-writer, you will need to make a folder in your "Pictures" folder called "iphoto_webgallery" or the script won't work.
Once you have that all setup, select an album in the left pane of iPhoto and run the script. That should be it (god willing).
The script: iphoto_to_web.py