The config pack doesn’t seem to work with Wayfinder 2 and/or Evolution version 1.x.
Wayfinder 2, at least, makes setting up what I think fE1 is requesting a relatively straightforward activity.
First, download the attached sitemap_xml.config.php file and put it in /assets/snippets/wayfinder/configs
Next, create three new TVs:
for change frequency
TV: changfreq
Input Type: DropDown ListMenu
Input Option Values: always||hourly||daily||weekly||monthly||yearly||never
Default Value: weekly
for priority
TV: priority
Input Type: DropDown ListMenu
Input Option Values: .1||.2||.3||.5||.6||.7||.8||.9||1
Default Value: .5
For last modified dateEdit: this doesn’t appear to work after all, sorry
TV: lastmod
Input Type: text (or date, doesn't seem to matter)
Input Option Values: LEAVE BLANK
Default Value: @EVAL return date("Y-m-d", $modx->documentObject['editedon']);
and assign each to template(s) used by the documents you wish to see listed in the sitemap.
Finally, create a new resource using an empty template and setting the content type to text/xml and paste this as your content:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
[!Wayfinder? &startId=`0` &excludeDocs=`#` &config=`sitemap_xml`!]
</urlset>
I didn’t know whether I should post this here or start a new thread, sorry if I chose wrong.