Community Forums

[Released] google sitemap for generating xml sitemap

Community created contributions & mods for OpenCart 1.x

[Released] google sitemap for generating xml sitemap

Postby genglob » Fri Oct 16, 2009 10:37 pm

Hi Everyone,

Below is an updated google sitemap generator for use with google webmasters tool to generate category, manufacturer, information, category and product sitemap for google indexer. Indeed the same sitemap can be used for Bing and other search engines.

We used it while developing our online store here and found that it was having an error with timestamps. So we updated it to include timestamps.

This if for general community consumption. If you have any questions let me know.

Kind regards,
Genglob Administrator
Attachments
g_sitemap.zip
XML sitemap for google, bing, yahoo and ask.com
(1.42 KiB) Downloaded 590 times
Last edited by i2Paq on Mon Mar 01, 2010 9:18 am, edited 3 times in total.
Reason: Title fixt - Url masked
genglob
 
Posts: 4
Joined: Thu Oct 15, 2009 10:46 am
Location: India, Hong Kong, China, Korea

Re: google sitemap for generating opencart xml sitemap

Postby digitalchaos » Sun Oct 18, 2009 4:20 am

Thanks works great so far!
The most terrifying words in the English language are: I'm from the government and I'm here to help.
Ronald Reagan

Digital Chaos | Graphic Design Studio http://www.digitalchaos.biz
Digital Chaos Prints | Custom Art Prints http://www.digitalchaosprints.biz
User avatar
digitalchaos
 
Posts: 60
Joined: Mon Sep 28, 2009 1:22 pm
Location: Paterson NJ

Re: google sitemap for generating opencart xml sitemap

Postby madany » Sat Oct 31, 2009 12:45 am

what is google sitemap? how to use it?
madany
 
Posts: 25
Joined: Mon Aug 31, 2009 6:03 am

Re: google sitemap for generating opencart xml sitemap

Postby bugsjr » Mon Mar 01, 2010 8:16 am

Thanks! Work's like a charm ;D
bugsjr
 
Posts: 5
Joined: Wed Nov 04, 2009 9:19 pm

Re: [Released] google sitemap for generating xml sitemap

Postby richard211986 » Mon Mar 01, 2010 4:51 pm

@madany - you can use it on google webmaster tools so that google can read your site easier.
richard211986
 
Posts: 130
Joined: Sat Sep 19, 2009 9:34 pm

Re: [Released] google sitemap for generating xml sitemap

Postby Hollow » Tue Mar 02, 2010 1:24 pm

Its work great, but there is one missing. In line 172 & 124 is:
Code: Select all
    echo '<loc>' . $catalog_url .'product/product&amp;product_id='. $product['product_id'] . '</loc>' . "\n";

shoudl be:
Code: Select all
    echo '<loc>' . $catalog_url .'index.php?route=product/product&amp;product_id='. $product['product_id'] . '</loc>' . "\n";
I do not care about my bad English.
User avatar
Hollow
 
Posts: 20
Joined: Mon Feb 08, 2010 2:34 pm
Location: P(r)oland

Re: google sitemap for generating opencart xml sitemap

Postby espc » Tue Mar 02, 2010 5:39 pm

how to use it?
God, give me courage to do what I can,
humility to admit what I can't,
and wisdom to know the difference.

Opencart mods (search suggestions and so on):
viewtopic.php?p=71588#p71588
User avatar
espc
 
Posts: 278
Joined: Thu Dec 03, 2009 4:40 pm

Re: [Released] google sitemap for generating xml sitemap

Postby richard211986 » Tue Mar 02, 2010 6:48 pm

upload to your stores route then go to google webmaster tools and upload your new site map in there i.e. www.yourdomain.com/g_sitemap.php

simples
richard211986
 
Posts: 130
Joined: Sat Sep 19, 2009 9:34 pm

Re: [Released] google sitemap for generating xml sitemap

Postby Somsak2004 » Thu Mar 04, 2010 3:20 pm

I make this Topic in
http://www.opencart.com/index.php?route ... ion_id=459

Thank!

next time to make module now i busy.
Somsak2004
 
Posts: 43
Joined: Sun Jan 24, 2010 12:28 pm

Re: [Released] google sitemap for generating xml sitemap

Postby takayuki » Mon Apr 05, 2010 3:29 am

genglob wrote:...Below is an updated google sitemap generator for use with google webmasters tool to generate category, manufacturer, information, category and product sitemap for google indexer. Indeed the same sitemap can be used for Bing and other search engines.....


Hi,

I just plop it into the root dir, correct?

I notice in firefox it outputs the raw xml code, not parsed by the browser. this is correct?

I'm using it with ocv 1.3.2 and seems to work fine. have you had any issues with older versions?

thanks for creating this sitemap generator!

regards,

takayuki
takayuki
 
Posts: 15
Joined: Thu Aug 13, 2009 2:16 pm

Re: [Released] google sitemap for generating xml sitemap

Postby techie09 » Thu Apr 15, 2010 10:54 pm

Hi

Getting a few errors when google tries indexing g_sitemap as shown, mosty URL tag errors, new to php, so any help appreciated.



24 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: br
Problem detected on: Apr 15, 2010
25 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: b
Problem detected on: Apr 15, 2010
25 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: b
Problem detected on: Apr 15, 2010
25 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: b
Problem detected on: Apr 15, 2010
25 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: br


Thanks
techie09
 
Posts: 1
Joined: Thu Apr 15, 2010 10:36 pm

Re: [Released] google sitemap for generating xml sitemap

Postby whitecollar » Tue Apr 20, 2010 8:47 am

Yes I get some of the same errors ... does anyone have any idea?

I'm using OC 1.3.2

Thank you.
whitecollar
 
Posts: 28
Joined: Wed Sep 09, 2009 2:31 pm

Re: [Released] google sitemap for generating xml sitemap

Postby dramony » Tue Apr 20, 2010 9:24 am

same on my end
User avatar
dramony
 
Posts: 179
Joined: Sat Oct 24, 2009 4:34 am


Return to Contributions

Who is online

Users browsing this forum: Alexa [Bot], Ask Jeeves [Bot], Daniel, dramony, hdg, panzerknacker and 10 guests