for the contribution: rss feed 2.2 - http://addons.oscommerce.com/info/1513
the install.txt says that i have to put this code in every pages of the catalog, befote the </head>
where should i put this code to sts?
<?php
if (!isset($lng) || (isset($lng) && !is_object($lng))) {
include_once(DIR_WS_CLASSES . 'language.php');
$lng = new language;
}
reset($lng->catalog_languages);
while (list($key, $value) = each($lng->catalog_languages)) {
?>
<link rel="alternate" type="application/rss+xml" title="<?php echo STORE_NAME . ' - ' . BOX_INFORMATION_RSS; ?>" href="<?php echo FILENAME_RSS, '?language=' . $key.((isset($_GET['cPath']))?'&cPath='.$_GET['cPath']:'').((isset($_GET['manufacturers_id']))?'&manufacturers_id='.$_GET['manufacturers_id']:''); ?>">
<?php
}
?>
thanks!