Forums / Cotonti / Extensions / Sitemaps!

I think we really really need to improve and fix this...

Lombi
#1 2008-12-17 02:58
I think we really really need to improve and fix this part of the engine. For instance what we have now is tefra's sitemap tool which does an okay job.

Problem 1 is that it's saving sitemaps as weird files, which dont get accessed automatically.

So these should also be accessed by sitemap.xml (unzipped, could even be generated on the fly) and sitemap.xml.gz (this one gzipped obviously)

also http://www.sitemaps.org/protocol.php#location states that we can show the location of the sitemap file inside of robots.txt which is cool

Last thing we need to do is update the sed_url inside of the sitemaps generator so it makes proper urls.
<a href="http://www.domenlo.com">Surreal Art</a>
Trustmaster
#2 2008-12-17 15:33
Tefra's Sitemap is proprietary code we can't use in our Repo. We need a different plugin.
May the Source be with you!
Lombi
#3 2008-12-17 18:42
Well it's quite simple to make one that generates pages live - all we ahve to do is make a template and a select, then echo each page via this template into the file.

Afterwards we could even gzip it and we have both handy.

Tefra's plug has a lot of unneeded bulk that we could add much much later, for the moment we just need a working sitemap that answers to sitemap.xml and sitemap.xml.gz
<a href="http://www.domenlo.com">Surreal Art</a>