Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-08-09 15:56:24

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

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

No, as I have written in the post just above yours this is due to a change in the code following rev403 (that is RC4, RC5 etc.):

rev.403 changed the “hu” constant. Therefore it is currently not advised to use this plugin with rev403 or newer. The change is very little, and I will update the plugin shortly…

So if you did that change manually – which is not hard – you can keep using it. Don’t worry you haven’t done anything wrong.

Offline

#17 2005-08-09 16:04:18

kaline
Member
From: Plymouth, MN
Registered: 2005-07-18
Posts: 38
Website

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

Ahhh…ok. Thanks for the reply. It seems to be working fine now so I’ll leave it alone.

Thanks for the plug-in, it’s made life easier for me.

Offline

#18 2005-08-12 16:42:44

jiraiya
Member
Registered: 2005-05-15
Posts: 13

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

I’m using RC5.

between the “loc” the urls have an extra “/” after the site url.

For example: “http://www.example.com//section/ID/article-name”

Offline

#19 2005-08-12 17:05:40

kaline
Member
From: Plymouth, MN
Registered: 2005-07-18
Posts: 38
Website

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

Yup. The extra / is what we’re talking about. Just change the code as I mentioned above and it will fix this.

Offline

#20 2005-08-12 22:15:15

jiraiya
Member
Registered: 2005-05-15
Posts: 13

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

oo thanks, I should have read more carefully. :)

Offline

#21 2005-08-31 19:34:21

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

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

Why my “Sitemap Status” returns “Invalid date”?
Here is my sitemap.


Welcome to the REAL World…

Offline

#22 2005-09-01 07:21:15

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

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

> playpiggy wrote:

> Why my “Sitemap Status” returns “Invalid date”?
Here is my sitemap.

confirming playpiggy’s observation for my site too

http://neme.org/main/sitemap.xml.gz


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

Offline

#23 2005-09-01 11:18:17

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

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

hi, google sitemaps is beta. could you please post also your settings for the sitemap, because my sitemap has an ok. my settings are:

Section Change Frequency: daily
Article Change Frequency (Default): weekly
Article Change Frequency (if last modified date of article older than 30 days): yearly


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

#24 2005-09-01 13:54:31

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

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

I use the default settings too.

Section Change Frequency: daily
Article Change Frequency (Default): weekly
Article Change Frequency (if last modified date of article older than 30 days): yearly

Google told me that Sitemap Errors: Invalid date (Line 16), and it is <code><lastmod>2005-09-01T01:07:39+08:00</lastmod></code>.


Welcome to the REAL World…

Offline

#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,388
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

Board footer

Powered by FluxBB