Forums | Mahara Community

Open Discussion /
Google Sitemaps


anonymous profile picture
Account deleted
Posts: 2

04 December 2009, 15:47

I've put together a .php script that will automatically generate a Google Sitemap (sitemap.xml) that will create entries for the site content (home, loggedouthome, about and so on) as well as publicy available views. It gets called on the hour via a cron job and curl. I just need to tidy up the sql and date checking routines. I also use a cron job to have Google download the new sitemap.xml. Works well - 

Is there some interest for the .php file - lemme know and I'll tidy the file up a bit and add some comments to help get it set up and running.

anonymous profile picture
Account deleted
Posts: 6

05 December 2009, 7:26

Hi!

i'm very interested...Could me put some examples of  php code?

 Thanks!

 

Nicola Fiori

2 results