Chapter 16

Creating a Website with iWeb

In This Chapter

arrow Introducing the iWeb window

arrow Planning your site

arrow Adding a new site and pages

arrow Editing pages

arrow Setting site and page attributes with the Inspector

arrow Publishing sites to the Internet

I keep telling everyone who’ll listen: The web is simple. Or at least it should be.

Kids in preschool these days know how to use a browser. Millions of people contribute to Facebook pages, help to create the dynamic reference wonder that is Wikipedia, and correspond effortlessly through web-based e-mail. Yet there’s one untamed wilderness that many iMac owners haven’t explored — or even set foot in! That’s the jungle of HTML, the language used to create web pages. Today’s advanced web page design is complex, and it’s not particularly fun, either. Have you thrown up your hands and declared, “I guess I’ll never get my own website on the Internet”?

Forget your website envy, fellow Mac enthusiast! With iWeb, Apple has provided a guide through that untamed wilderness . . . and suddenly it’s as easy and fun to create a website as it is to make a movie or write a song with your iMac. In this chapter, you discover how to design a site, import your own photos, and add all sorts of different pages.

Soon, you’ll proudly hold your head up high and declare to the world, “I am a webmaster!”

Looking around the iWeb Window

All iWeb’s major features and controls fit into a single window, naturally, just as they do in iPhoto and iMovie. (I agree with the Apple software designers: Multiple windows equals confusing.) Figure 16-1 illustrates the iWeb window, complete with a website in progress. The items to keep your eye on include

check.png Toolbar: Located at the bottom of the window, the iWeb toolbar keeps all major controls one or two clicks away.

The iWeb toolbar contains different buttons, depending on the chore you’re handling at the moment. Figure 16-1 shows the set of toolbar buttons that you see when you’re editing a page.

check.png Layout: You need elbow room to build a web page, so the Layout section of the iWeb interface dominates the window. You create and edit your pages in the Layout display and then use it to preview and test drive your finished site.

check.png Site Organizer: The strip to the left of the layout display is the Site Organizer, which allows you to organize your websites, add new pages to a site, and select an existing page for editing.

Figure 16-1: The iWeb window holds everything you need to put your mark on the web.

9781118240717-fg1601.tif

Before we get down to business, it’s overview time. You essentially follow three phases to put your new site on the web:

1. Decide which pages you need.

2. Create a new site and build those pages.

3. Publish your site to your web server using FTP.

I go over each of these phases in order. (They taught me that in college . . . along with the history of the Aztecs and the wonders of FIFO accounting.)

Planning Your Pages

Every properly designed website has a purpose: to inform, to entertain, or to sell stuff. For example, if your site is a personal or informational site, it may contain downloads or contact information. The pages you add to your site should all reflect that common purpose.

iWeb focuses on creating personal sites for entertainment. It can produce the following types of pages for your site:

check.png Welcome: This is the default first page that iWeb adds to a site you create. The Welcome page familiarizes your visitor with the idea behind your site, and perhaps offers a snippet of the latest developments on the site in a “What’s New” paragraph.

check.png About Me: This page provides a biography of you or another person, listing things like your age, favorite songs, and favorite foods. (After all, that’s important stuff.) Links are provided to your photo album pages and other websites you want to share.

check.png Photos: Oh, this is good stuff here. iWeb makes it easy to add one of those cool online photo galleries for your snapshots, complete with a web slideshow! You can add Events and albums from iPhoto, too.

check.png My Albums: You can organize all your Photos and Movie pages on a single My Albums page. Visitors click a thumbnail to jump to the corresponding Photos page or Movie page — it’s a visual index done the right way.

check.png Movie: Got a QuickTime movie you’ve created with iMovie to share with others? This is the page that presents it to your adoring fans.

check.png Blog: Adding a Blog (or personal web log) page is a somewhat different beast: iWeb keeps track of each addition you make in an entry list so that you can quickly add or delete entries without requiring tons of scrolling, cutting, and pasting. A Blog page also includes an archive so that deleted entries aren’t lost forever.

check.png Podcast: Consider a podcast to be an audio (or audio/visual) blog; it’s designed to be downloaded to a visitor’s iPod or computer for later enjoyment. As does the Blog page, a Podcast page has an entry list and an archive list attached to it.

check.png Blank: Yep, this is an old-fashioned blank page, ready for you to fill with whatever you like.

Before you even launch iWeb, jot down on a piece of paper (or put in a Sticky) these important points:

check.png What message do I want to communicate to visitors?

check.png What tone will I use — funny, informal, or businesslike?

check.png What stuff do I want to offer: photos, movies, or podcasts?

Now you have the starting point for your site and you know what you want to include . . . so let’s get down with the web!

Adding a New Site

When you open iWeb for the first time, the application creates a new site for you, and you can rename and modify this default site to your heart’s content. In fact, for many of us, one site is all we ever create — but iWeb can easily handle multiple websites, keeping them separate in the Site Organizer.

If there’s at least one existing site in your Site Organizer, iWeb automatically displays the last site you were working on. Therefore, if you want to create an entirely new site, you have to perform a little manual labor. Here are a number of different ways to add a site:

check.png Choose FileNew Site.

check.png Press /maccmd+Shift+N.

check.png Control-click (or right-click) in the Site Organizer and click New Site.

iWeb leaps into action and displays the template sheet you see in Figure 16-2. Scroll through the template themes in the list at the left of the sheet until you find one that matches the tone you decided on in the previous section. (iWeb has templates — informal, formal, and silly — that match every mood!) Click a template on the left, and the application automatically updates the page type thumbnails on the right.

Figure 16-2: Choosing a template for a new site.

9781118240717-fg1602.tif

When you choose a template, iWeb automatically provides your pages with a common background, color scheme, and fonts so that your finished website has a common theme throughout.

After you find the right look and feel, click the desired template in the scrolling list at the left, click the Welcome page thumbnail, and then click the Choose button. iWeb creates a new site heading in the Site Organizer, complete with the default Welcome page. Figure 16-1, shown previously, illustrates the Welcome page from a new site I created with the Main Event template.

Adding a New Page

Time to add the pages you plan for your site! For example, I’ve decided to add Photos and About Me pages to the new site I’ve created. In the following section, I discuss how to edit these pages to personalize them . . . but for now, I just want you to add the pages.

If you have multiple sites in your Site Organizer list, click the top-level heading for the desired site to select it. You can add pages by

check.png Clicking the Add Page button on the toolbar at the bottom of the iWeb window

check.png Choosing File⇒New Page

check.png Pressing /maccmd+N

check.png Control-clicking or right-clicking the site header in the Site Organizer and clicking New Page

tip.eps Want to start with an existing page as a basis for a new page? Right-click that page entry in the Site Organizer and choose Duplicate. iWeb creates a new page with exactly the same contents and adds it to the site.

Pages are listed under the main site heading in outline format, making it easy to expand or collapse a site by clicking the familiar rotating triangle icon next to the site heading. (Apple calls these disclosure triangles. Wowzers!)

Deleting a page — or a whole site, for that matter — is easy in iWeb. Right-click the offending page or site heading in the Site Organizer and choose Delete Page/Delete Site. Note that iWeb doesn’t prompt you for confirmation here, so these aren’t commands to toy with.

Editing a Page

If you have your site framework complete, you can actually put your site on the Internet as is! Of course, the photos would all be of good-looking strangers, and most of the text would read like Pig Latin nonsense. (Come to think of it, I’ve been on some real sites that aren’t much better. Go figure.)

I think we both agree, however, that you want to personalize your pages with your own information. To begin editing a page, click it in the Site Organizer.

Modifying text

First, update the text with your own information by following these steps:

1. Click the text you want to replace.

As do most desktop publishing applications, iWeb uses boxes to enclose text. When you click the text, the box appears, with handles that you can drag to resize the box.

2. Begin typing your text.

iWeb replaces the existing template text with the text you type, using the text formatting taken from the template. Don’t forget that you can paste text from the Clipboard by pressing /maccmd+V. To match the text style of the template, though, press Option+Shift+/maccmd+V.

tip.eps Mistakes are passé in iWeb. To undo your last action, you can always press the familiar /maccmd+Z keyboard shortcut or choose Edit⇒Undo.

3. Highlight and format your new text as necessary.

To make changes easier, click the Inspector button in the iWeb toolbar. The window you see in Figure 16-3 appears, allowing you to change text color, alignment, and spacing with aplomb. (You find out more about the Inspector later.) You can click the Colors or Fonts buttons on the iWeb toolbar to display a Color Picker or Font Panel for the selected text.

4. Click outside the text box after you’re satisfied with the text.

Because you’re likely modifying everything on the template pages from the title to the last box on the page, repeat Steps 1–4 for each section of text you want to change.

Figure 16-3: Using the Inspector palette to format text.

9781118240717-fg1603.tif

Replacing images

If your page includes photographs that you want to change, follow these steps:

1. Click the image you want to replace.

As it does with a block of text, iWeb displays a box around the image, complete with resizing handles.

2. Drag an image to the image box from a Finder window.

Alternatively, you can click the Show Media button on the toolbar, which displays the Media Browser you see in Figure 16-4. From this window, you can click the Photos tab to choose an image from your iPhoto library.

tip.eps You can hide the Media Browser to make more room for your page layout. Just click the Hide Media button on the toolbar.

3. Adjust your new image if necessary.

Click the Adjust button, and iWeb displays a cool, semi-opaque dialog that allows you to tweak image settings, such as tint, brightness, and sharpness (see Figure 16-5). Click Enhance to allow iWeb to choose the settings it considers best for the image or click Reset Image to restore the photo to its original appearance. When you’re satisfied with the image, click the Close button on the dialog to return to the image box.

Figure 16-4: Browsing my iPhoto library for the right image.

9781118240717-fg1604.tif

Figure 16-5: Adjusting an image in iWeb.

9781118240717-fg1605.tif

4. Click outside the image box (usually the page background) after you’re satisfied with the photo.

Again, lather/rinse/repeat for each image you want to change on your page.

Adding new elements

iWeb also makes it easy to add new items to a page. The list of extras includes

check.png Audio: You can add a song (complete with volume control, Play/Pause button, and progress slider) to your page! Either drag an audio file from a Finder window to your page, or click the Audio tab in the Media Browser to select a song from your iTunes or GarageBand collections. You can drag any image to the player that appears. (How about a photo of your daughter instead of album art?)

check.png Photos: To add a new image box to your page, drag a photo from a Finder window to the iWeb layout section. Or click the Photos tab in the Media Browser to choose an image from your iPhoto library, or throw caution to the wind and drag an entire Event or an album to your new page! iWeb takes care of all the details.

check.png Movies: Yep, you guessed it: You can drag a movie clip from a Finder window to your page, or click the Movies tab in the Media Browser to choose a movie from iMovie or your Movies folder.

check.png Text: Choose Insert⇒Text or click the Text button in the toolbar.

check.png Shapes: Click the Shape button in the toolbar to display the pop-up menu and then click the desired shape. (Don’t forget to resize it as you desire with the box handles.)

check.png Widgets: Click this tab in the Media Browser to insert a widget (a web applet) to your page. For example, HTML Snippet allows you to type HTML code directly into place on the page, or paste HTML code that you’ve copied from another website. You can also insert interactive Google AdSense advertisements or a Google Map. Other widgets include a countdown timer and YouTube videos.

tip.eps You can move a widget anywhere on a page by dragging it, and it can be resized just as a text box can.

check.png Links: If you’re editing text and you want to insert a web link, choose Insert⇒Hyperlink and choose from the menu that appears. You can choose to link to another web page or insert a link that automatically sends an e-mail message to the mail address you provide. You can also offer a file for downloading.

tip.eps iWeb can automatically detect e-mail and web addresses that you type in a text box, so you don’t have to use the Links menu. To enable this feature, choose iWeb⇒Preferences and click the Automatically Detect Email and Web Addresses check box to select it.

check.png Button: Your web page can include buttons that allow your visitors to e-mail you or display the number of hits (visits) your page has received. Choose Insert⇒Button and click an option to add or remove a specific button. (If the menu option is selected, the button appears on your page.) Blog and Podcast pages can also offer RSS feeds (for automated retrieval of new entries within a web browser), subscriptions to your podcasts, and slideshows.

tip.eps With these tools, you can use the Blank page template to create your own new pages. Personally, I prefer to use the professionally designed templates offered by Apple as starting points, removing whatever I don’t need and adding new content.

Most web designers would strongly recommend that you use a common theme for all the pages within a site (to lend continuity). Of course, you can also stick your tongue out at those very same web designers and select a different theme for every page! To select a different theme for a page, open the page in iWeb and click the Theme button in the toolbar; then click the desired thumbnail from the pop-up menu. Nothing’s lost but the old look of the page, so feel free to experiment to your heart’s content.

tip.eps Ready to offer a slideshow on your web site? Add a Photo page to your site and notice that the Start Slideshow button is already in place at the top of the page. Simply add the photos to the page using the Media Browser or by dragging them from a Finder window. When your visitors click the Start Slideshow button, all the photos on the page are displayed in a pop-up window. (Other Mac and PC owners using Safari can enjoy the show, but older versions of Internet Explorer and Firefox can’t handle it.)

Tweaking with the Inspector

Earlier, you used the Inspector to change text formatting attributes — but this star performer can do much more than just that! To modify page characteristics, click the page in the Site Organizer, display the Inspector, and click the Page Inspector button, which carries a document icon. These settings allow you to change the name of a page; you can also elect to include or exclude this page from the site menu, or to drop the site menu from this page.

If your site contains a Blog or Podcast page, you can click the RSS button to provide an automated RSS (RDF Site Summary) feed to your visitors. (For more information on RSS and how it works in Safari, see Chapter 8.)

Publishing Your Website

After you finish with a new site — or you’re satisfied with the edits you make to existing pages — it’s time to get your masterpiece on the web! Even the best website design is worth next to nil if it isn’t available on the Internet, and in this last section, I demonstrate how to publish your website to a separate server maintained by a third party (perhaps your ISP, your company, or Dave down the street).

You specify where your iWeb site will be published from the Site Publishing Settings screen.

technicalstuff.eps To make global changes to a site, click the site name in the Site Organizer. iWeb switches to the Site Publishing Settings screen, where you can change the name of the site, your contact e-mail, and where the site is published.

Click the site name in the Site Organizer to display the Publish To pop-up menu. iWeb offers two publishing options:

check.png Publish to FTP Server: This publishing option provides you with a completely different collection of settings on the Site Publishing Settings screen. You’ll need to furnish iWeb with your web server’s FTP settings (which should be furnished to you by the host) and your site’s address (or URL).

check.png Publish to a Local Folder: The final publishing option creates a folder on your hard drive that contains all the files to display your website. This is the option to choose if you don’t use a third-party hosting service. You can add these files directly to your home or business web server. Once again, you must supply the site URL as it will appear on the Internet after you copy or upload the site files to the server.

After you’ve set the type of publishing the site will use, it’s time to take care of business! Click the site to select it in the Site Organizer and then click the Publish Site button on the toolbar. The application takes care of everything else, automatically uploading all pages and media (if you choose FTP publishing) or saving them on your hard drive (if you chose the Local Folder option).

tip.eps In a hurry? You can elect to publish just the changes necessary to update your site: Instead of clicking the Publish Site button on the toolbar, click the File menu and choose Publish Site Changes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.32.230