XML Sitemap Generator v2.6

XML Sitemap Generator v2.6 is Compatible with CS-Cart v2.06



INTRODUCTION:

This is by far the most ultimate xml sitemap generator in the history of cs-cart, not much more we can do to make this addon rock the cs world, get it today and get it free.



CREDITS:

tbirnseth at EZ Merchant Solutions

snorocket at Snorocket.com



UPGRADE:

================================================== ======

  1. Un-install existing XML Sitemap v2.x Installation
  2. Remove controller/common/xml_sitemap.php manually
  3. Remove the entire xml_sitemap dir from…/addons/xml_sitemap/
  4. Follow directions for NEW INSTALLATION



    NEW INSTALLATION:

    ================================================== ======
  5. Upload Addon to your CS-Cart 2.06 installation.
  6. Install Addon: adminlogin.php?dispatch=addons.manage
  7. Enabled Options: adminlogin.php?dispatch=addons.manage
  8. Generate Sitemap: Content (tab) /Update Sitemap
  9. Check Generated Sitemap: <yourdomain.com>/sitemap.xml



    CHANGELOG:

    ================================================== ======

    [+] xml_sitemap.php moved into addons controllers dir.

    [+] xml sitemap output to filename added.

    [+] run/update xml sitemap button added under content tab.

    [+] all valid change priorities values added

    [!] invalid query for extended product features fixed.



    OPERATION:

    ================================================== ======
  10. XML Sitemap will automatically run at the frequency interval setup in options.


  11. Sitemap automatically runs/updates when an admin logs into the site and has not been run since the last specified interval.


  12. To force it to run manually an “Update Sitemap” button has been added under the “Content” tab, or use <yourdomain.com>/admin.php?dispatch=xml_sitemap which will reset

    the ‘last run time’ and generate a new file.


  13. If there is no filename defined in the options (default is sitemap.xml) then output will be

    to the screen, otherwise output is written to the file.



    IMPORTANT !!!

    ================================================== ======
  14. Make sure your sitemap urls point to:

    <yourdomain.com>/sitemap.xml



    FREE DOWNLOAD:

    XML Sitemap Generator v2.7.zip

Cheers Sno, you da man.

woot woot!

Thanks mate, need to upgrade :slight_smile:

It won’t work for me. Installation goes well but www.domain.com/sitemap.xml gives me 404 not found

[quote name=‘Darius’]It won’t work for me. Installation goes well but www.domain.com/sitemap.xml gives me 404 not found[/QUOTE]

Hi Darius, when you click “update sitemap” under the content tab does it say your sitemap has been updated? if so ftp into your account and see if the sitemap.xml is in the root dir…

Nope it is working on here.



But sno how should i know my xml sitemap was updated ?

[quote name=‘miracles’]Nope it is working on here.



But sno how should i know my xml sitemap was updated ?[/QUOTE]



How do you install it?



DO you just move xml_sitemap dir with all included inside to addons dir? Or otherwise ?



Sorry it was permission problem

I follow the readme file. Just uninstall the addon from the addon manage, remove the old sitemap version folder from addon and common.



Just upload addon folder to cscart directory and click install on addon manage.



Than go to content tab click update sitemap, you will seen the popup sitemap was updated.



use www.domain.com/sitemap.xml



That’s it

Everything seemed to work fine for me except that I have over 2000 active products listed in the store and only 300 odd are reported as submitted to google sitemaps.



When I look through the sitemap.xml output there seem to be a lot of blank entries as you can see from below:


```php -

http://www.poster-rack.co.uk/rocky-cityscape-print.html

2009-07-23

weekly

1.0


Ignore me. I’ve solved it.



For sime reason a lot of my products have no seo name in the addons tab.



doh!

Actually I think they do have seo names, they just happen to be " ". If there was no seo name then the “url” would be of the form dispatch=…



tony

[quote name=‘miracles’]Nope it is working on here.



But sno how should i know my xml sitemap was updated ?[/QUOTE]



When you login you will see one of the green notification boxes telling you that the sitemap.xml file was updated.

To prevent whatever bug in the cart is causing this, change line 10 in the file addons/xml_sitemap/func.php from:


return empty($seo_names[$type][$object_id]['name']) ? '' : $seo_names[$type][$object_id]['name'].".html";


to


return empty($seo_names[$type][$object_id]['name']) ? '' : (trim($seo_names[$type][$object_id]['name']) ? $seo_names[$type][$object_id]['name'].".html" : '');



That should prevent any seo entries that are all blanks or tabs or empty from using an seo name.

Sno thanks for the great tool! I appreciate your dedication on developing new mods for cs-cart. This mod to my knowledge works great with my new version of csc 2.0.6



Jesse, one of the site admin installed xml sitemap generator quickly after the update. I’d highly recommend anyone to spend the money and hire a professional so you don’t have to deal with annoying errors.



send him a private message and allow him to do the work for you:



[URL=“http://forum.cs-cart.com/member.php?u=346”]http://forum.cs-cart.com/member.php?u=346[/URL]

[quote]

I’d highly recommend anyone to spend the money and hire a professional so you don’t have to deal with annoying errors.

[/quote]



What errors? There shouldn’t be any!



tony

I’m sorry I didn’t mean to say the Sno’s site map had an error… I was just saying a lot of people create an error by installing items incorrectly that could be prevented by just hiring someone who knows what they are doing.

Installation is very easy for this kind of great addon…Also Sno and we will help you to prevent those errors if you raise up questions…

No problem. I did the work for the “write to file” and the SEO stuff and tested it pretty throuroughly. Unfortunately Sno did not build the archive so it could be dropped into the root of your cart and simply be installed. He put everything into a sub-folder so you either have to unzip/zip it up on your PC or unzip it and FTP the contents of XML Sitemap V2.6 directory to your cart. But that’s the only issue I’m aware of that anyone should encounter (database problems like bad seo names excluded).



Yes, cs-cart can be a bear to navigate and learn. But it is a well designed system and once you understand how it works, it works very well. Too bad the development team doesn’t believe that documentation would benefit everyone. One has to take the time to read the code to understand what’s going on and how to work with the architecture of the system. But then they never offer solutions in these forums either. It’s like they live in a separate world, detached from the customers and greatest supporters. I’d be out of business if I treated my customers that way.

[quote name=‘joe’]Installation is very easy for this kind of great addon…Also Sno and we will help you to prevent those errors if you raise up questions…[/QUOTE]



Sno is a great guy he offered to help install the tab mod for me several months ago, but I never got around to using the modification.


[quote name=‘tbirnseth’]No problem. I did the work for the “write to file” and the SEO stuff and tested it pretty throuroughly. Unfortunately Sno did not build the archive so it could be dropped into the root of your cart and simply be installed. He put everything into a sub-folder so you either have to unzip/zip it up on your PC or unzip it and FTP the contents of XML Sitemap V2.6 directory to your cart. But that’s the only issue I’m aware of that anyone should encounter (database problems like bad seo names excluded).



Yes, cs-cart can be a bear to navigate and learn. But it is a well designed system and once you understand how it works, it works very well. Too bad the development team doesn’t believe that documentation would benefit everyone. One has to take the time to read the code to understand what’s going on and how to work with the architecture of the system. But then they never offer solutions in these forums either. It’s like they live in a separate world, detached from the customers and greatest supporters. I’d be out of business if I treated my customers that way.[/QUOTE]



I’m still learning how to copy and paste code. I still have a long ways to go before I can branch out on my own no matter how simple the installation. haha . That’s awesome to know that you ran several test on XML Sitemap Generator. Thanks for your time as well.