I'm trying to display results from the REST API of IBM Content Analytics in Windows 7 Explorer through its OpenSearch integration. The REST API returns an Atom feed with an <atom:entry>
element for each search hit.
My problem is: As soon as the type
attribute of an element's <atom:link>
has a value other than text/html
, the respective search hit in Windows explorer is displayed as "No information available". In the below minimal example, the search hit is displayed correctly as soon as you remove the type="application/msword"
or change its value to text/html
.
<atom:entry>
<atom:title>Hit B</atom:title>
<atom:link rel="alternate" type="application/msword" href="http://192.168.111.130:8394/api/v10/document/content?collection=Search&uri=file:///C:/DataFiles/Price%2BChange.doc" hreflang="en"/>
<atom:id>file:///C:/DataFiles/Price+Change.doc</atom:id>
<atom:summary>...B</atom:summary>
</atom:entry>
Can anyone explain this behaviour or say how to avoid it and display non-text/html
results in Windows Explorer?
Documentation seems scarce, most of the stuff I found was in the two documents linked below, but I didn't find anything on this issue there.