Validating FrontLook Site Search Engine (FLSSE) for Expression Web
Download and install the FrontLook Site Search Engine for Expression Web. This is a commercial product and works only with Expression Web 1.0
Create FrontLook Site Search per instructions and publish all files to the server.
When I try and publish via Expression Web's FTP facility, I receive two error messages
I clicked OK and the process continued.
Open the search.php.htm | Validate
Important Warnings -
No Character Encoding Found! Falling back to UTF-8.
Unable to Determine Parse Mode!
No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.
Seven errors found -
Error 1
no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"
Error 2
syntax of attribute value does not conform to declared value.
<META http-equiv="" CONTENT="0;URL=search.php">
Error 3
required attribute "TYPE" not specified.
<script>
Error 4
required attribute "ACTION" not specified.
<form name="Search" method="post">
Error 5
end tag for "SELECT" which is not finished.
</select>
Error 6
there is no attribute "HEIGHT".
</table><table width="80%" cellpadding="20" height="50">
Error 7
required attribute "ALT" not specified.
..../images/flssepower88.gif" border="0"></a></td></tr>
Saved file as original-search.php.htm for safekeeping and work on search.php.htm
Step 1 - Removed the following lines from search.php.htm. While they cause no errors, they are not needed.
<meta name="GENERATOR" content="Microsoft FrontPage 12.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
Step 2 - Added valid doctype statement to search.php.htm. While the site itself uses XHTML coding, the use of that doctype causes many additional errors so I'll use
<!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">
Published file and validated again - Six errors found (same as listed above except #1)
Saved file as revision1-search.php.htm.
Step 3 - Open search.php and save as original-search.php for safekeeping BUT work on search.php
changed Line 116 from
<script>
to
<script type="text/script">Publish File | Five errors | #3 Fixed
Step 4 - Removed from Line 192
height="50"
Added to Line 216
Added alt tag to FL image
Publish File | Validate again | Three errors #6 Fixed #7 Fixed
Step 5 - The search.php file now has three errors that need to be fixed - they are
-
syntax of attribute value does not conform to declared value .
<META http-equiv="" CONTENT="0;URL=search.php">
-
required attribute "ACTION" not specified .
<form name="Search" method="post">
-
end tag for "SELECT" which is not finished .
</select>
Changed Line 126 from
<form name="Search" method="post">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??
Don't know enough about php to figure out the </select> tag problem.

Copyright © 2010 Pat Geary of Expression Web Tutorials and Templates, All Rights Reserved
Tutorial Updated January 2010




