[Mediawiki-l] Problem with GoogleSitemap Script

Adrian Overbury adrian_overbury at iinet.net.au
Sat Mar 4 01:33:30 UTC 2006

That looks like a Unix timestamp, commonly used for simple time 
differentials in PHP.  It's the current date and time as expressed in 
the number of seconds since the Unix Epoch (Midnight, January 1st, 
1970).  I'm not familiar with the script itself, but it looks to me as 
though whichever part of the script is generating the timestamp (with 
the date() command, probably) isn't running it through an interpretation 
string to turn out the correct format of date.


Robert Pfau wrote:
> Hi
> I tried to use the generateSitemap.php script
> It is working, it just gives out the wrong timestamp
> According to Google a timestamp should look like this (ISO8601)
> <lastmod>2004-10-26T08:56:39+00:00</lastmod>
> But it looks like this
> <lastmod>1135341616</lastmod>
> I tried it in an 1.5.4 and in a cvs environment.
> Both times the same result. An obviously correct sitemap with
> wrong timestamps.
> i used this cvs-version
> cvs -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/wikipedia
> checkout -P phase3
> what could it be ? anyone got a similar effect ?
> thanks in advance
> .robert
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list