© 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

46
© 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files

Transcript of © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

Page 1: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar, Cengage Learning

Chapter 6

Managing a Web Server and Files

Page 2: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Chapter 6 Lessons

1. Perform website maintenance.

2. Publish a website and transfer files.

3. Check files out and in.

4. Cloak files.

5. Import and export a site definition.

6. Evaluate web content for legal use.

Page 3: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Preparing to Publish a Site

• Test it regularly• Use the Link Checker panel to check for

broken links and orphaned files• Verify all pages have titles• Remove all non-web-safe colors

Page 4: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Maintaining a Website

• Use the Assets panel• Checking links sitewide• Using site reports• Validating markup• Testing pages

Page 5: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 1: Reports Dialog Box

Report on list arrow

Scope of report choices

Page 6: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 2: Link Checker Panel Displaying No Broken Links

No broken links listed

Page 7: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 3: Link Checker Panel Displaying No Orphaned Files

Summary No orphaned files listed

Page 8: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 4: Assets Panel Displaying Websafe Colors

All colors are web-safe

Page 9: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 5: Reports Dialog Box with Untitled Documents Option Selected

Report on list arrow

Untitled Documents check box

Run button

Page 10: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 7: Reports Dialog Box with Missing Alt Text Option Selected

Missing Alt Text check box

Page 11: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 8: Site Reports Panel Displaying Missing “Alt” Tags

Line number in code with missing “alt” tag One missing “alt” tag

found on one page

Page 12: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 9: Site Definition for the Striped Umbrella

Design Notes category

Maintain Design Notesis checked

Page 13: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 11: Design Notes Dialog Box

Status list arrow

Current date and note added

Show when file is opened check box

Date icon

Page 14: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 12: Files Panel with Notes Icon Displayed

Notes icon for activities file

Page 15: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Publishing a Website

Defining a Remote Site– Before publishing a site to a web server,

you must first define the remote site by specifying the Remote Info settings in the Advanced section of the Site Definition dialog box

– You must first choose an Access setting, which specifies the type of server you will use (ex: FTP)

Page 16: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Viewing a Remote Site

• Remote view from the view list• If located to an ftp server, Dreamweaver will

connect to it• Connects to remote host button on the files

panel

Page 17: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Transferring Files to and from a Remote Site• Uploading Files• Downloading Files• Synchronizing Files

Page 18: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 15: FTP Settings in Site Definition

Remote Info category selected

Password to access remote server

Use Secure FTP (SFTP)

Location of FTP site

Folder on FTP site where site will be published

Test button will test the FTP connection

User login information

Page 19: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 17: Synchronize Files Dialog Box

Specifies to synchronize all files in the site

Page 20: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 19: Local/Network Settings Specified in the Site Definition

Local/Network setting selected

Local or network drive and folder where remote site will be published (your folder name should end with your last name)

Page 21: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 20: Connecting to the Remote Site

Connects to remote host button

Remote view selected

Expand to show local and remote sites button

Remote folder name

Page 22: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 23: Files that Need to be Uploaded to the Remote Site

Page 23: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Check Files Out and In

• Dreamweaver’s collaboration tools allow you to manage a website with a team

• Check In/Check Out feature ensures that team members can not overwrite each other’s pages

• You must first enable this feature. Then only one person can work on a file at a time

Page 24: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 24: Check Out File and Check In Buttons on the Files Panel

Check Out File(s) button

Check in button

Page 25: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 25: Enabling Check In/Check Out Feature

Click to enable the Check In/Check Out feature

Type your name here

Type your email address here

Page 26: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 26: Files Panel in Local View after Checking Out Café Page

Dependent files have padlock icon

Check mark indicates file is checked out

Dependent file

Page 27: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 27: Files Panel after Checking In Café Page

Dependent files are also locked

Padlock icon indicates file is read-only and cannot be edited unless it is checked out

Page 28: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Understanding Cloaking Files

• You can exclude files by cloaking them, which marks them for exclusion from several commands– Put– Get– Synchronize– Check In and Check Out

• Cloaked files are also excluded from site-wide operations, such as checking for links or updating a template or library item

Page 29: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Cloaking Files

• Entire folders• Particular types of files, such as .jpg

Page 30: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 29: Assets Folder after Cloaking

Red slashes indicate folder and files in it are cloaked

Page 31: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 30: Specifying a File Type to Cloak

Specify file type to cloak here

Page 32: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 31: Assets Folder in Files Panel after Cloaking .gif Files

Assets folder is not cloaked

All .gif files are cloaked Dependent files

for the café page still show padlock icon

Page 33: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Exporting a Site Definition

• You can use the Export command to export the site definition file to another location

• Site definition file contains password information. Never save it in the website. Instead, save it to an external file.

Page 34: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Importing a Site Definition

• If you want to set up another user with a copy of your website, you can import the site definition file

• Click Import in the Manage Sites dialog box to open the Import Site dialog box, navigate to the .ste file you want to import, then click Open

Page 35: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 33: Import Site Dialog Box

Page 36: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Evaluate Web Content for Legal Use• Intellectual property• Copyright law

– Copyright– Trademark

Page 37: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 35: Striped Umbrella 2 Website Files

Page 38: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Understanding Intellectual Property• Intellectual property is a product resulting

from human creativity. It can include inventions, movies, songs, designs, clothing, etc.– Copyright– Trademark

Page 39: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

What the Copyright Owner Owns1. Reproduction (including downloading)

2. Creation of derivative works (for example, a movie version of a book)

3. Distribution to the public

4. Public performance

5. Public display

6. Public performance by digital audio transmission of sound recordings

Page 40: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Understanding Fair Use

• Fair use allows limited used of copyright-protected work. It depends on:– the purpose of its use– the nature of the copyrighted work– how much you want to copy– the effect on the market or value of the

work

Page 41: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

How Do I Use Work Properly?

• You can obtain permission, pay a fee, use work that does not have copyright protection

• You can use work that has a flexible copyright license, where the owner has given the public permission to use the work in certain ways

• Public domain: work that is no longer protected by copyright

• Open-access licensing: www.creativecommons.org

Page 42: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

License Agreements

• A licensing agreement is the permission given by a copyright holder that conveys the right to use the copyright holder’s work under certain conditions

• websites have rules that govern how a user may use its text and media, known as terms of use

• The burden is on you to research the veracity of anyone claiming you can use work

Page 43: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 36: Library of Congress Home Page

Link to legal information regarding the use of content on the website

Library of Congress website – www.loc.gov

Page 44: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Fig. 37: Library of Congress Legal Page

Library of Congress website – www.loc.gov

Page 45: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

Obtaining Permission or License

• The permissions process is specific to what you want to use and how you want to use it

– Your full name, address, and complete contact information

– A specific description of your intended use. Sometimes including a sketch, storyboard, or link to a website is helpful

– A signature line for the copyright holder

– A target date when you would like the copyright holder to respond. This can be important if you’re working under deadline.

Page 46: © 2010 Delmar, Cengage Learning Chapter 6 Managing a Web Server and Files.

© 2010 Delmar Cengage Learning

References: Web Based Resources• Author’s name (if known)• Date of publication or last revision (if

known), in parentheses• Title of document• Title of complete work or website (if

applicable), underlined• URL, in angled brackets• Date of access, in parentheses