Zen Cart Logo

SitemapXML v.2

Views: 613,227

Results 161 to 180 of 2,226
3 Jul 2009, 4:37 AM
#161
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

SitemapXML v.2

@ckosloff - A link to a Yahoo page explaining more in detail to apply the fix you discovered, would be appreciated. :smile:

3 Jul 2009, 1:10 PM
#162
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

Website Rob:

@ckosloff - A link to a Yahoo page explaining more in detail to apply the fix you discovered, would be appreciated. :smile:
You are right, I was in a hurry, will post in a moment.
HOWEVER...the damn thing is back where it was.
Cron reported same error.
Anybody else having problems with Yahoo??

https://siteexplorer.search.yahoo.com/mysites
Go here and click on the site you wish to authenticate.
You need to create an account with Yahoo first.

3 Jul 2009, 1:25 PM
#163
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

And you paste the meta tag here:
includes/templates/CUSTOM/common/html_header.php

4 Jul 2009, 12:47 PM
#164
karmacharms avatar

karmacharms

New Zenner

Join Date:
Apr 2007
Posts:
36
Plugin Contributions:
0

Re: SitemapXML v.2

Can someone please tell me why my sitemap is empty?

After I hit generate sitemap under tools, this is what I get:

SiteMapXML (v 2.1.0 30.04.2009 10:35)

Categories Sitemap

"sitemapcategories.xml.gz" have not changed - using existing file(s)
Ezpages Sitemap

File http://www.karma-charms.com/sitemapezpages.xml.gz. Written 8 items (1538 bytes), Filesize: 459 bytes
Total: files 1, items 8 (1547 bytes).
Products Sitemap

"sitemapproducts.xml.gz" have not changed - using existing file(s)
Reviews Sitemap

File http://www.karma-charms.com/sitemapreviews.xml.gz. Written 0 items (0 bytes), Filesize: 26 bytes
Sitemap Index

URL - http://www.karma-charms.com/sitemapindex.xml
Written 0 items (478 bytes), Filesize: 478 bytes
Total Execution Time 0:0.0215

4 Jul 2009, 4:24 PM
#165
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

KarmaCharms:

After I hit generate sitemap under tools, this is what I get:
Probably you don't have any reviews.
Also, why the gz extension?

4 Jul 2009, 4:44 PM
#166
karmacharms avatar

karmacharms

New Zenner

Join Date:
Apr 2007
Posts:
36
Plugin Contributions:
0

Re: SitemapXML v.2

What do the reviews have to do with it saying I don't have any products?

The gz I set up in the config, for compressing the files. Should I not?

5 Jul 2009, 4:40 AM
#167
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

KarmaCharms:

The gz I set up in the config, for compressing the files. Should I not?
Trying to help and still waiting for answers to my own problems.
You mean that sitemapproducts.xml is not being generated.
I would first check if all the files are loaded in correct locations.
Unless you have huge files, gz is not needed, but it shouldn't be the cause of your problems.

5 Jul 2009, 10:14 AM
#168
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

KarmaCharms:

Can someone please tell me why my sitemap is empty?
Wow! Typo in file includes/classes/sitemapxml.php
To fix it find:

      $pattern = '/^' . $this->filename . '.*(\.xml' . (SITEMAPXML_COMPRESS != 'true' ? '|\.xml\.gz' : '') . ')$/';

and replace by

      $pattern = '/^' . $this->filename . '.*(\.xml' . (SITEMAPXML_COMPRESS == 'true' ? '|\.xml\.gz' : '') . ')$/';
5 Jul 2009, 11:39 AM
#169
karmacharms avatar

karmacharms

New Zenner

Join Date:
Apr 2007
Posts:
36
Plugin Contributions:
0

Re: SitemapXML v.2

Thanks! That seemed to help.... but now I get this:

cURL Error: Error http_code "403" reading "http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http%3A%2F%2Fwww.karma-charms.com%2Fsitemapindex.xml"

Also why is it still saying > Products Sitemap

"sitemapproducts.xml" have not changed - using existing file(s)

even though I just added a new product..... and the products ARE showing in the list....

5 Jul 2009, 4:09 PM
#170
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

Today I got this, for unknown reasons

Ping Yahoo!

http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http://www.ladywig.com/sitemapindex.xml Update notification has successfully submitted.

I have already entered the fix published by a_berezin.
However, this Yahoo notification was previous to that, so unrelated.
Anyway, my files were never compressed, so the fix wouldn't affect the ping.
Actually, it is quite easy to understand the fix:
$pattern = '/^' . $this->filename . '.*(.xml' . (SITEMAPXML_COMPRESS == 'true' ? '|.xml.gz' : '') . ')$/';
Basically this is saying: if sitemap files are compressed, then extension .gz.
Before it was the opposite.
I also have to note that I hard-coded the variable %s, I typed the whole URL there, only for Yahoo, in the Config for Sitemap XML.
That was not fixing it either, so I will test in the following days with the variable back.
Bottom line, I have no idea why this is/was happening, I posted to Yahoo dev forums to no avail.
Maybe the new authentication process solved it?
Maybe Yahoo changed something on their end?
Mystery...

6 Jul 2009, 5:10 AM
#171
thatglenn avatar

thatglenn

New Zenner

Join Date:
Jun 2009
Location:
England, United Kingdom
Posts:
8
Plugin Contributions:
0

Re: SitemapXML v.2

ckosloff:

You are right, I was in a hurry, will post in a moment.
HOWEVER...the damn thing is back where it was.
Cron reported same error.
Anybody else having problems with Yahoo??

https://siteexplorer.search.yahoo.com/mysites
Go here and click on the site you wish to authenticate.
You need to create an account with Yahoo first.

Yes I have the same error in my sitemapxml v.2 ping build notification pop up.
No idea why it started now. It was working ok 3 days ago and broke around the same time as yours, so I guess it is likely to be a Yahoo issue.:unsure:

6 Jul 2009, 2:51 PM
#172
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

Regarding this pesky Yahoo thing, I have been giving it some thought.
First, let me say that it is happy for me now, and I have the %s back in there.
So, whether you use the variable or not should not make a difference.
A 403 error means the server is denying access, it is basically saying "forbidden", therefore a full authentication process should fix this, since they want to verify that the owner of the site is pinging and not someone else, possibly to prevent DoS attacks.
Also, you do have to update your sitemap before pinging.
If manually you hit repeatedly step 2 in Tools -> Sitemap XML, Yahoo will throw the damn error, the other SE will not complain.
But, if you hit step 1 first and then step 2, it will be happy.
I have my cron set to do this automatically, according to instructions, so it is happy now.
I think I got the error back because that day I was testing the thing a lot, and missing step 1.
I think Yahoo got burned since the last DoS attack and are now overly cautious.
For the moment, I would say that the fix is authentication + updating.
Hopefully.

6 Jul 2009, 8:51 PM
#173
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

Hi ckosloff,
Excellent explanation!

7 Jul 2009, 1:20 AM
#174
junzilang avatar

junzilang

New Zenner

Join Date:
Feb 2009
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

anyone can help? I installed it, but can not see Admin->Tools>Google XML Sitemap..................? how to fix it ?

7 Jul 2009, 1:55 AM
#175
junzilang avatar

junzilang

New Zenner

Join Date:
Feb 2009
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

Junzilang:

anyone can help? I installed it, but can not see Admin->Tools>Google XML Sitemap..................? how to fix it ?

And I have copied all files to correct position, tried 2 times, and ran the .sql file, still can not see it. hope some could tell me how to fix it? thank u very much

7 Jul 2009, 3:18 AM
#176
junzilang avatar

junzilang

New Zenner

Join Date:
Feb 2009
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

Junzilang:

And I have copied all files to correct position, tried 2 times, and ran the .sql file, still can not see it. hope some could tell me how to fix it? thank u very much

I have fixed this problem, due to I changed my admin folder name, so the files did not copy to the corresponding position...........so just need copy the files to my currently "xxxadminxxx""

7 Jul 2009, 10:35 AM
#177
shoesbuyonline avatar

shoesbuyonline

New Zenner

Join Date:
May 2009
Posts:
78
Plugin Contributions:
0

Re: SitemapXML v.2

ckosloff:

Regarding this pesky Yahoo thing, I have been giving it some thought.
First, let me say that it is happy for me now, and I have the %s back in there.
So, whether you use the variable or not should not make a difference.
A 403 error means the server is denying access, it is basically saying "forbidden", therefore a full authentication process should fix this, since they want to verify that the owner of the site is pinging and not someone else, possibly to prevent DoS attacks.
Also, you do have to update your sitemap before pinging.
If manually you hit repeatedly step 2 in Tools -> Sitemap XML, Yahoo will throw the damn error, the other SE will not complain.
But, if you hit step 1 first and then step 2, it will be happy.
I have my cron set to do this automatically, according to instructions, so it is happy now.
I think I got the error back because that day I was testing the thing a lot, and missing step 1.
I think Yahoo got burned since the last DoS attack and are now overly cautious.
For the moment, I would say that the fix is authentication + updating.
Hopefully.

Hi, ckosloff

Thanks for your useful explanation! I would like to remember:
But, if you hit step 1 first and then step 2, it will be happy.
I have my cron set to do this automatically, according to instructions, so it is happy now.

Nice job,

8 Jul 2009, 1:55 PM
#179
igrossiter avatar

igrossiter

New Zenner

Join Date:
Feb 2009
Location:
Brazil
Posts:
43
Plugin Contributions:
1

Re: SitemapXML v.2

The problem is resolved now, just needed a little time to change.

Thank you

12 Jul 2009, 5:47 AM
#180
buymemoryhk avatar

buymemoryhk

New Zenner

Join Date:
Jul 2009
Posts:
4
Plugin Contributions:
0

Re: SitemapXML v.2

After I install sitmapxml

When I click step 1 to generate sitemap, it show screen like this

Then I check the xml file, nothing at file like this:

Why ? Can anyone help sort it out ? Thanks