When you run the script from the script menu (complete instructions are on the download page), you’re asked to provide some info such as title and location for the gallery. If you provide the correct file path for where the gallery will ultimately reside, the “Mail Image Link” will work correctly, which is a nice touch.
I think this is a nifty way to optimize web galleries for the iPhone directly out of Aperture. If you’re not going to serve them from your Mac, you’ll have to retrieve the folder out of the Webserver directory and upload it to the location you want. (You can find the gallery here: Library > Webserver > Documents.)
An easy way to make these gallery links on your iPhone is to use tumblr. It’s a great tool for making bits of information available to any web-connected mobile device.