Paolo Bru Posted March 8, 2011 Share Posted March 8, 2011 Sperando di fare cosa gradita, condivido una piccola modifica effettuata al modulo Google sitemap 1.7.1Ho aggiunto una funzione al modulo e un file cron.php per poter lanciare la generazione del site map attraverso un cron del server, in modo da rigenerarla in modo regolare, senza che lo debba fare il cliente finale.Configurazione1- Aprire il file /modules/gsitemap/cron.php2- Alla linea 14 impostare una propria chiave di sicurezza3- Aggiungere il seguente comando per lanciare lo script:http://url_shop/modules/gsitemap/cron.php?secure_key=XXXXXXXXXXX dove XXXXXXXXXXX è la parola chiave memorizzata nel file. gsitemap.zip 2 Link to comment Share on other sites More sharing options...
maofree Posted March 8, 2011 Share Posted March 8, 2011 Bravo Paolo B.appena posso lo provo, buona ideaciaooo Link to comment Share on other sites More sharing options...
uddhava Posted March 20, 2011 Share Posted March 20, 2011 Nice addition to the Presto Change Gsitemap module.Remember that the SECRET KEY cannot contain any special URL Characters like %&? etc.So use only Letters and numbers.Short installation doc:* Upload module* Edit /modules/gsitemap/cron.php and insert a new SECRET KEY* Add the following line to your cron (using directadmin/cpanel etc) : wget "http://WEBSITE_URL_HERE/modules/gsitemap/cron.php?secure_key=SECRET-KEY" * Change the text : WEBSITE_URL_HERE to your website urlTest the validity of your url by either pasting it in the address bar (without wget) or from the ssh console (with wget)ys 1 Link to comment Share on other sites More sharing options...
Fabrice Posted April 26, 2011 Share Posted April 26, 2011 Great!thank you guys! :-)that's just what I was looking for.. works perfectly. Link to comment Share on other sites More sharing options...
silencl Posted May 28, 2011 Share Posted May 28, 2011 Fabulous :-) So simple and so great. Thanks for sharing. Link to comment Share on other sites More sharing options...
fitgura Posted July 12, 2011 Share Posted July 12, 2011 It could be great for 1.4.1 but it is not working on our system!we just use the default gsitemap as v.1.6how it could be a 1.7.1????? is this a really different version?????is it compatible with presta 1.4??? Link to comment Share on other sites More sharing options...
Vallo92 Posted July 12, 2011 Share Posted July 12, 2011 Potete speigarmi in modo un po' più semplice la funzione di questo modulo? xD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now