mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- 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
44 lines
1.5 KiB
XML
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}&p={startPage?}&c={count?}&l={language?}&guest={alf:guest?}&format=atom
|
|
</url>
|
|
<url type="application/rss+xml">
|
|
/service/search/keyword?q={searchTerms}&p={startPage?}&c={count?}&l={language?}&guest={alf:guest?}&format=rss
|
|
</url>
|
|
<url type="text/html">
|
|
/service/search/keyword?q={searchTerms}&p={startPage?}&c={count?}&l={language?}&guest={alf:guest?}
|
|
</url>
|
|
</engine>
|
|
</engines>
|
|
</opensearch>
|
|
</config>
|
|
|
|
</alfresco-config>
|