PagelistProviderBase::GetPagesForMultiple (open)
Gather relevant links for the sitemap or consilio for multiple files of the same type
Syntax
LOADLIB "mod::consilio/lib/pagelists.whlib";
RECORD ARRAY FUNCTION GetPagesForMultiple(RECORD ARRAY fileinfos, RECORD context)Parameters
RECORD ARRAY fileinfosFiles for which to generate links
INTEGER idFile id
STRING linkLink to first file page
DATETIME modificationdateModification date (in whfs)
STRING subpageurlBase url for statically created follow up pages
INTEGER typeFile type
RECORD contextContext for this request
INTEGER idFile id
STRING linkLink to first file page
DATETIME modificationdateModification date (in whfs)
STRING subpageurlBase url for statically created follow up pages
INTEGER typeFile type
Return value
RECORD ARRAYList of links for the files
STRING changefreqChange frequency: always, hourly, daily, weekly, monthly, yearly, never. Leave empty if unknown
RECORD consiliofieldsAdditional fields (used for indexing by Consilio)
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)
STRING titleTitle for this file (used for indexing by Consilio)