sitemap.json

To understand the structure of the sitemap.json, it is best to take a look at the server code that you can find on – github .

It is a list containing an entry for each page – each entry containing being:

entry = { 'slug': file 'title': page.title 'date': lastEdit(page.journal) 'synopsis': synopsis(page) }

Find the sitemaps as stored in the client. Open the inspector, view the javascript console, and examine the wiki neighborhood global.

To be a compatible member of the federation and meet the minimal Fedwiki Server Requirements a site must serve *sitemap.json* from:

- http://fedwiki.org/system/sitemap.json

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

# Synopsis

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

In order for this text to be searchable with wiki-find the sitemap needs to be loaded into memory. You can force this by deleting the sitemap.json file as it is reloaded when the server recreates this file. Usually simply reloading the web page will acheive this result safely.

# See also