clarocque, on Feb 4 2005, 10:59 PM, said:
Please advise if I set this code up correctly for meta tag useage.
<?php
/*=======================================================================*\
|| #################### //-- SCRIPT INFO --// ########################### ||
|| # Script name: meta_tags.php # ||
|| # Contribution: cDynamic Meta Tags # ||
|| # Version: 1.3 # ||
|| # Date: April 15 2005 # ||
|| # ------------------------------------------------------------------ # ||
|| #################### //-- COPYRIGHT INFO --// ######################## ||
|| # Copyright © 2005 Chris LaRocque # ||
|| # # ||
|| # This script is free software; you can redistribute it and/or # ||
|| # modify it under the terms of the GNU General Public License # ||
|| # as published by the Free Software Foundation; either version 2 # ||
|| # of the License, or (at your option) any later version. # ||
|| # # ||
|| # This script is distributed in the hope that it will be useful, # ||
|| # but WITHOUT ANY WARRANTY; without even the implied warranty of # ||
|| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # ||
|| # GNU General Public License for more details. # ||
|| # # ||
|| # Script is intended to be used with: # ||
|| # osCommerce, Open Source E-Commerce Solutions # ||
|| # http://www.oscommerce.com # ||
|| # Copyright © 2003 osCommerce # ||
|| ###################################################################### ||
\*========================================================================*/
############################################################################
# USER SETTINGS #
#--------------------------------------------------------------------------#
# If you want to cache the results (reduce server load and boost speed)
// for version 1.6 : moved to admin - $cache_type = 0; # number only, no ' or "
$cache_type = D_METATAG_CACHE_OPTIONS; # number only, no ' or "
# 0 (zero) = off
# 1 = Use Chemo's osC Advanced Cache Class **REQUIRES v1.1 or higher**
# 2 = Cache to directory ** MUST specify $meta_cache_path **
# If using Cache Class set lifetime of cache:
// for version 1.6 : moved to admin - $expires = '30/days'; # only valid if $cache_type = 1
$expires = D_METATAG_CHEMO_LIFETIME; # only valid if $cache_type = 1
# only valid if $cache_type = 2
# must have read-write permissions
# specified in admin/includes/reset/meta_tags.php (if you changed it) MUST HAVE READ/WRITE CHMOD to 777
// for version 1.6 : $meta_cache_files_path = DIR_FS_CATALOG.'cache/'; #this should work for most
$meta_cache_files_path = DIR_FS_CATALOG . DIR_FS_CACHE; #this should work for most , modifialbe in admin
# Show Model in Title
// for version 1.6 : moved to admin -$show_model_in_title = false; # no ' or "
$show_model_in_title = D_METATAG_SHOW_MODEL_INTITLE; # no ' or "
# true or false
# Show Manufacturer in Title
// for version 1.6 : moved to admin -$show_man_in_title = false; # no ' or "
$show_man_in_title = D_METATAG_SHOW_MANUF_INTITLE; # no ' or "
# true or false
# Enter y=text to be removed from Manufacturers when using them for keywords
# enter in all lower case
$strip_man_array = array('inc.','co.','inc');
# Pages to use HEADING_TITLE for title
# Do not list pages w/ specific meta tags: (index.php, product_info.php, specials.php, products_new.php)
// for version 1.6 : moved to admin -$heading_pages = array('contact_us.php', 'product_reviews.php');
$heading_pages = array(D_METATAG_EXTRA_PAGES);
#---------------------------------------------------------------------------#
# Define specific meta tags by entering the value between the '':
# For all pages using meta_tags:
define('HEAD_TITLE_TAG_ALL','J and J Gourmet Foods'); # Title
define('HEAD_DESC_TAG_ALL','J and J Gourmet Foods offers a wide variety of gourmet frozen wine coolers as well as gift ideas and winter time favorites. Vineyard Frost is the nest best thing to frappe vino.'); # Description
define('HEAD_KEY_TAG_ALL','Frappe Vino,stocking stuffers, great hostess gift,frozen wine drink d'marie Tuscan Triangles,Bitch Bags, gourmet foods, gourmet wine, snacks, unique beverages, Vodka Lemon Freeze, Snow Capped Cocoa Cones, Vineyard Frost in box, Wine E Margarita in box, White Chocolate Pecans, Simply Sinsational Trail Mix, trail mix, Double Dutch Hot Cocoa / Holiday, grapevine icestirs, holidays, Holiday Wassail Mix, Margarita Frozen Bar Mixer, Margarita Mix, Old Fashioned Holiday Cider, Picture Perfect Lemonade, trade shows, Vineyard Frost '); # Keywords
# For default index page (no products or categories)
define('HEAD_TITLE_TAG_INDEX',''); # Title
define('HEAD_DESC_TAG_INDEX',''); # Description
define('HEAD_KEY_TAG_INDEX',''); # Keywords
// Removed from admin to language:
define('STORE_DESCRIPT','J and J Gourmet Foods offers a wide variety of gourmet frozen wine coolers as well as gift ideas and winter time favorites. Vineyard Frost is the nest best thing to frappe vino'); # Store Description
define('STORE_METDEX','Productivity Sold Here'); # Store Index Description ,Place a seperate index page meta description here, for use with dynamic meta-tags
define('STORE_KEYWORD','ecommerce, Frappe Vino,stocking stuffers, great hostess gift,frozen wine drink d'marie Tuscan Triangles,Bitch Bags, gourmet foods, gourmet wine, snacks, unique beverages, Vodka Lemon Freeze, Snow Capped Cocoa Cones, Vineyard Frost in box, Wine E Margarita in box, White Chocolate Pecans, Simply Sinsational Trail Mix, trail mix, Double Dutch Hot Cocoa / Holiday, grapevine icestirs, holidays, Holiday Wassail Mix, Margarita Frozen Bar Mixer, Margarita Mix, Old Fashioned Holiday Cider, Picture Perfect Lemonade, trade shows, Vineyard Frost'); # Store Key Words : Place your sites meta key words here, for use with dynamic meta-tags
?>
thanks
Joe














