/var/lib/gitea/custom/sitemap.xml` * * Builds according to https://www.sitemaps.org/protocol.html */ /* Globals */ $path="/srv/http/aninix.net/"; echo ' '; exec("(echo /srv/http/aninix.net/index.php; find /srv/http/aninix.net/pages -type f; find /srv/http/aninix.net/martialarts/ -type f) | grep -E \.php\$ | grep -vE ^./unlisted\|^./errors/\|head.php\|foot.php\|test\|Template\|darknet", $output); foreach ($output as &$file) { echo ' '; echo ' https://aninix.net/'.substr($file,strlen($path)).' '; echo ' '.date('Y-m-d',filemtime($file)).' '; echo ' '; } /* Print footer */ echo ' '; ?>