FindSiteByName (open)

Find a site by its name

Syntax

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

RECORD FUNCTION FindSiteByName(STRING sitename)

Parameters

STRING sitename

Name (case-insensitive) of the site to look for

Return value

RECORD

The requested site record, or a non-existing record if the site does not exist

Description

Retrieve a site record from the SITES table, based on its name.