GetFileSubpageURL (open)

Create a link to a published file's subpage

Syntax

LOADLIB "mod::publisher/lib/publisher.whlib";

STRING FUNCTION GetFileSubpageURL(INTEGER fileid, STRING pagename)

Parameters

INTEGER fileid

ID of file to link to

STRING pagename

Page name as passed to CreateFile. Pass an empty pagename to receive the base directory for subfiles

Return value

STRING

A link to the requested page, or an empty string if the file was not online