Zen Cart Logo

SitemapXML v.2

Views: 613,591

Results 1,121 to 1,140 of 2,226
13 Dec 2012, 9:07 AM
#1121
nuganics avatar

nuganics

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

SitemapXML v.2

Hi Andrew,
Thanks for the reply. I don't use SEO URL/image urls or IH. It does about 16,000 urls but that is about half. Maybe have a option to split sitemap into 10,000 urls then it reloads to avoid the timeout or maybe use the code in big dump http://www.ozerov.de/bigdump/ that breaks it into parts on the file and reloads so timeouts can be avoided. It won't put as much stress on larger servers also as I guess some people run the cron frequently. I can't really afford to upgrade again so would a donation help to get this feature added and if so how much?
Kind regards
Tim

13 Dec 2012, 10:06 AM
#1122
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 Tim,

nuganics:

It does about 16,000 urls but that is about half. Maybe have a option to split sitemap into 10,000 urls then it reloads to avoid the timeout
No, and not planned - a big store requires a lot of resources, a powerful server that sitemap is working properly. You - the first who tells me about such problems.
There were problems with memory allocation for a large number of goods. To solve this problem was added option Check Dublicates. Try to set it:
Check Dublicates = mysql

nuganics:

It won't put as much stress on larger servers also as I guess some people run the cron frequently.
It makes no sense to frequently update sitemap by cron. Just once, at night.

13 Dec 2012, 6:28 PM
#1123
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: SitemapXML v.2

After a bit of trial and error, and a post to a Linux forum, I have the answer to the failed cron command. Apparaently it was as simple as removing the double quotes (") that Godaddy says to use in a cron command. The correct command is:

/web/cgi-bin/php5 /[path to home]/cgi-bin/sitemapxml.php rebuild=yes ping=yes token=xxxxx

Person who helped me on the Linux Forum didn't know this script, or that I was using Godaddy. They just knew what they were doing a little more than some other people.:P

14 Dec 2012, 3:18 AM
#1124
nuganics avatar

nuganics

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Re: SitemapXML v.2

Hi Andrew,
I tried mysql for duplicates and turning it to false but no luck. I decided to time a forced sitemap and the script seems to stop after about 8 seconds. I guess there is mysql limits (connection time and memory) that I am reaching. I don't have access to change these. I'll think i'll stick with the products I have in the sitemap and save up for a vps.

Cheers
Tim

14 Dec 2012, 10:30 PM
#1125
nuganics avatar

nuganics

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Re: SitemapXML v.2

Hi Andrew,
I installed Xampp locally and imported the database. I then find and replace localhost with my url and ftp up the xml. Worked great.

Cheers
Tim

15 Dec 2012, 10:42 AM
#1126
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 Tim,

nuganics:

I guess there is mysql limits (connection time and memory) that I am reaching. I don't have access to change these. I'll think i'll stick with the products I have in the sitemap and save up for a vps.
I am afraid that these limitations would not run the store in full force.

17 Dec 2012, 9:51 PM
#1127
curlydan avatar

curlydan

New Zenner

Join Date:
Dec 2012
Posts:
14
Plugin Contributions:
0

Re: SitemapXML v.2

a_berezin:

Hi Tim,

I am afraid that these limitations would not run the store in full force.

I wanted to ask a newbie question.

I was following the instructions for install and now am stuck on this part. I am running 1.5.0, but do not know what 5.1 instructions mean.

Install:

  1. BACK UP your database & store.
  2. Unzip the SitemapXML package to your local hard drive, retaining the folder structure.
  3. Rename the "YOUR_Admin" folder in the "sitemapXML" folder to match the name of your admin folder.
    sitemapXML/YOUR_Admin/
  4. Upload the files from "sitemapXML" to the root of your store. (DO NOT upload the "sitemapXML" folder, just the CONTENTS of this folder
    (copy ALL of the add-on files to your store!! Most issues are caused by store owners who decide to NOT load ALL of the module files)
  5. Set permissions on the directory /sitemap/ to 777.
    5.1. IF your are running Zen-Cart 1.5.x. Run install-sitemapxml_only_for_zen-cart-1_5_0.sql (If you are running Zen Cart 1.3.9, SKIP THIS STEP!)
    5.2. If you are using Admin Profiles contribution you need to set the SitemapXML plugin Admin page permission. Go to Tools -> Admin Settings -> Permissions Button and put a checkmark at SitemapXML plugin.

How do I "run" Run install-sitemapxml_only_for_zen-cart-1_5_0.sql?

17 Dec 2012, 9:54 PM
#1128
curlydan avatar

curlydan

New Zenner

Join Date:
Dec 2012
Posts:
14
Plugin Contributions:
0

Re: SitemapXML v.2

I do not know what the 5.2 instructions are referring to either.

Thanks

18 Dec 2012, 6:38 AM
#1129
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

curlydan:

How do I "run" Run install-sitemapxml_only_for_zen-cart-1_5_0.sql?
Goto Admin - Tools - Install SQL Patches
Copy and paste content of the install-sitemapxml_only_for_zen-cart-1_5_0.sql and click Send.

18 Dec 2012, 11:40 PM
#1130
curlydan avatar

curlydan

New Zenner

Join Date:
Dec 2012
Posts:
14
Plugin Contributions:
0

Re: SitemapXML v.2

a_berezin:

Goto Admin - Tools - Install SQL Patches
Copy and paste content of the install-sitemapxml_only_for_zen-cart-1_5_0.sql and click Send.

Hello,

So I did as you instructed. How do I know if I am "using Admin Profiles contribution"?

I am in my zc admin area, and under tools, I cannot find admin settings, as 5.2 instruction says...
I also cannot find sitemap XML under the tools section, as instruction 6 says.

I have already followed all the instructions from 1-5.1 as discussed above. What am I missing?

Thanks

5.2. If you are using Admin Profiles contribution you need to set the SitemapXML plugin Admin page permission. Go to Tools -> Admin Settings -> Permissions Button and put a checkmark at SitemapXML plugin.
6. Go to Admin -> Tools -> Sitemap XML and click "Install SitemapXML SQL".
7. Go to Admin -> Configuration -> Sitemap XML and setup all parameters.
8. Go to Admin -> Tools -> Google XML Sitemap (If error messages occur, change permissions on the XML files to 777).
9. To have this update and automatically notify Google, you will need to set up a Cron job via your host's control panel.
10. For Zen-Cart version 1.3.9f and earlier. Edit file includes/.htaccess:
Find
<FilesMatch "..(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">
Replace by
<FilesMatch ".
.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">

19 Dec 2012, 6:52 AM
#1131
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

curlydan:

How do I know if I am "using Admin Profiles contribution"?
Well, you know what you did, what modules are installed, the modules using. Or not?
If you install this module - then you use it. If you did not install - you do not use.

curlydan:

I also cannot find sitemap XML under the tools section, as instruction 6 says.
Do not know what to tell, never encountered such a problem. Maybe check out the user profile?

19 Dec 2012, 10:04 PM
#1132
curlydan avatar

curlydan

New Zenner

Join Date:
Dec 2012
Posts:
14
Plugin Contributions:
0

Re: SitemapXML v.2

a_berezin:

Well, you know what you did, what modules are installed, the modules using. Or not?
If you install this module - then you use it. If you did not install - you do not use.

Do not know what to tell, never encountered such a problem. Maybe check out the user profile?

Hello,

So I reinstalled and now I have gotten to step 7. I am looking at this large list under "Sitemap XML" configuration, and do not know what any of these mean. How should I configure it?

Also under step 8, I cannot find Google XML Sitemap. The only new option I have is sitemapXML. Did I miss a file again to not have the "google XML sitemap" option?

  1. BACK UP your database & store.
  2. Unzip the SitemapXML package to your local hard drive, retaining the folder structure.
  3. Rename the "YOUR_Admin" folder in the "sitemapXML" folder to match the name of your admin folder.
    sitemapXML/YOUR_Admin/
  4. Upload the files from "sitemapXML" to the root of your store. (DO NOT upload the "sitemapXML" folder, just the CONTENTS of this folder
    (copy ALL of the add-on files to your store!! Most issues are caused by store owners who decide to NOT load ALL of the module files)
  5. Set permissions on the directory /sitemap/ to 777.
    5.1. IF your are running Zen-Cart 1.5.x. Run install-sitemapxml_only_for_zen-cart-1_5_0.sql (If you are running Zen Cart 1.3.9, SKIP THIS STEP!)
    5.2. If you are using Admin Profiles contribution you need to set the SitemapXML plugin Admin page permission. Go to Tools -> Admin Settings -> Permissions Button and put a checkmark at SitemapXML plugin.
  6. Go to Admin -> Tools -> Sitemap XML and click "Install SitemapXML SQL".
  7. Go to Admin -> Configuration -> Sitemap XML and setup all parameters.
  8. Go to Admin -> Tools -> Google XML Sitemap (If error messages occur, change permissions on the XML files to 777).
  9. To have this update and automatically notify Google, you will need to set up a Cron job via your host's control panel.
  10. For Zen-Cart version 1.3.9f and earlier. Edit file includes/.htaccess:
    Find
    <FilesMatch "..(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">
    Replace by
    <FilesMatch ".
    .(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">
20 Dec 2012, 12:24 AM
#1133
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

curlydan:

I am looking at this large list under "Sitemap XML" configuration, and do not know what any of these mean. How should I configure it?
Leave as is. Later, read the description of each item, if suddenly you might be interested.

curlydan:

Also under step 8, I cannot find Google XML Sitemap. The only new option I have is sitemapXML. Did I miss a file again to not have the "google XML sitemap" option?
This is a typo - instead of "Google XML Sitemap" read "sitemapXML".

29 Dec 2012, 7:04 PM
#1134
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: SitemapXML v.2

Well I rechecked everything, however for:

http://www.mydomain.com/index.php?main_page=sitemapxml&inline=yes

I get the error:
"
XML Parsing Error: no element found
Location: http://www.mydomain.com/index.php?main_page=sitemapxml&inline=yes
Line Number 1, Column 1:
"

==Where could I be wrong ??

Urls that work for me:

http://mydomain.com/index.php?main_page=sitemapxml
http://www.mydomain.com/sitemap.xml

I have now submitted the below to google webmasters:
http://www.mydomain.com/sitemap.xml

The above does work.

What is the inline thing and is it required as in the readme file.

Obv mydomain is replaced by our actual domain.

Any help please ?

31 Dec 2012, 9:02 AM
#1135
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

harry2cool:

Well I rechecked everything, however for:

http://www.mydomain.com/index.php?main_page=sitemapxml&inline=yes

I get the error:
"
XML Parsing Error: no element found
Location: http://www.mydomain.com/index.php?main_page=sitemapxml&inline=yes
Line Number 1, Column 1:
"

==Where could I be wrong ??
This is a bug. It will be fixed in the next version.

2 Jan 2013, 7:51 PM
#1136
top_hatt avatar

top_hatt

Zen Follower

Join Date:
Feb 2010
Posts:
237
Plugin Contributions:
0

Re: SitemapXML v.2

Hi:

I have installed the sitemapxml addon and have a question. I am using 1.5.0.

If I use a cron job to update and ping every day do I need to add the sitemap to the robots.txt file also?

Dave

2 Jan 2013, 10:51 PM
#1137
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 Dave,

top hatt:

Hi:

I have installed the sitemapxml addon and have a question. I am using 1.5.0.

If I use a cron job to update and ping every day do I need to add the sitemap to the robots.txt file also?

Dave
All this is not necessary, it helps a little robots.

If you add an address to the sitemap to robots.txt, then it will find all of the search engine spiders.

If you are new daily sitemap, sitemap is always relevant, and all robots will be able to obtain relevant information.

If you ping the search engine changes in the sitemap xml, it can be, if you are very important to him, will take into account these changes and upload them is the planned bypass site. Which I doubt it.

6 Jan 2013, 9:48 AM
#1138
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: SitemapXML v.2

Hi, Andrew,

that's a great mod, and so appreicated!

there is one question. is it possible to change priority for categories, or produtcts?
OR possible to keep same priority for category, and same priority for products?
e.x. 0.8 for all categories, and 0.5 for all procuts.

your suggestion would be highly appreciated.:smile:

6 Jan 2013, 10:59 AM
#1139
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,

Jerry5763837:

is it possible to change priority for categories, or produtcts?
No.

Jerry5763837:

OR possible to keep same priority for category, and same priority for products?
e.x. 0.8 for all categories, and 0.5 for all procuts.

  1. You can not do the same priority - Google sees this as a bug.
  2. Do not assume that this tag is so important.
15 Jan 2013, 2:29 AM
#1140
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: SitemapXML v.2

I just ran a check on my site map using http://validator.w3.org it came up with the following:

Missing "charset" attribute for "text/xml" document.

The detected character encoding "us-ascii" has been suppressed and "utf-8" used instead.

No DOCTYPE found! Checking XML syntax only.

As a result of those errors(?) it said:

The document located at <https://www.fantasycostume.com/sitemap/sitemapproducts.xml> was tentatively checked as XML. This means that with the use of some fallback or override mechanism, we successfully performed a formal validation of it. In other words, the document would validate as XML if you changed the markup to match the changes we have performed automatically, but it will not be valid until you make these changes. The parser implementations we used for this check are based on OpenSP (SGML/XML) and libxml2 (XML).

Can we get that info into the sitemap that Sitemap XML generates?

MRusty