Wiki Sitemap

is a Sitemap (or site map), that software in the federation (like the wiki-client) uses to find pages.

It is used for things like Wiki Find, and displaying Recent Changes and Twins of the current page. Federated wiki uses JSON rather than XML to make it fast to load and utilise in the browser.

a Sitemap view

# Schema

The wiki server creates a sitemap.json file by scanning pages on startup and occasionally thereafter. This json file is a indexed array with the following structure:

[1] slug title date synopsis [2] ...

If you delete the sitemap the server will recreate it when asked.

The sitemap includes the first paragraph of each page which the client uses for its search.

Try text editing the first paragraph of the welcome page.

The client can see the new text, but not search.

Try deleting ~/.wiki/status/sitemap.json

The client search will see the new text on reload.

# See also