MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 280

Dreamweaver api reference
Table of Contents

Advertisement

site.getSiteURLPrefix()
Availability
Dreamweaver 8.
Description
Gets the site URL prefix that is extracted from the HTTP Address defined in Local Info
section.
Arguments
None.
Returns
A string that contains the site URL prefix.
Example
sitePrefix = getSiteURLPrefix();
site.importSite()
Availability
Dreamweaver MX.
Description
Creates a Dreamweaver site from an XML file. During import, if the folder that is specified by
the
attribute of the
localroot
Dreamweaver prompts for a different local root folder. Dreamweaver behaves the same way
when it tries to locate the default images folder that is specified by the
of the
<localinfo>
Arguments
fileURL
The
argument is a string that contains the URL for the XML file. Dreamweaver
fileURL
uses this XML file to create a new site. If
prompts the user to select an XML file to import.
Returns
A Boolean value:
true
otherwise.
false
280
Site
<localinfo>
element.
if the named XML file exists and if the site is created successfully;
element does not exist on the local computer,
is an empty string, Dreamweaver
fileURL
attribute
imagefolder

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents