Google Sitemap Generator

[quote name=‘Zyles’]I’m a legend[/QUOTE]



I agree Zyles, will implement this tonight :):):):slight_smile:

[quote name=‘JesseLeeStringer’]I agree Zyles, will implement this tonight :):):):)[/QUOTE]



Haha, thanks.

Hallo to all…I think I know the answer but it’s getting late and I would appreciate your expertise on this issue. I have followed all the procedures to make the sitemap and this is what I got, which I think should be OK.



[COLOR=“Red”]





http://www.e-garment.gr/eshop

2006-12-18

daily

1.0











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=166[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=167[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=168[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=169[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=170[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=165[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=178[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=172[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=173[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=174[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=175[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=179[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=171[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=176[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=categories&category_id=177[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=products&product_id=29778[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=products&product_id=29779[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=products&product_id=29780[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=products&product_id=29781[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=products&product_id=29782[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=products&product_id=29783[/url]



2006-12-18

daily

0.5











[url]http://www.e-garment.gr/eshop/index.php?target=products&product_id=29784[/url]



2006-12-18

daily

0.5



[/COLOR]













The problem is that I keep getting this error from Google and only this error.

[COLOR=“Red”] Line:3

URL not allowed

This url is not allowed for a Sitemap at this location. [/COLOR]



I am using [url]http://www.e-garment/eshop/[/url] as the site and I have submited

[url]http://www.e-garment.gr/eshop/index.php?target=google_sitemap[/url]

Does it work ok and only line 3 is omitted…I can see iin Google webmaster tools that 22 urls are submited but I have this error. Will it affect the procedure?



I have also altered config.php



I would appreciate your expertise.



Regards



Ioannis Talianis



P.s. When I verify the sitemap I get this result

[COLOR=“Red”]Schema validating with XSV 2.10-1 of 2005/04/22 13:10:49



* Target: [url]http://www.e-garment.gr/eshop/index.php?target=google_sitemap[/url]

(Real name: [url]http://www.e-garment.gr/eshop/index.php?target=google_sitemap[/url]

Last Modified: Tue, 19 Dec 2006 12:32:35 GMT

Server: Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b)

* docElt: {Google Search Central}urlset

* No declaration for document root found, validation was lax

* The schema(s) used for schema-validation had no errors

* No schema-validity problems were found in the target



Schema resources involved



Attempt to load a schema document from [url]http://www.google.com/schemas/sitemap/0.84[/url] (source: docElt) for [url]http://www.google.com/schemas/sitemap/0.84[/url], failed:



Not recognised as W3C XML Schema or RDDL: html[/COLOR]

Hi,

I’m really hoping someone can help - I’ve recently purchased cs-cart and tried the google sitemap mod - however it’s coming back with



‘Parse error: parse error, unexpected $ in /htdocs/include/customer/google_sitemap.php on line 34’



and I really can’t figure out why.



I’ve checked every instruction several times and everything seems OK.

Any ideas?

Incidentally, line 34 reads:

foreach ($categories as $category) {



Thanks,

Rupert

Hi again,

well that’s strange - I ripped all the code out and then put everything back in again - and now it works!

Maybe it was a file permissions prob - guess I’ll never know now…



Thanks for a great mod btw.



Rupert

[quote name=‘rfield’]Hi again,

well that’s strange - I ripped all the code out and then put everything back in again - and now it works!

Maybe it was a file permissions prob - guess I’ll never know now…



Thanks for a great mod btw.



Rupert[/QUOTE]



It’s a gremlin… I get them every so often.

Anybody know some program, that can convert Google sitemap to RSS?

I’ve got a little (HUGE) problem…

[URL=“http://www.freedomcreations.com.au/index.php?target=google_sitemap”]http://freedomcreations.com.au/index.php?target=google_sitemap[/URL]

freedomcreations.com.au/index.php?target=google_sitemap

Note : You will have to enter www.freedomcreations.com.au/index.html

I’ve currently got .htaccess forwarding for SEO reasons.



I’ve encountering these errors when attempting to access the google_sitemap I’ve since installed as per sculptingstudio’s instructions


[B]Warning[/B]: Cannot modify header information - headers already sent by (output started at /home/knoxit/public_html/freedomcreations/targets/google_sitemap.php:1) in [B]/home/knoxit/public_html/freedomcreations/include/customer/google_sitemap.php[/B] on line [B]19[/B]
http://freedomcreations.com.au 2007-03-12 daily 1.0


I could remove the “header(“Content-Type: text/xml;charset=utf-8”);” at line 19 but that solves nothing more then making it worse.



I’ve checked google_sitemap within /targets/ which is what the error is referring to, on line 1 it’s just the php start header so I’ve nothing to work with.



System setup :

Apache\PHP version 4.4.4

Cs-Cart 1.3.4 Sp3

No mods despite what my signature say as this is a different (virgin) store.

I get this error:


[QUOTE]

Error

Unfortunately we cannot locate this page for you.[/QUOTE]



You can see it live:

[url]http://www.mymindmakeover.com/store/index.php?target=google_sitemap[/url]



it redirects to:

[url]403 Forbidden



:frowning:



Any ideas?

You haven’t modified the config.php file to include the ‘google_sitemap’ into your targets area. If this has been done correctly it will show a file available.



It’s also possible that it hasn’t been able to find the sitemaps under /admin/ or /customer/

Thanks a ton sculptingstudio, this worked great! I had a little hickup when I tried to create the PHP files in Dreamweaver instead of Notepad, go figure the notepad program worked better. Followed the exact directions and it worked like a charm! Thanks again.

[quote name=‘JesseLeeStringer’]I’ve got a little (HUGE) problem…

[URL=“http://www.freedomcreations.com.au/index.php?target=google_sitemap”]http://freedomcreations.com.au/index.php?target=google_sitemap[/URL]

freedomcreations.com.au/index.php?target=google_sitemap

Note : You will have to enter www.freedomcreations.com.au/index.html

I’ve currently got .htaccess forwarding for SEO reasons.



I’ve encountering these errors when attempting to access the google_sitemap I’ve since installed as per sculptingstudio’s instructions


[B]Warning[/B]: Cannot modify header information - headers already sent by (output started at /home/knoxit/public_html/freedomcreations/targets/google_sitemap.php:1) in [B]/home/knoxit/public_html/freedomcreations/include/customer/google_sitemap.php[/B] on line [B]19[/B]
http://freedomcreations.com.au 2007-03-12 daily 1.0


I could remove the “header(“Content-Type: text/xml;charset=utf-8”);” at line 19 but that solves nothing more then making it worse.



I’ve checked google_sitemap within /targets/ which is what the error is referring to, on line 1 it’s just the php start header so I’ve nothing to work with.



System setup :

Apache\PHP version 4.4.4

Cs-Cart 1.3.4 Sp3

No mods despite what my signature say as this is a different (virgin) store.[/QUOTE]



I am having the same problem. I tried multiple things to fix it but no luck so far. The admin area was also getting header errors. Funny thing is that the sitemap was being generated after it went through the strand of header errors. May be someone else can figure this is out.

Use Notepad for everything mate,



I got lucky in that I saved myself the trouble from using dreamweaver like I had been the entire time. I’m using RapidPHP from blumentals and it’s a VERY good tool. Another thing to remove all spaces after ?> at the end of the php files. :smiley: Good luck

I downloaded a free program called Gizmo Editor and tried creating the PHP files again. Low and behold the page is creating the sitemap with no problems or errors!

Thanks for all the help!

I get some mistakes from google … this should be the sitemap:

[url]http://www.dildoman.eu/shop/index.php?target=google_sitemap[/url]


[quote]

Sitemap-fouten voor [url]http://www.dildoman.eu/shop/index.php?target=google_sitemap[/url]



Deze sitemap bevat de volgende fouten:

Fouten

Regel:

3

URL niet toegestaan

Deze URL is niet toegestaan voor een sitemap op deze locatie. [?] URL:

Datum aangetroffen: [url]http://www.dildoman.eu/shop[/url]

17-apr-2007

Regel:

6646

Parseerfout

Uw sitemap kan niet worden gelezen. Mogelijk bevat deze een item dat niet wordt herkend. Controleer uw Sitemap voordat u deze opnieuw verzendt. [?] Datum aangetroffen: 17-apr-2007

Regel:

6646

Ongeldige URL

Dit is geen geldige URL. Verhelp het probleem en verzend de sitemap opnieuw. [?] URL:

Bovenliggende tag:

Tag:

Datum aangetroffen:

url

loc

17-apr-2007

[/quote]



Is in dutch sorry for that… I hope someone can see where the bug is …



Thnx Crisje

[quote name=‘JesseLeeStringer’]You haven’t modified the config.php file to include the ‘google_sitemap’ into your targets area. If this has been done correctly it will show a file available.



It’s also possible that it hasn’t been able to find the sitemaps under /admin/ or /customer/[/QUOTE]



You mean this one ? " ‘google_sitemap’ => $targets_dir.‘google_sitemap.php’, "

Hi,



I followed the steps exactly, got this error:



Parse error: syntax error, unexpected T_SL in d:\InetPub\wwwroot\metatech.co.za\html\cart\include\customer\google_sitemap.php on line 22



Sitemap URL:



[URL=“http://www.metatech.co.za/cart/index.php?target=google_sitemap”]http://www.metatech.co.za/cart/index.php?target=google_sitemap[/URL]



Any help would be appreciated.

[quote name=‘Metatech’]Hi,



I followed the steps exactly, got this error:



Parse error: syntax error, unexpected T_SL in d:\InetPub\wwwroot\metatech.co.za\html\cart\include\customer\google_sitemap.php on line 22



Sitemap URL:



[URL=“http://www.metatech.co.za/cart/index.php?target=google_sitemap”]http://www.metatech.co.za/cart/index.php?target=google_sitemap[/URL]



Any help would be appreciated.[/quote]



Try coding EVERYTHING in notepad, most editors will add a few spaces where they don’t belong and so you recieve a few errors. I can’t guarantee that this is the case but I can’t seem to think of anything else.

[quote name=‘crisje’]You mean this one ? " ‘google_sitemap’ => $targets_dir.‘google_sitemap.php’, "[/quote]



No that’s obviously working, might be related to the localization and google analytics integration if you have it enabled.



While loading the sitemap I see everything in English so try to view it with the english language (browser)

what about google ? it shows errors on my google webmaster admin ! so it likes google don`t like my sitemap at all … url not allowed site map can not be read and so on …