GenerateSitemapLinks (open)
Get the sitemap links for files in a folder, recursively
Syntax
LOADLIB "mod::consilio/lib/pagelists.whlib";
RECORD ARRAY FUNCTION GenerateSitemapLinks(INTEGER startfolder, RECORD options)Parameters
INTEGER startfolderStarting point
RECORD optionsOptions
INTEGER ARRAY limitobjectsLimit sitemap links to the specified objects.
BOOLEAN skipfolderswithoutindexIgnore folders that don't have a published index file
Return value
RECORD ARRAYList of links (including the first page if it should be in the sitemap)
STRING changefreqChange frequency: always, hourly, daily, weekly, monthly, yearly, never. Leave empty if unknown
INTEGER fileidID of the WHFS file
INTEGER filetypeType of the WHFS file
STRING linkAbsolute link for sitemap
DATETIME modificationdateLast modification, DEFAULT DATETIME if unknown
MONEY priorityIndexing priority, 0.0 .. 1.0 (set to 0 if unknown)