Fog Creek Software
Fog Creek Software

CityDesk 2.0-Documentation
Importing Web Pages

There are three commands on the Insert menu which are useful when importing an existing web site:

  1. Insert » Import Web Page from Internet downloads a web page from the Internet.
  2. Insert » Import Web Page from Disk imports a web page from a file on disk.
  3. Insert » Import Folder from Disk imports an entire disk folder "wholesale" into CityDesk, including any subfolders.

These commands differ in the way they treat embedded pictures:

Here's a quick example to illustrate the difference. If you have a folder named MyFolder containing index.html and picture.gif, where index.html contains the code <IMG SRC="picture.gif">, then if you:

To Import A Web Page From The Internet:

*  In the main window, select the folder where you want the imported web page to appear.

*  Choose Insert » Import Web Page from Internet.

*  In the Address or File Name edit box, type the complete URL of the site that you want to import, for example, http://www.fogcreek.com

*  Press Enter or click Preview to see what the page looks like.

CityDesk will fetch the web page and display it.

*  If you want to import a different page from that site, you can click on links in the miniature web browser which appears.

When the site is ready, the word Done will appear beneath the web page.

*  If you want to import the HTML page alone, choose the Import HTML only radio button. If you want to import the HTML page and all the pictures contained within it, choose the Import HTML and pictures radio button.

*  Click Import. CityDesk will insert the HTML page into your web site. If the original filename can't be found, CityDesk uses a name like ImportedWebPage.html.

*  Rename the web page if you want.

If you imported the pictures, CityDesk will download those into a new folder named Pictures. You can rename this, too. CityDesk will also adjust the HTML of the imported web page to point to the pictures that it downloaded, instead of the original pictures on the web.

To Import A Web Page From Disk:

*  In the main window, select the folder where you want the imported web page to appear.

*  Choose Insert » Import Web Page from Disk.

*  Choose the HTML file which you want to import and click Open.

CityDesk will fetch the web page and display it.

*  If you want to import the HTML page alone, choose the Import HTML only radio button. If you want to import the HTML page and all the pictures contained within it, choose the Import HTML and pictures radio button.

*  Click Import. CityDesk will insert the HTML page into your web site. If the original file named can't be found, CityDesk uses a name like ImportedWebPage.html.

*  Rename the web page if you want.

If you imported the pictures, CityDesk will download those into a new folder named Pictures. You can rename this, too. CityDesk will also adjust the HTML of the imported web page to point to the pictures that it downloaded, instead of the original pictures on the web.

To Import An Entire Folder From Disk:

*  In the main window, select the folder where you want the imported folder or files to appear.

*  Choose Insert » Import Folder from Disk.

*  Choose the folder which you want to import and click OK.

CityDesk Documentation -  Home


©Copyright 2001-2003 Fog Creek Software, Inc. All Rights Reserved.