MODX revo – Add sitemaps XML without plugins

I need to add sitemaps xml, on my MODX revo sites.

I need sitemaps that contain :

  • Url of resource http://www.esempio.it/
  • Date of update 2005-01-01
  • Priority of resource – <priority>0.3</priority>

Create a Template for our xmlsitemap:
Call the new template : sitemaps_xml, and past this code:






[[!getPage:default=`
Problemi nella creazione della sitemap

Contattaci per una consulenza personalizzata

`? &elementClass=`modSnippet` &element=`getResources` &parents=`3,548,158,18,549,441,434` &resources=`27,551,17,19,161,19,161,21,223,552,566,439,440,190` &tpl=`xml_immobili` &depth=`0` &showHidden=`0` &limit=`0` &includeTVs=`1` &processTVs=`0` &includeContent=`1` ]]