Dynamic Meta Tags
for osCommerce Online Merchant v2.2
This contribution allows you to dynamically generate meta tags using products name and categories as the meta keywords and manufacturers as the meta description tags. If you are searching a specific category or manufacturer the code will limit its meta tags to only those items found.
You do not have to alter this contribution, as it is all done dynamically for you, no new tables, and no need to maintain it.
This contribution uses the default language only, whether it be german, english or whatever.
You can see this in use at:
http://www.theonlineclothesline.com/catalog/
Legend: 
Download

Report
looking at a product page in widexl (http://www.widexl.com/remote/search-engines/metatag-analyzer.html) this contribution has a description which is more than 200 chars (recommended) and in some cases more than the recommended 20 keywords. Also the relevancy of the keywords and description can be as low as 14% in my case. I have fixed the 200 chars by reducing the limit in this package, however, I do not know how to work out the rest.
with is present " in description metatag generate ERROR !
for correct add :
// for delete " in description
while (strstr($metaKeywords, '"')) $metaKeywords = str_replace('"', '', $metaKeywords);
while (strstr($metaDescription, '"')) $metaDescription = str_replace('"', '', $metaDescription);
to :
//Limit the keywords to 1000 characters
$metaDescription = strip_tags($metaDescription);
$metaDescription = substr($metaDescription, 0, 999);
Modified query and description text, remove html tags
Updated install file to give directions to include in dex.php and product_info.php
Removed an " from the text to be pasted into pages in install.txt as it showed when viewing pages and appears to do nothing anyway.
This contribution allows you to dynamically generate meta tags using products name and categories as the meta keywords and manufacturers as the meta description tags. If you are searching a specific category or manufacturer the code will limit its meta tags to only those items found.
You do not have to alter this contribution, as it is all done dynamically for you, no new tables, and no need to maintain it.
This contribution uses the default language only, whether it be german, english or whatever.
You can see this in use at:
http://www.theonlineclothesline.com/catalog/