One of the most popular questions I am e-mailed is ‘how do I add a file to my site that visitors can download?’ and the answer really is quite simple. In this short tutorial I hope to explain how to add a file and make it available to anyone who visits your iWeb site.For the purpose of this tutorial I have already made a file in Pages. I saved the file as a PDF using the ‘Print’ command from the ‘File’ menu and then choosing ‘Save as PDF’ from the PDF menu. To make the file easier to find later on, I saved it to my desktop, but you can save it anywhere you want.
Find the file on your mac and then right-click (Ctrl-click) on it to show the menu. Select ‘Compress “yourfilename”‘. This will automatically convert the file into a ‘zip’ archive ready for downloading. Obviously you do not have to ‘zip’ your file. You can, for example leave it as a PDF and users will be able to open it in their browsers; the method below however, is just the same.
Now open iWeb and navigate to the page you want to add the download to.
Create a text-box and insert some text; something along the lines of ‘Download Now’ or ‘Click here to download the file’. If you want you can also insert an icon to represent the file (such as the PDF or MS Word icons).
Open ‘Inspector’ and select the ‘Hyperlink’ icon. Put a tick in the ‘Enable as a hyperlink’ box.
Select ‘A File’ from the drop-down menu and a pop-up window will appear allowing you to select the file you want visitors to download.
Find the file and select the ‘Open’ button. The window will close and the hyperlink has been created.
All you have to do now is save your site and publish as normal. iWeb will automatically upload a copy of the file to your server when you do a ‘Publish’; either to a folder or MobileMe. Job done!!iWeb