-->
Previous | Table of Contents | Next |
Scary? Its really not that bad. The part to the left of the colon (:) specifies the access method to get to the data. This access method defines the protocol used to communicate with the server, and also gives a good clue as to the type of interaction that will take place. Table 31.1 lists several valid access methods.
Method | Description |
---|---|
http | Protocol for accessing most Web pages. Provides interactive hypermedia links to pages written in Hypertext Markup Language (HTML). |
wais | Used for accessing a Wide Area Information Service (WAIS) site. |
gopher | Used for accessing a gopher server. |
ftp | Provides an anonymous FTP connection. |
telnet | Opens a telnet connection to a site. |
news | Used for reading Usenet news. |
Before the Web, There Was
Many services and sources of information existed before the Web. These services use protocols other than HTTP. However, many Web clients such as Netscape Navigator allow you to access these services from within the browser. For example, you can transfer files to your computer by using the FTP protocol, retrieve documents from gopher servers, do text searches with WAIS (Wide Area Information Service), and read Usenet news. |
Following the :// in the URL is the host name of the server computer you want to contact. After the server name is the directory path to the document you want to view or retrieve. This path depends totally on where the file is located on the remote server. (You might not have a path in some cases, if the file is in a default directory.) Finally, the filename of the document is given. This document can be text, a hypermedia document, a sound file, a graphic, or some other type of file.
So, look again at the example. The following URL
uses the HTTP protocol to contact the server computer www.ncsa.uiuc.edu and says that youre interested in the document named whats-new.html located in the directory /SDG/Software/Mosaic/Docs. The .html extension on the document name tells your Web client (for example, Netscape Navigator) that this document is written in Hypertext Markup Language (HTML). HTML is a special syntax used to write hypertext pages for the Web. For more details on HTML, see Chapter 32, Creating Web Documents with HTML.
The Web is huge, and its getting bigger every day. Rather than click through thousands of pages, you can use search engines to help you find information faster. A search engine is a program that looks through its database for information that matches your request. Some search engines, such as AltaVista and Infoseek, search the entire Web and store their information in huge databases. Other search engines search only a specific Web site.
When you see a Search button at a typical Web site, its usually only for that Web site. When you want to search the entire Web, you need a more general search tool. The following list describes some of the many search engines that scan Web sites across the Internet. Some even let you search other Internet information sources, like those on Usenet or FTP sites.
Good keywords make your search more effective. Come up with words that are unique to what you really want to find. Try to avoid heavily used terms, such as www, Internet, computer, and so on. If you do need them, combine them with other more specific terms and Boolean operators to help narrow your search as in this example:
Previous | Table of Contents | Next |