I’m sure I’m missing one small thing that’s going to make this Plugin work like a champ, at the moment this plugin responds with 6 entries in the Log (see below). The top five log entries are the results that I see in my search page when I do the search in my browser, which in this example is the word “Sand” (please note that I abbreviated the output for readability):
Address Error
intranet/EM/GeneralBuildTipsAndTools No Match
intranet/EM/OLDSandboxBuildSystem No Match
intranet/EM/SandboxBuildSystem No Match
intranet/EM/SandboxBuildSystemDeprecated No Match
intranet/EM/SandboxSystem No Match
intranet/EM/WebSearch?search=Sand&scope=topic Links: 5
Below is my XML plugin, I’ve completely read “Can Da be “neat” without XML?” which helped me tighten up my information parse (maybe too much ) but the fundamental problem that I have is that I’m not getting any Digest / Results information and my hunch was that it’s related to my Link… statements but I can’t really put my finger on what I’m doing wrong.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DateEnd</key>
<string><a></string>
<key>DateStart</key>
<string>$lt;a href="/twiki/bin/rdiff/EM/*" rel="nofollow"$gt;</string>
<key>Description</key>
<string>Intranet Search Topic</string>
<key>EngineUrl</key>
<string>https://intranet.example.com/twiki/bin/view/EM/WebSearch?search=_agentQuery_&scope=topic</string>
<key>Identifier</key>
<string>intranet.example.com</string>
<key>Info</key>
<string>Intranet Plugin</string>
<key>LinksEnd</key>
<string><!--/patternSearchResultCount--></string>
<key>LinksMatching</key>
<array>
<string>*intranet.example.com/twiki/bin/view/EM/*</string>
</array>
<key>LinksNotMatching</key>
<array>
<string>*intranet.example.com/twiki/bin/view/EM/WebRss*</string>
</array>
<key>LinksStart</key>
<string><div class="twikiLeft"></string>
<key>Name</key>
<string>Intranet</string>
<key>OffsetPerPage</key>
<integer>1</integer>
<key>Operators</key>
<integer>57</integer>
<key>ParseLinks</key>
<true/>
<key>ResultsPerPage</key>
<integer>10</integer>
<key>Start</key>
<integer>0</integer>
<key>TextEnd</key>
<string><!--/twikiSummary--></string>
<key>TextStart</key>
<string><div class="twikiSummary twikiGrayText"></string>
<key>TitleEnd</key>
<string></b></div></string>
<key>TitleStart</key>
<string><a href="/twiki/bin/view/*"><b></string>
<key>Version</key>
<string>1.0</string>
</dict>
</plist>
BTW, if I just do a generic plugin (just the search string) I get results primarily a whole bunch of cruft" AND my 5 results that I expect but it seems as soon as I start trying to put my filters in I’m breaking it.
Can anyone see something obvious that I’m doing wrong?
Any help would be greatly appreciated, thanks in advance.