I'm almost done setting up Webadverts on my site:
General Adverising - non-targeted banner spots on Home page, What's Cool page and What's New page.
Search Advertising - targeted banner spots on search pages as a function of search terms.
Category Advertising - semi-targeted banner spots on category pages.
The problem is the latter (Category Advertising spots). I revised the site_html_category subroutine in the site_html.cgi script to insert the particular SSI code depending on the category. For example:
if ($dir eq "Specific Category") { $output .= qq~<!--#exec cgi="/scripts/banners/catads01.cgi"-->\n\n~;}
Problem is what variable to use for $dir to test the condition?
Dan
General Adverising - non-targeted banner spots on Home page, What's Cool page and What's New page.
Search Advertising - targeted banner spots on search pages as a function of search terms.
Category Advertising - semi-targeted banner spots on category pages.
The problem is the latter (Category Advertising spots). I revised the site_html_category subroutine in the site_html.cgi script to insert the particular SSI code depending on the category. For example:
if ($dir eq "Specific Category") { $output .= qq~<!--#exec cgi="/scripts/banners/catads01.cgi"-->\n\n~;}
Problem is what variable to use for $dir to test the condition?
Dan
