Validating FrontLook Site Search Engine (FLSSE) in Front Page
Create FrontLook Site Search per instructions and publish all files to the server | Validate
There are two pages created that will need editing search.php and search.php.html.
NOTE: As of April 2009, the validator will not parse the page without first adding a valid doctype statement to the search.php.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
as well as
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-us">
to that same page. Once these are added and you validate the page, six errors found -
ERROR 1
syntax of attribute value does not conform to declared value.
<META http-equiv="" CONTENT="0;URL=search.php">
ERROR 2
required attribute "TYPE" not specified.
<script>
ERROR 3
required attribute "ACTION" not specified.
<form name="Search" method="post">
ERROR 4
end tag for "SELECT" which is not finished.
</select>
ERROR 5
there is no attribute "HEIGHT".
</table><table width="80%" cellpadding="20" height="50">
ERROR 6
required attribute "ALT" not specified.
…./images/flssepower88.gif" border="0"></a></td></tr>
In the search.php file I changed
<script>
to
<script type="text/script">Publish File | Five errors | #2 Fixed
Removed from search.php
height="50" Added alt tag to FL image
Publish File | Validate again | Three errors #5 Fixed #6 Fixed
The search.php file now has three errors that need to be fixed - they are
ERROR 1
syntax of attribute value does not conform to declared value.
<META http-equiv="" CONTENT="0;URL=search.php">
ERROR 3
required attribute "ACTION" not specified.
<form name="Search" method="post">
ERROR 4
end tag for "SELECT" which is not finished.
</select>
I added to the search.php file
Added
action="search.php"to statement
<form name="Search" action="search.php" method="post">
Publish | Revalidate | Only two errors now | Hooray
The meta equivalent statement actually contains "refresh" when the file is uploaded but it is being stripped out. Maybe something from the search.php file??
Still not resolved as of April 2009 but the search form works and it only has two errors now.