For example:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.insoler.com/m/news/view/14650596086548</loc>
<lastmod>2018-04-25</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.insoler.com/m/articles/view/13528259079847</loc>
<lastmod>2018-04-25</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
The date of last modification of the file. This date should be in W3C Datetime format. This format allows you to omit the time portion, if desired, and use YYYY-MM-DD.
Note that this tag is separate from the If-Modified-Since (304) header the server can return, and search engines may use the information from both sources differently.
Lastmod's date seems to be the last update date, not all set today? How do modify the bxdolsitemaps.php _getdatetimestamp to fix this problem?
protected function _getDateTimeStamp ($a)
{
if ('datetime' == $this->_aQueryParts['field_date_type'])
return 0 === strncmp('0000-00-00', $a[$this->_aQueryParts['field_date']], 10) ? time() : strtotime($a[$this->_aQueryParts['field_date']]);
else
return 0 == $this->_aQueryParts['field_date'] ? time() : $a[$this->_aQueryParts['field_date']];
}