Contributions
Google Sitemap Generator for MS2
This Script generates an Google Sitemap as described here: https://www.google.com/webmasters/sitemaps/docs/en/about.html
Features:
=========
- supports multilangual categories and products
- supports Search-Engine Safe URLs (osC default)
- could be accessed by http or command line
- writes to file or standard output
No support for more the 50.000 URLs at the moment. See
http://www.google.com/webmasters/sitemaps/docs/en/protocol.html#sitemapFileRequirements
Expand All / Collapse All
Une variante avec deux modifications :
---------------------------------------
* le sitemap est généré automatiquement à chaque modification du catalogue dans l'administration d'oscommerce (mais le script ne peut plus être lancé indépendement en ligne de commande).
* Lorsque le module Ultimate SEO URLs est installé (http://www.oscommerce.com/community/contributions,2823), le sitemap généré contient les urls réécrite, pour pouvoir être validé par google.
fix error in option p (notify google).
new option -p to notify Google.
for most cases use
shell: php google_sitemap.php -zap
OR
http://domain.com/google_sitemap.php?auto=true&gzip=true&ping=true
fix copy-and-paste error from https://www.google.com/webmasters/sitemaps/docs/en/faq.html#s10 in schema assignment.
new Features:
- autogenerates multiple sitemaps for sites with over 50.000 URLs
- autogenerates multiple sitemaps if filesize exceeded 10MB.
- writes files compressed or uncompressed
for most cases use
shell: php google_sitemap.php -za
OR
http://domain.com/google_sitemap.php?auto=true&gzip=true
This generates multiple (if necessary) compressed sitemaps in the catalog folder and a corresponding index file.
Please be sure that you use the CLI (command line interface) SAPI for shell access.
Otherwise you will run into trouble with the auto started session in application_top.php.
For Details see readme.txt
This Script generates an Google Sitemap as described here: https://www.google.com/webmasters/sitemaps/docs/en/about.html
Features:
=========
- supports multilangual categories and products
- supports Search-Engine Safe URLs (osC default)
- could be accessed by http or command line
- writes to file or standard output
No support for more the 50.000 URLs at the moment. See
http://www.google.com/webmasters/sitemaps/docs/en/protocol.html#sitemapFileRequirements
Note: Contributions are used at own risk.