Files
alfresco-community-repo/config/alfresco/web-api-config.xml
David Caruana 200ff43d6e OpenSearch:
- cosmetic changes as suggested by marketing eyes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-29 15:22:19 +00:00

44 lines
1.5 KiB
XML

<!-- -->
<!-- Web API Configuration -->
<!-- -->
<alfresco-config>
<plug-ins>
<element-readers>
<element-reader element-name="opensearch" class="org.alfresco.web.config.OpenSearchElementReader"/>
</element-readers>
</plug-ins>
<config>
<!-- TODO: host, port?? -->
</config>
<!-- -->
<!-- Configuration of Open Search API -->
<!-- -->
<config evaluator="string-compare" condition="OpenSearch">
<opensearch>
<engines>
<engine label-id="current_repo" label="Alfresco Keyword Search">
<url type="application/opensearchdescription+xml">
/service/search/keywordsearchdescription.xml
</url>
<url type="application/atom+xml">
/service/search/keyword?q={searchTerms}&amp;p={startPage?}&amp;c={count?}&amp;l={language?}&amp;guest={alf:guest?}&amp;format=atom
</url>
<url type="application/rss+xml">
/service/search/keyword?q={searchTerms}&amp;p={startPage?}&amp;c={count?}&amp;l={language?}&amp;guest={alf:guest?}&amp;format=rss
</url>
<url type="text/html">
/service/search/keyword?q={searchTerms}&amp;p={startPage?}&amp;c={count?}&amp;l={language?}&amp;guest={alf:guest?}
</url>
</engine>
</engines>
</opensearch>
</config>
</alfresco-config>