sitemap-INSTCODE.xml
We now generate the sitemap-wiews.xml
that generates a sitemap to institute pages:
for (FaoInstitute institute : instituteService.listActive(new PageRequest(0, Integer.MAX_VALUE))) {
writePage(response, sb, new SitemapPage("/wiews/" + institute.getCode().toUpperCase()));
}
Instead it should reference another sitemap sitemap-{INSTCODE}.xml
with the links to pages:
new SitemapPage("/wiews/" + institute.getCode().toUpperCase())
- a
new SitemapPage("/a/...."
for every accession of that institute (useAccessionProcessor
).