Website.Catalog
class Website.Catalog
Before using this class, it is NOT necessary to load any content into DocBook. Input data = relinfo files + relinfo\groupinfo\groupinfo.txtMethod Inventory
Methods
classmethod GenerateAll(verbose As %Boolean = 0, initialize=0)
Generate catalog page HTML files for all websitegroups and locales into the $$$WEBSITEOVERRIDE directory.
classmethod GeneratePage(websitegroup As %String = "ce", locale As %String = "en-us", verbose As %Boolean = 1)
Generate the catalog page HTML file for the given websitegroup and locale into the $$$WEBSITEOVERRIDE directory.
classmethod GetHTML(websitegroup As %String = "ce", locale As %String = "en-us", verbose As %Boolean = 1, ByRef shortFilename) as %String
Return the full catalog page HTML for the given websitegroup and locale as a string.
The shortFilename returned by reference corresponds to the websitegroup's filename for the catalog page in the given locale,
which is also used for forming anchor links.