AnsweredAssumed Answered

OpenSearch Configuration Schema

Question asked by kbpair on Apr 18, 2007
Latest reply on Apr 24, 2007 by davidc
I am trying to get OpenSearch to hit some of our other data repositories (Confluence, Sharepoint, Documentum) as it will take time to convert these to Alfresco ;-)

I have seen the wiki and the sample file but none of these pass parameters during a POST. The parameters are in the querystring.

How can I configure my web-api-config-custom.xml?

For instance the OpenSearch Description spec generated by the firefox plugin shows something like:

<SearchForm>http://www.example.com/dashboard.action</SearchForm>
<os:Url type="text/html" method="POST" template="http://www.example.com//dosearchsite.action">
  <os:Param name="quickSearch" value="true"/>
  <os:Param name="searchQuery.spaceKey" value="conf_global"/>
  <os:Param name="searchQuery.queryString" value="{searchTerms}"/>
  <os:Param name="sourceid" value="Mozilla-search"/>
</os:Url>

So I need to convert this to something understood by Alfresco in the web-api-config-custom.xml:

<engine label-id="confluence" label="Confluence Keyword Search">
     <url type="text/html">http://www.example.com/dosearchsite.action</url>
</engine>

Is there a schema of what the valid elements/attributes are?

thanks for your help.

Outcomes