Files
alfresco-community-repo/config/alfresco/extension/web-api-config-custom.xml.sample
Derek Hulley 9067948404 Merged V2.0 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5118 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5119 .
   - OpenSearch Proxy
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5121 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5122 .
   - Extract sample OpenSearch engine registrations into extension config file.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-13 21:21:48 +00:00

44 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/service/search/keyword?q={searchTerms}&amp;p={startPage?}&amp;c={count?}&amp;l={language?}&amp;guest=true&amp;format=atom
</url>
<url type="application/rss+xml">
http://[host]:[port]/alfresco/service/search/keyword?q={searchTerms}&amp;p={startPage?}&amp;c={count?}&amp;l={language?}&amp;guest=true&amp;format=rss
</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}&amp;itemstart={startIndex?}&amp;itempage={startPage?}&amp;itemlimit={count?}
</url>
</engine>
</engines>
</opensearch>
</config>
</alfresco-config>