Download Latest Version test2.zip (133 Bytes)
Email in envelope

Get an email when there's a new version of Zen Cart Building Products

Name Modified Size InfoDownloads / Week
Parent folder
unsubscribe 2017-06-27
time_out 2017-06-27
tell_a_friend 2017-06-27
ssl_check 2017-06-27
specials 2017-06-27
site_map 2017-06-27
sitemapxml 2017-06-27
shopping_cart 2017-06-27
shippinginfo 2017-06-27
reviews 2017-06-27
redirect 2017-06-27
product_reviews_write 2017-06-27
product_reviews_info 2017-06-27
product_reviews 2017-06-27
product_music_info 2017-06-27
product_info 2017-06-27
product_free_shipping_info 2017-06-27
products_new 2017-06-27
products_all 2017-06-27
privacy 2017-06-27
pricelist 2017-06-27
popup_shipping_estimator 2017-06-27
popup_search_help 2017-06-27
popup_image_additional 2017-06-27
popup_image 2017-06-27
popup_cvv_help 2017-06-27
popup_coupon_help 2017-06-27
popup_attributes_qty_prices 2017-06-27
password_forgotten 2017-06-27
page_not_found 2017-06-27
page_4 2017-06-27
page_3 2017-06-27
page_2 2017-06-27
page 2017-06-27
logoff 2017-06-27
login 2017-06-27
info_shopping_cart 2017-06-27
index 2017-06-27
gv_send 2017-06-27
gv_redeem 2017-06-27
gv_faq 2017-06-27
featured_products 2017-06-27
down_for_maintenance 2017-06-27
download_time_out 2017-06-27
download 2017-06-27
document_product_info 2017-06-27
document_general_info 2017-06-27
discount_coupon 2017-06-27
customers_authorization 2017-06-27
create_account_success 2017-06-27
create_account 2017-06-27
cookie_usage 2017-06-27
contact_us 2017-06-27
conditions 2017-06-27
checkout_success 2017-06-27
checkout_shipping_address 2017-06-27
checkout_shipping 2017-06-27
checkout_process 2017-06-27
checkout_payment_address 2017-06-27
checkout_payment 2017-06-27
checkout_confirmation 2017-06-27
advanced_search_result 2017-06-27
advanced_search 2017-06-27
address_book_process 2017-06-27
address_book 2017-06-27
account_password 2017-06-27
account_notifications 2017-06-27
account_newsletters 2017-06-27
account_history_info 2017-06-27
account_history 2017-06-27
account_edit 2017-06-27
account 2017-06-27
Totals: 72 Items   0
Name
====
Google Sitemap

Version Date
==============
v 2.1.0 30.04.2009 10:35

Author
======
Andrew Berezin http://eCommerce-Service.com

Description
===========
This Script generates an Sitemap as described here:
http://www.sitemaps.org/

Support thread
==============
http://www.zen-cart.com/forum/showthread.php?p=725347

Affected files
==============
None

Affects DB
==========
Yes (creates new records into configuration_group and configuration tables)

DISCLAIMER
==========
Installation of this contribution is done at your own risk.
Backup your ZenCart database and any and all applicable files before proceeding.

Features:
=========
- supports multilangual categories and products
- supports Search-Engine Safe URLs
- could be accessed by http or command line
- autogenerates multiple sitemaps for sites with over 50.000 URLs
- autogenerates multiple sitemaps if filesize exceeded 10MB
- writes files compressed or uncompressed
- using index.php wrapper - http://domain.com/index.php?main_page=sitemapxml
- using languages file and etc.
- auto-notify Google, Yahoo!, Ask.com and Microsoft (both live.com and msn.com)
You can use the gzip feature or compress your Sitemap files using gzip.
Please note that your uncompressed Sitemap file may not be larger than 10MB.
- generation of a sitemap index file
- generation of xml-sitemaps for (separate files):
1. Products (support hideCategories),
2. Categories (support hideCategories),
3. Reviews,
4. EZ-pages
- multi-language support,
- 'EZ pages rel=nofollow attribute' support (http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=944),
- 'date_added'/'last_modified' support,
- check internal links ('alt_url') by "noindex" rule (main_page in ROBOTS_PAGES_TO_SKIP),
- toc_chapter proccessing
5. Testimonials,

If the products, categories, reviews have not changed since the last generation (time creation corresponding xml-sitemap file), a new xml-sitemap file not created (using existing xml-sitemap).

Priority is calculated on the basis of the positions in the selection from the database, ie the operator ORDER BY in the sql query. First item have priority=1.00, last=0.10. So can no longer be situations where all items in the file have the same priority.
Products - ORDER BY p.products_sort_order ASC, last_date DESC
Categories - ORDER BY c.sort_order ASC, last_date DESC
Reviews - ORDER BY r.reviews_rating ASC, last_date DESC
EZ-pages - ORDER BY p.sidebox_sort_order ASC, last_date DESC
Testimonials - ORDER BY last_date DESC

Support 3 $_GET parameters:
ping=yes - Pinging Google, Yahoo!, Ask.com and Microsoft.

inline=yes - output file sitemapindex.xml. In Google Webmaster Tools you can define your "Sitemap URL":
http://<your shop>/googlesitemap.php?inline=yes
And every time Google will get googlesitemap.php he will receive a fresh sitemapindex.xml.

genxml=no - don't generate xml-files.

rebuild=yes - force rebuild all sitemap*.xml files.

Comments and suggestions are welcome.
If you need any more sitemaps (faq, news, etc) you may ask me, but I will do only if it matches with my interests.

Install:
========
1. Unzip and upload all files to your store directory;
2. Go to Admin->Tools->Install SQL Patches and install install.sql.
3. Go to Admin->Configuration->Google Sitemap Configuration and setup all parameters
4. Go to Admin->Tools>Google XML Sitemap (If error messages occur, change permissions on the XML files to 777);
5. To have this update and automatically notify Google, you will need to set up a Cron
job via your host's control panel.

Tips
====

To run it as a cron job (at 5:0am like you wanted), put something in your crontab like the following:
0 5 * * * GET 'http://your_domain/index.php?main_page=sitemapxml'
or
0 5 * * * wget -q 'http://your_domain/index.php?main_page=sitemapxml' -O/dev/null
or
0 5 * * * curl -s 'http://your_domain/index.php?main_page=sitemapxml'
or
0 5 * * * php -f <path to shop>/cgi-bin/sitemapxml.php rebuild=yes

You can specify the location of the Sitemap using a robots.txt file. To do this, simply add the following line:
Sitemap: http://<your shop>/sitemapindex.xml
This directive is independent of the user-agent line, so it doesn't matter where you place it in your file.
If you have a Sitemap index file, you can include the location of just that file. You don't need to list
each individual Sitemap listed in the index file.

History
=======
v 2.0.0 02.02.2009 19:21 - Initial version
v 2.1.0 30.04.2009 10:35 - Lot of changes and bug fixed
Source: readme.txt, updated 2017-06-27