ElkArte Community

General => Chit Chat => Topic started by: Vekseid on January 28, 2016, 08:25:42 am

Title: I've ported my own Google Sitemap generator to Elkarte
Post by: Vekseid on January 28, 2016, 08:25:42 am
https://github.com/Vekseid/ElkMapGen

This is a lot more involved than kode54's, as the idea was to grab all publicly visible pages - now closing in on 200,000 - and let Google know, with page weight recommendations based on the importance/transience of the boards, whether topics were sticky, etc.

The main drawback is that this doesn't really work with pretty urls.
Title: Re: I've ported my own Google Sitemap generator to Elkarte
Post by: Spuds on January 28, 2016, 10:12:02 am
That is very cool !

I like how you set up the weights based on the boards etc.   Might be fun to use that code as a base and write a little wrapper to generate the "config", so to speak.

Title: Re: I've ported my own Google Sitemap generator to Elkarte
Post by: Vekseid on January 29, 2016, 08:21:48 am
With the fastcgi exit function getting called on scheduled tasks, there's no particular reason not to straight up integrate this into the core code. It's just quite a few settings.
Title: Re: I've ported my own Google Sitemap generator to Elkarte
Post by: radu81 on November 07, 2017, 05:38:53 pm
@Vekseid‍ is it possible to have more info on how to use this "addon". I'd like to use it on my forum, thank you
Title: Re: I've ported my own Google Sitemap generator to Elkarte
Post by: Frenzie on November 08, 2017, 07:09:13 am
@radu81 I think these (https://github.com/Vekseid/ElkMapGen/blob/4817a220039a1c75daca2f6552cc2b5b5639e2ec/elkmapgen.php#L10-L26) as the instructions?
Title: Re: I've ported my own Google Sitemap generator to Elkarte
Post by: Frenzie on November 08, 2017, 11:28:32 am
@derived Hear, hear! But I assume that's supposed to go into https://www.elkarte.net/community/index.php?topic=4745.0