ImportURL
 
Description

Allows you to import the pages whose URLs are listed in the ImportFieldOpApplyTo<N> field. Use ImportFieldOpParam<N> to specify the path to the location where the listed pages are stored.

Note:

  • If the URL specified in ImportFieldOpApplyTo<N> requires login information, use the ImportURLBasicAuthUsername and ImportURLBasicAuthPassword parameters to specify the authorization
    credentials.
  • The URL specified in ImportFieldOpApplyTo<N> must be URL-escaped. Subdirectories in ImportFieldOpParam<N> must be URL-escaped, but the host name and any slashes must not be URL-escaped.
  • If you connect to the Internet using a proxy server, you must specify the settings for your proxy server with ImportURLProxyHost, ImportURLProxyServer, ImportURLProxyUsername and ImportURLProxyPassword.
  • If some of the listed pages contain fields that have the same name, only the first instance of these fields is imported. Fields that are subsequently imported overwrite any previously imported field of the same name. This also applies to the pages' content fields.
    If you do not want the value of the first content field to be overwritten by subsequently imported content fields, but want to append the contents of subsequently imported content fields to the contents of the first one, you can prefix the ImportFieldOpParam<N> string with 1;.

Importing Sites Protected by NTLM Authentication

If Import Module fails to access a site, even though you have configured the login information, the site may require NTLM authentication.

Typically, a Web site using NTLM authentication displays a window for you to enter your user name and password. If the Web site that you cannot access is an internal Web site (such as a company intranet), you can contact your system administrator to determine whether the site uses NTLM authentication. Alternatively, open the Web site using a Netscape Web browser. If you cannot access the Web site using Netscape, the site may use NTLM authentication.

To access NTLM-protected Web sites, set the user name and password with the NTLMUsername and NTLMPassword parameters, respectively.

Example

ImportFieldOpApplyTo0=MyField
ImportFieldOp0=ImportURL
ImportFieldOpParam0=http://www.mycompany.com/intranet_location/

In this example, the Import Module reads the name of the pages that it should import from the MyField field, and imports each one of them from http://www.mycompany.com/intranet_location/.


ImportFieldOpApplyTo0=MyField
ImportFieldOp0=ImportURL
ImportFieldOpParam0=1; http://www.mycompany.com/intranet_location/

In this example, the Import Module reads the name of the pages that it should import from the MyField field, and imports each one of them from http://www.mycompany.com/intranet_location/. The first instance of each field that the pages contain is overwritten by fields of the same name that are subsequently imported. An exception to this is the Content field. The first instance of this field is imported and the contents of subsequently imported content fields are added to the contents of the first imported content field.