GetConsilioPagesForFile (open)

Get the consilio pages for a file

Syntax

LOADLIB "mod::consilio/lib/pagelists.whlib";

RECORD ARRAY FUNCTION GetConsilioPagesForFile(INTEGER fileid, RECORD options)

Parameters

INTEGER fileid

ID of the file we're querying

RECORD options

Options

INTEGER ARRAY limitobjects

Limit sitemap links to the specified objects.

Return value

RECORD ARRAY

List of pages

STRING changefreq

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

INTEGER fileid

ID of the WHFS file

INTEGER filetype

Type of the WHFS file

STRING link

Absolute link for the page, may include a hash

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)