Well, the keyword "cats" would work in my cats directory but that sherlock plugin needs work. I recall that it took me a long time adjusting the plugin script until it worked for me.
My source template? For search_results.html? I'm not sure how that would help much....but also remember that the link results are formatted in link.html (where the < ul > < li > < / ul > tags are mentioned in the sherlock plugin).
But the pertinent parts of my templates are:
Search_results.html:
Code:
<%if cat_hits gt 1%><strong><%cat_hits%></strong>
<%if link_results%>
<tr bgcolor="#3366CC"><td colspan="3">
<FONT SIZE="2" FACE="Verdana, Arial" COLOR="ffffff"><B> Links:</B></FONT></td></tr>
<TR><td align=left><FONT SIZE="2" FACE="Verdana, Arial" COLOR="000000">
< !-- Links -- >
<%link_results%>
</FONT>
</TD></TR>
<%endif%>
<%if next%>
<TR>
<td align=left><FONT SIZE="2" FACE="Verdana, Arial" COLOR="000000">
< !-- Next -- >
Pages: <%next%>
</font></TD>
</TR>
<%endif%>
and link.html:
Code:
<ul><li><a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" Target="New"><%Title%></a>
<%rate_img%>
<%if new_mod_img%>
<%new_mod_img%>
<%endif%>
<%if isPick%>
<FONT SIZE="2" FACE="Verdana, Arial" COLOR="660099"><B>Editor's Pick</b></FONT>
<%endif%>
<%if isPopular%>
<FONT SIZE="2" FACE="Verdana, Arial" COLOR="0000FF"><B>cool</b></FONT>
<%endif%>
<%if Description%>
- <%Description%>
<%endif%>
<small>(Added: <%Date%> Hits: <%Hits%>
Rating: <%Rating%>
Votes: <%Votes%>
<%if Reviews%> <a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>">Reviews:</a> <%Reviews%>
<%endif%>)
[<a href="http://www.somemoorecats.com/cgi-bin/wwlinks/mylinks.cgi?add=<%ID%>">Bookmark It!</a>]
[<a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>">Rate or Review this Site</a>]
[<a href="/cgi-bin/birdcast3.cgi?ID=<%ID%>">Recommend this Site</a>]
[<a href="<%db_cgi_url%>/deadlink.cgi?ID=<%ID%>">Report Broken Link</a>]
</SMALL>
</ul>
I don' t think I have the < !--Search Bar -- > tag anymore in my template....it works without it. That just tells Sherlock where to stop looking for results. This will give you a match up with the other tags, though. Other than that, I don't think there's anything else I can tell you about making it work. Make sure you check out the Apple TIL I gave the url for yestereday. It's quite helpful.
Melanie
http://www.somemoorecats.com/ww/ http://www.okhima.org/