mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- move repository level web scripts to /api/... urls - fix opensearch result templates with regards to guest / format arguments - fix opensearch proxy (regression from web script runtime refactor) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
43 lines
1.9 KiB
Plaintext
43 lines
1.9 KiB
Plaintext
<!-- -->
|
|
<!-- Example configuration of multiple OpenSearch engines -->
|
|
<!-- -->
|
|
|
|
<alfresco-config>
|
|
|
|
<config evaluator="string-compare" condition="OpenSearch">
|
|
<opensearch>
|
|
|
|
<engines>
|
|
|
|
<!-- -->
|
|
<!-- Example: Registration of remote Alfresco Server -->
|
|
<!-- -->
|
|
|
|
<!-- TODO: Find/Replace [host] with server host name -->
|
|
<!-- TODO: Find/Replace [port] with server port number -->
|
|
<engine label="Remote Alfresco Repository" proxy="remote">
|
|
<url type="application/atom+xml">
|
|
http://[host]:[port]/alfresco/api/service/search/keyword.atom?q={searchTerms}&p={startPage?}&c={count?}&l={language?}&guest=true
|
|
</url>
|
|
<url type="application/rss+xml">
|
|
http://[host]:[port]/alfresco/api/service/search/keyword.rss?q={searchTerms}&p={startPage?}&c={count?}&l={language?}&guest=true
|
|
</url>
|
|
</engine>
|
|
|
|
<!-- -->
|
|
<!-- Example: Registration of Alfresco's Open Talk Blog -->
|
|
<!-- -->
|
|
|
|
<engine label="Alfresco Open Source Talk" proxy="opentalk">
|
|
<url type="application/rss+xml">
|
|
http://blogs.alfresco.com/opentalk/os-query?s={searchTerms}&itemstart={startIndex?}&itempage={startPage?}&itemlimit={count?}
|
|
</url>
|
|
</engine>
|
|
|
|
</engines>
|
|
|
|
</opensearch>
|
|
</config>
|
|
|
|
</alfresco-config>
|