Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2005-09-01 15:27:03

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

I updated the download above with very minor changes (added schema for validation, removed double slash, corrected url for sections). I haven’t yet tested it, but it’s probably still an improvement on the older download.

@playpiggy: that date looks valid to me. Maybe the date itself was wrong (in the future?), I don’t really have the time to look at this, if anybody has an idea, let me know.

Offline

#26 2005-09-01 16:09:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Hi sencer,

Dates in my site map look like this <code><lastmod>2005-05-05T01:21:05-07:00</lastmod></code>
Dates as required from <a href=“https://www.google.com/webmasters/sitemaps/docs/en/protocol.html#faq_specifying_time”>google</a> look like this
2004-09-22T14:12:14+00:00.

the visible difference is that we have a dash

and they have a plus sign.

Admitedly the link above from w3.org (also provided by google in the link that I have in this post) has the format that you authored…

It’s a long shot but what if the – is replaced with a +

Last edited by colak (2005-09-01 16:11:12)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#27 2005-09-01 16:13:22

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

My guess (without looking) is that it’s adding the global var $timeoffset from your prefs, which will be a negative value if you are in timezones west of UTC, resulting in a minus-sign. Best bet would be to modify the plugin to not change the time based on your timeoffset and just always serve up as UTC.

Offline

#28 2005-09-01 18:14:45

playpiggy
Member
From: Changchun, China
Registered: 2004-11-23
Posts: 55

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

It looks like google doesn’t support the format like <code>2005-09-01T01:07:39+08:00</code>.
It should be <code>2005-09-01T01:07:39</code> or <code>2005-09-01T01:07:39+00:00</code>.


Welcome to the REAL World…

Offline

#29 2005-09-14 20:51:13

richards
Member
From: Johnson City, TN
Registered: 2005-01-30
Posts: 10
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Thanks Sencer, you rock!

Offline

#30 2005-09-18 17:16:47

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Thanks richard.

Just a quick update: I have not gotten any errors with the google-validation with the current version. Anybody else still having problems?

Offline

#31 2005-09-20 12:52:33

davidraine
Member
Registered: 2005-08-25
Posts: 15

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

In testing with it now (BST, GMT+1), submitted to google OK, no problems whatsoever. Excellent, thank you!

Offline

#32 2005-10-05 20:49:11

kharr
New Member
From: North America
Registered: 2005-10-05
Posts: 5
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Spencer, just wanted to say “thanks”. It works like a champ.

For anyone else just installing this plug-in, just remember to create a file called “sitemap.xml.gz” in your root directory and chmod it to 666 before using.


[url=http://mesothelioma-cancer-info.us]Mesothelioma Information[/url] | [url=http://weddings-r-us.com]Weddings-R-Us[/url] | [url=http://offshore-service.us]Offshore Services[/url]

Offline

#33 2005-11-13 16:58:29

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

I’m having problem with the invalid date:

Sitemap Errors:
Invalid date (Line 27)

I’m using TXP 4.0.2 / time zone GMT +02:00. Anyone else still having this problem?

Offline

#34 2005-11-14 05:53:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

> Jaro wrote:

> I’m having problem with the invalid date:

Sitemap Errors:
Invalid date (Line 27)

I’m using TXP 4.0.2 / time zone GMT +02:00. Anyone else still having this problem?

same here


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#35 2005-11-14 10:28:54

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Are you using the latest version? I did make some fixes and have not had a validation error in months now.

My dates look like this:
<lastmod>2005-11-09T13:14:53+01:00</lastmod>

and are valid. Please post the exact offending lines here (and take into account that the one sitting on your site, may not be the same as the one google downloaded – so check when there is little happening).

Offline

#36 2005-11-14 11:38:28

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Sencer, I’m using that latest version (1. September) unless there is a newer one I don’t know about.

I’m not sure what exactly you mean by ‘post exact offending lines here’. I’m guessing you want to see the line from sitemap.xml.gz file? If so here it is, line number 27:

<lastmod>2005-11-12T09:16:22-08:00</lastmod>

If you mean something else please let me know.

Thank you!

Offline

Board footer

Powered by FluxBB