In a previous post I gave an overview of how this blogging software works. Once I made the PHP program that generate the script I needed a way to publish the site to http://www.cameronhuff.com/blog.
I created a bash script that looks like this:
rsync -e "/usr/bin/ssh" --compress --quiet --bwlimit=2000 -av blog firstname.lastname@example.org:cameronhuff.com
echo -e "\nRsync transfer finished."
I then created an AppleScript wrapper and compiled that to .app ("Save as .app" in AppleScript Editor). Now I have one-click publishing.
If you're making a similar script you should use SSH Keys so you don't have to keep typing in your password.