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 fileinfos

Files for which to generate links

INTEGER id

File id

STRING link

Link to first file page

DATETIME modificationdate

Modification date (in whfs)

STRING subpageurl

Base url for statically created follow up pages

INTEGER type

File type

RECORD context

Context for this request

INTEGER id

File id

STRING link

Link to first file page

DATETIME modificationdate

Modification date (in whfs)

STRING subpageurl

Base url for statically created follow up pages

INTEGER type

File type

Return value

RECORD ARRAY

List of links for the files

STRING changefreq

Change frequency: always, hourly, daily, weekly, monthly, yearly, never. Leave empty if unknown

RECORD consiliofields

Additional fields (used for indexing by Consilio)

INTEGER fileid

ID of the WHFS file

INTEGER filetype

Type of the WHFS file

STRING link

Absolute link for sitemap

DATETIME modificationdate

Last modification, DEFAULT DATETIME if unknown

MONEY priority

Indexing priority, 0.0 .. 1.0 (set to 0 if unknown)

STRING title

Title for this file (used for indexing by Consilio)