------------
File: web_store_html_search.pl
Subroutine: html_search
There are two files in our HTML/Products directory that I didn't want to
show up in the Search Results. Since they don't have titles, I changed
this routine to skip files that don't have titles. The fourth line below
is unnecessary, I know, but I just left it in.
if ($title eq "")
{
next;
$title = "No Title Given";
}
------------
File: web_store_html_search.pl
Subroutine: html_search
Nearly all of our products pages have "The Notgrass Company - " in the
title. When the search results showed up, having "The Notgrass Company"
didn't look attractive. In the section of code that strips out
$root_web_path, I added a line to strip out "The Notgrass Company -".
$fullpath =~ s!$sc_root_web_path/!!;
$title =~ s!The Notgrass Company - !!;
&PrintBodyHTML($fullpath, $title);
$number_of_hits++;