Ten Ton Dreamweaver [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Ten Ton Dreamweaver [Electronic resources] - نسخه متنی

Geoff Blake

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید












Getting Ready to Publish


You've seen it all, you've done it all! Now you should have a wonderfully designed site complete with text, hyperlinks, graphics, and CSS. You're finally ready to take all your hard work and post it online for the world to see. But waitdon't jump the gun. Your site needs a few final touchesmaintenance touches, that is.

Before you publish your site, you should do a little housekeeping to ensure that your site's in the best possible condition. In this section, you'll see how to check your entire site for broken links using Dreamweaver's handy Link Checker utility. Then you'll see how to keep your files organized within your local site and how to generate reports on various aspects of your site. When everything's looking rosy, you'll be ready to upload the works and retire!

To keep your site free of broken links, use Dreamweaver's Link Checker.


Checking for Broken Links Sitewide


The first order of business before you upload your site is to ensure that all the hyperlinks in your site work. Broken links on the web are a regular occurrence for most of us, and isn't it frustrating? Not only that, but broken links make your site seem less pro.

Noteworthy

You can also check links within a single page. Choose File > Check Page > Check Links. The Link Checker tab of the Results panel appears, listing any links that are broken in the current page. You can fix your broken links just as you can when you check links with the Link Checker sitewide.

To keep your site free of broken links, use Dreamweaver's Link Checker. With this utility, you won't have to manually search your site for broken linksand it's mindlessly simple to use!

Here's how to check for broken links across your site:


1.

Choose Site > Check Links Sitewide.

The Results panel appears, with the Link Checker tab open, and Dreamweaver begins scanning your site for broken links.

If any broken links are found, Dreamweaver lists them on the Link Checker tab. The file that contains the broken link is listed in the column on the left, and the broken link within the file is listed in the column on the right.

[View full size image]

2.

To fix a broken link, click it in the Broken Links column; then click the folder icon that appears.

3.

In the Select File dialog box that appears, navigate to and select the correct file that the hyperlink should point to; then click OK (Windows) or Choose (Mac).

The fixed link is removed from the list.

4.

Set new destinations for any other broken links that appear in the Link Checker.



Checking for Unused Files


Sometimes, files that at one time were needed wind up orphaned, with no pages in the site linking to them. Orphaned files used to be a pain in the butt to find and so often needlessly took up web space. Thankfully, Dreamweaver's Link Checker has a function to search for orphaned files.

Here's how to check for orphaned files:


1.

Choose Site > Check Links Sitewide to run the link checker.

2.

On the Link Checker tab of the Reference panel that appears, choose Show > Orphaned Files.

Dreamweaver creates a list of all the files in your local site that do not link to other pages.

[View full size image]

3.

To remove a file, select it in the list and press Delete.


Noteworthy

From the Show menu on the Link Checker tab of the Results panel, you can choose External Links to display a list of external links. Dreamweaver doesn't check external links for you, but you can use the list to check them manually.


Keeping Your Site Organized


When you want to reorganize the files in your local site, you can do so directly in Dreamweaver's Files panel (choose Window > Files). When you work in the Files panel, Dreamweaver monitors and updates links to pages as they move. For instance, if you want to move a file from one folder in your local site to another folder, you just drag it to the new location. When you do, Dreamweaver will display the Update Files dialog box, which asks if you want to update any links to the file. Make sure always to click Update, and you won't have any problems with broken links.

You can reorganize the files in your local site directly in Dreamweaver's Files panel.

If you want to rename a file in your site, just highlight it, click it again (or press F2), and enter the new name for your file. Again, Dreamweaver displays the Update Files dialog box, asking if you want to update hyperlinks to the file. Click Update, and you're good.

If you want to remove a file from your site completely, highlight the file's name in the Files panel and press Delete. Dreamweaver warns you if any pages in your site currently link to the file and asks if you're sure you want to delete the file. Click Yes to confirm. After you delete a file, it's a good idea to run Dreamweaver's Link Checker, discussed earlier in this chapter, to ensure that your site doesn't contain any broken links.

When you delete a file in the Files panel that other pages link to, Dreamweaver warns you of the potential problem.



Running Reports on Your Site


Dreamweaver provides a handy little function called Site Reports, which you can use to collect information about your site. For example, you can use Site Reports to generate a list of documents in your site that were modified within a certain timeframe, or to ensure that all the images in your site have alternative text set for them.

Use Dreamweaver's Site Reports function to collect information about your site.

Reports come in two flavors: workflow reports an88 reports. Workflow reports are useful when you're working with a group of designers on a site. HTML reports come in handy when you want to ensure that your pages are functioning at their best. For example, you can us89 reports to help clean out unnecessary background page code or to ensure that your pages comply with current accessibility standards for those with disabilities.

When you run a report of either type, Dreamweaver displays the results on the Site Reports tab of the Results panel, where you can then make adjustments to your pages.

Here's how to run a report on your site:


1.

Choose Site > Reports.

2.

Checked Out By: Generates a list of all the files that have been checked out by a member of a design team. For more about working with a design team, see "Working with a Team" later in this chapter.

Design Notes: Generates a list of all the Design Notes that have been used throughout a site. For more on Design Notes, see "Using Design Notes" later in this chapter.

Recently Modified: Creates a list of documents that have been modified within a certain number of days or within a specified time frame.

Combinable Nested Font Tags: Generates a list of documents whose background code contains nested font tags.

Accessibility: Checks whether pages are in compliance with current accessibility standards.

Missing Alt Text: Creates a list of files that contain images that do not have alternative text set for them.

Redundant Nested Tags: Generates a list of files whose background code contains unnecessary nested tags.

Removable Empty Tags: Finds empty tags in the background code of pages that are no longer needed.

Untitled Documents: Checks pages to see if they have been given a page title, or if they use the default name: Untitled Document.

When you choose some reports, the Report Settings button at the bottom of the dialog box becomes available, so you can set parameters for your report. If you're running more than one report, you'll need to set each report's parameters separately, by selecting the report in the list and then clicking the Report Settings button.

4.

If the Report Settings button becomes available, click it to set parameters for your report.

The dialog box that appears displays different settings depending on which report you're running. For example, if you're running the Recently Modified report, you can specify how many days old the files you want listed should be or have the report return files based on when they were created.

[View full size image]

5.

When you're ready to run your reports, click Run.

Dreamweaver opens the Site Reports tab of the Results panel and begins running your selected reports. Any results are listed on the Site Reports tab.

[View full size image]

6.

To fix an error picked up by a report or to view a document that contains a report result, double-click the file in the Results panel.

Dreamweaver opens the file, where you can make any necessary adjustments.



/ 109