Hi. I’ve got a plugin that returns zero results, listed below. I’d like to make a few plugins for my work, so while I’d love some specific help on this one, I’d appreciate some general debugging hints even more.
The first thing you want to change is the LinksStart and LinksEnd keywords. The string values you’ve defined are not unique enough to mark the area of the HTML where DEVONagent wants to look for links.
Try this instead (pseudocode, the value is everything between [' and]’)
I would also not use the Operators keyword. Since you are using Google as the search engine you can be sure it will support the default operators that DEVONagent uses. The one that you defined is very restrictive and could cause more data to be downloaded to DEVONagent and then it has to do more work to execute the operators locally. Why not let the server help out and save you some computing cycles?
However, I’m still getting zero results. I type in a search string (such as ‘tnl’), and it says “Initializing…” and then immediately tells me ‘0 pages with 0 KB done’. Ethereal says that it didn’t send out a single packet. I tried emptying the cache, no help.
EngineURL should be EngineUrl (see message logged by DEVONagent to system console) and Version should be a string. But this version should be more or less complete: