On Apr 23, 2004, at 2:00 PM, Dieter Maurer wrote:
Edward Pollard wrote at 2004-4-23 09:43 -0600:
Hello Dieter,
I've had to come back to this problem as our new search engine uses HEAD to get document titles.
Working with zClasses, one is rather abstracted from the code. I'm not sure how to start "look[ing] at the code" to solve this problem.
Try to define a "HEAD" method for your ZClasses.
Unlike FTP, I have not been able to determine how HEAD gets handled. Writing a script called HEAD in the same place I added my FTP changes doesn't seem to get called. Of course, even if it was getting called, I wouldn't have the foggiest idea what to do with it. I've been looking through the source code, but cannot find examples of HEAD requests being handled (even though Page Templates and DTML Documents do, indeed, handle them). Can you provide any insight as to where these functions lie? I also am unclear as to why HEAD requests are not being handled by the parent class to my ZClass, although I think it might be because I had to add in CatalogAware before PageTemplate. --- Edward J. Pollard, B.Sc Webmaster<
<table width="400" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50" rowspan="5"> </td> <td width="350"><img src="images/top_bottom.gif" width="350" height="16"></td>
</tr> <tr> <td><a href="javascript:;" onMouseOver="MM_swapImage('BOG','','images/BOG-over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/BOG.gif" alt="Board of Governors" name="BOG" width="350" height="37" border="0" id="BOG"></a></td> </tr> <tr> <td><a href="javascript:;" onMouseOver="MM_swapImage('Senate','','images/Senate-over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/Senate.gif" alt="Senate" name="Senate" width="350" height="42" border="0" id="Senate"></a></td> </tr> <tr> <td><a href="javascript:;" onMouseOver="MM_swapImage('GFC','','images/GFC-over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/GFC.gif" alt="General Faculties Council" name="GFC" width="350" height="39" border="0" id="GFC"></a></td> </tr>
<tr> <td><img src="images/top_bottom.gif" width="350" height="16"></td> </tr> </table>