Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Sitemaps
DavidK
New
Sitemaps
0
Comments
It's number of discussions that make the difference, I would pause and think hard about it if you had over 10,000 discussions. In that scenario I'd advise you wait for the version that produces static files.
However I do not want to publish that until I have been able to test it.
Does anyone have a forum with, say, 15,000 discussions (some spanning multiple pages)? If you do, and you are willing to beta test this extension, please contact me.
If you were a small site this isn't a bad idea, but as you grow and face multiple sitemap files, gzip'd, and containing 20,000 URLs each... it's hard to imagine that you would want that to be consumed by a human.
We have around 15,000 members in our database, but only around 1500 discussions right now.
We'll probably wait until it's caching to start using it activately...
Thanks mate, great contribution!
Posted: Wednesday, 2 May 2007 at 1:40PM
I can supply you with the version that generates static files if you want.
The full cache version I should have done tomorrow night, and will basically involve you installing the extension and then putting a cron job on your server to generate it daily.
I'm already using the static file version (20k urls per file), and it's very nice at what it does - it's going to hurt peoples head to read the code The caching is a simple method that writes out a sitemaps_index file and uses the timestamp of the file to determine whether or not to generate a new sitemap yet. If it's within 23hrs, it will not generate a sitemap... essentially this means it only gets generated once a day, and if you add a cron job you are in control of the time that it gets generated.
$PostBackAction is supposed to be the variable in the Url that comes through.
You could whisper me the Url to your installation and I'll go look too. A phpinfo() page would be useful too.
Also if you are not on PHP5, then change everywhere there is a date('c'... to date('Y-m-d'...
Other than that, brilliant works really well.
I've been running 0.2 for a while now, so I'll release that later.
Once you've installed and activated the extension, how do you know it's working?
What I gathered from the previous posts is that you're supposed to open a new tab in your browser and cut/paste the following url
http://www.yourdomain.com/extension.php?PostBackAction=sitemap.xml
Then what?
Thanks in advance for your response and help
and thank you for the extension.
I don't understand what you mean when you write
"Edit your robots.txt file to include this line to have your Sitemap auto-discovered:
Sitemap: http://www.yourdomain.com/extension.php?PostBackAction=sitemap.xml"
I'm really sorry for the inconvenience of my questions, I'm really new to all this.
Thank you very much for your help and patience.