webCOMAND

#ABSPATHS

Syntax

#ABSPATHS ... #ENDABSPATHS

Description

DEPRECATED: This statement is provided for backward compatibility with previous versions of webCOMAND.  #PATHTYPE('Absolute') ... #ENDPATHTYPE should be used instead.

Causes #LINK and #OUTPUT statements to produce fully qualified URLs instead of relative paths.  The URL specified in the Publication determines the base of the fully qualified URL.

This statement does not produce output.

Example

<a href="#OUTPUT("test.txt","Test Text")">Link</a>
#ABSPATHS
<a href="#OUTPUT("test.txt","Test Text")">Link</a>
#ENDABSPATHS

Result

<a href="test.txt">Link</a>
<a href="http://www.domain.com/directory/test.txt">Link</a>

Analysis

Two links were specified.  The first in the standard fashion and the second inside the #ABSPATHS block.  The first link resulted in the default relative path.  The second resulted in a fully qualified URL, as dictated by the path in the Publication Destination URL field.