Inspired by Macintouch's recent Sherlock search plug-in, I decided to try to write one for macosxhints.com. Having never looked at Sherlock plug-ins before, it took a bit of trial and error before I got something working, but eventually, I wound up with something that mostly works. If you'd like to try it out, just:
I read Apple's technote 1141, Extending and Controlling Sherlock to learn the Sherlock plug-in syntax, and then just started experimenting. This is what I came up with:
<SEARCHThe resultListEnd item has been broken onto two lines for easier readability. The only trick in creating the plug-in is that the file type must be 'issp', which I did with SetFileInfo in the Terminal. TextEdit has no problem opening or editing these file types.
name = "macosxhints.com"
method = "get"
action = "http://www.macosxhints.com/search.php"
description = "Search published hints on macosxhints.com">
<INPUT
name = "query"
user>
<INPUT
name = "datestart"
value = >
<INPUT
name = "dateend"
value = >
<INPUT
name = "topic"
value = "0">
<INPUT
name = "type"
value = "stories">
<INPUT
name = "author"
value=>
<INPUT
name = "mode"
value = "search">
<INTERPRET
resultListStart = "Hits</th><tr align=center>"
resultListEnd = "</td></tr></table></td><
/tr></table></td></tr></table>"
resultItemStart = "<td align=left>"
resultItemEnd = "<tr align=center>">
</SEARCH>
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020508233521409