News for hackers. Stuff that matters.
Re:WeinbergAlpha: DuckDuckGoes opensource with its WolframAl... by epi0Bauqu on Wednesday July 14, 2010 @02:15PM (#1515433)
I'd love to do plug-ins. The trouble is this initial filter step, i.e. I can't be sending all queries to all plugins for many reasons (privacy, resources, speed, etc.). But I'm very open to integrating vertical engine APIs where it makes sense, or linking to them directly. For example, last night I added links at the top based on this type of routing, e.g. http://duckduckgo.com/?q=php+date+function

So if any one has any implementation ideas, I'm ready!

Re:WeinbergAlpha: DuckDuckGoes opensource with its WolframAl... by clistctrl on Wednesday July 14, 2010 @02:28PM (#1515483)
Just an idea, instead of sending all queries to all plugins could you do a look up instead? Such as my example above, part of the process of registering a plugin might be specifying a keyword, and a identification function. So during the process of creating your zero click results you could check an index if any of the keywords have plugins associated with them. Once you have a narrow list of plugins then you could run through the list of plugins to see if the results are relevant.
Re:WeinbergAlpha: DuckDuckGoes opensource with its WolframAl... by epi0Bauqu on Wednesday July 14, 2010 @02:31PM (#1515493)
Yes, something like that could work, which is essentially what I'm doing here with WA (just in a bit more complicated fashion).