Since updating to Mountain Lion a number of my created Plugins simply don’t seem to be working effectively — this might just be chance.
For example, if I use my Guardian newspaper search I often get no results at all when a similar search on the site brings up a lot of stuff.
My agentQuery code seems to be right. Is there something esle that I might have done to render my searches useless?
Did you update only Mac OS X or DEVONagent Pro too? And did you test the plug-in (via Windows > Plug-ins & Scanners) or could you post them so that we could test this over here? Maybe the websites have changed lately and the plug-ins need some maintenance. Thanks in advance!
This one searched Birmingham City Council Website and worked fine for years:
www.birmingham.gov.uk
<?xml version="1.0" encoding="UTF-8"?>
CrawlDelay
0.125
Description
Searches on the website <search.birmingham.gov.uk/search?q=_Agent Query_>.
EngineSite
search.birmingham.gov.uk/search?q=_Agent Query_
Identifier
search.birmingham.gov.uk/search?q=_AgentQuery_
Info
Birmingham City Council Plugin
LinksMatching
*search.birmingham.gov.uk/search?q=_Agent Query_*
Name
Birmingham City Council
Operators
59
Version
1.0
Here is another for the Guardian newspaper site.
<?xml version="1.0" encoding="UTF-8"?>
Description
Searches the web using <www.guardian.co.uk>.
EngineUrl
http://www.guardian.co.uk/search?q=_agentQuery_
Identifier
http://www.guardian.co.uk/search?q=_agentQuery_
Info
The Guardian Plugin
Name
The Guardian
OffsetPerPage
1
Operators
167423
ParseLinks
ResultsPerPage
10
Start
0
Version
1.0
This plug-in is actually buggy, just replace it with a new one by choosing File > New Plug-In and entering the URL “www.birmingham.gov.uk” (without quotes).
The second plug-in seems to be working but is using too many links and therefore creating too much traffic. Here’s an optimized version:
<?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>Description</key>
<string>Searches the web using <www.guardian.co.uk>.</string>
<key>EngineUrl</key>
<string>http://www.guardian.co.uk/search?q=_agentQuery_</string>
<key>Identifier</key>
<string>http://www.guardian.co.uk/search?q=_agentQuery_</string>
<key>Info</key>
<string>The Guardian Plugin</string>
<key>LinksEnd</key>
<string><div class="refinements"></string>
<key>LinksNotMatching</key>
<string>*www.guardian.co.uk/search?q=*</string>
<key>LinksStart</key>
<string><form id="searchform" method="GET"></string>
<key>Name</key>
<string>The Guardian</string>
<key>Operators</key>
<integer>167423</integer>
<key>Version</key>
<string>1.0</string>
</dict>
</plist>
Thanks Chris — much appreciated — as good a service as ever!