Developing a Mozilla Firefox plug-in for Content Management Interoperability Services

Return to article

Listing 3. Example feed
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<ns3:feed xmlns:ns5="http://docs.oasis-open.org/ns/cmis/restatom/200908/" 
xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:ns6=
"http://www.ibm.com/standards/ecm/p8/2008/cmis" xmlns:ns2=
"http://docs.oasis-open.org/ns/cmis/messaging/200908/" 
xmlns:ns3="http://www.w3.org/2005/Atom" xmlns:ns4="http://www.w3.org/2007/app">
    <ns3:link type="application/cmistree+xml" rel="down"
    href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/ContentTree/
    idf_0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0"/>
    <ns3:link type="application/atom+xml;type=entry" rel="via"
    href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Content/
    idf_0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0"/>
    <ns3:link type="application/atom+xml;type=entry" rel="self"
    href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/ContentFlat/
    idf_0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0"/>
    <ns3:link type="application/atomsvc+xml" rel="service" href=
    "http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Service/"/>
    <ns3:link type="application/atom+xml;type=feed" rel="first"
    href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/ContentFlat/
    idf_0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0?maxItems=25&skipCount=0"/>
    <ns3:id>http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Content/
    idf_0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0</ns3:id>
    <ns3:title type="text">FNSPStore</ns3:title>
    <ns3:updated>2009-12-05T14:14:36.753-08:00</ns3:updated>
    <ns3:generator version="1.0">IBM ECM CMIS Prototype</ns3:generator>
    <ns5:numItems>2</ns5:numItems>
    <ns3:entry>
        <ns5:object>
            <properties>
                <propertyString localName="cmis:createdBy" propertyDefinitionId=
                "cmis:createdBy">
                    <value>CEMPAdmin</value>
                </propertyString>
                <propertyDateTime localName="cmis:lastModificationDate" 
                propertyDefinitionId="cmis:lastModificationDate">
                    <value>2009-12-05T12:31:56.210-08:00</value>
                </propertyDateTime>
                <propertyString localName="PathName" 
                propertyDefinitionId="PathName">
                    <value>/Lotus</value>
                </propertyString>
                <propertyId localName="cmis:objectId" 
                propertyDefinitionId="cmis:objectId">
                    <value>idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F</value>
                </propertyId>
                <propertyString localName="Owner" propertyDefinitionId="Owner">
                    <value>cn=CEMPAdmin,cn=realm1,o=sample</value>
                </propertyString>
                <propertyDateTime localName="cmis:creationDate" 
                propertyDefinitionId="cmis:creationDate">
                    <value>2009-12-05T12:31:56.210-08:00</value>
                </propertyDateTime>
                <propertyString localName="cmis:name" 
                propertyDefinitionId="cmis:name">
                    <value>Lotus</value>
                </propertyString>
                <propertyBoolean localName="IsHiddenContainer" 
                propertyDefinitionId="IsHiddenContainer">
                    <value>false</value>
                </propertyBoolean>
                <propertyString localName="cmis:lastModifiedBy" 
                propertyDefinitionId="cmis:lastModifiedBy">
                    <value>CEMPAdmin</value>
                </propertyString>
                <propertyId localName="cmis:parentId" 
                propertyDefinitionId="cmis:parentId">
                    <value>idf_0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0</value>
                </propertyId>
                <propertyString localName="cmis:allowedChildObjectTypeIds" 
                propertyDefinitionId="cmis:allowedChildObjectTypeIds">
                    <value>cmis:document</value>
                    <value>cmis:folder</value>
                </propertyString>
                <propertyId localName="cmis:baseTypeId" 
                propertyDefinitionId="cmis:baseTypeId">
                    <value>cmis:folder</value>
                </propertyId>
                <propertyId localName="cmis:objectTypeId" 
                propertyDefinitionId="cmis:objectTypeId">
                    <value>cmis:folder</value>
                </propertyId>
            </properties>
        </ns5:object>
        <ns3:id>http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Content/
        idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F</ns3:id>
        <ns3:updated>2009-12-05T12:31:56.210-08:00</ns3:updated>
        <ns4:edited>2009-12-05T12:31:56.210-08:00</ns4:edited>
        <ns3:published>2009-12-05T12:31:56.210-08:00</ns3:published>
        <ns3:title type="text">Lotus</ns3:title>
        <ns3:content type="html"><B>cmis:folder</B><table>
        <tr><td>
        cmis:createdBy</td><td>CEMPAdmin</td></tr>
        <tr><td>cmis:lastModificationDate</td><td>
        2009-12-05T12:31:56.210-08:00</td></tr><tr>
        <td>PathName</td><td>/Lotus</td></tr>
        <tr><td>cmis:objectId</td><td>
        idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F</td></tr><tr>
        <td>Owner</td><td>cn=CEMPAdmin,cn=realm1,o=sample</td>
        </tr><tr><td>cmis:creationDate</td><td>
        2009-12-05T12:31:56.210-08:00</td></tr><tr><td>
        cmis:name</td><td>Lotus</td></tr><tr><td>
        IsHiddenContainer</td><td>false</td></tr>
        <tr><td>cmis:lastModifiedBy</td><td>CEMPAdmin</td>
        </tr><tr><td>cmis:baseTypeId</td><td>
        cmis:folder</td></tr><tr><td>cmis:objectTypeId</td>
        <td>cmis:folder</td></tr><tr><td>cmis:parentId
        </td><td>idf_0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0
        </td></tr><tr><td>cmis:allowedChildObjectTypeIds
        </td><td>cmis:document</td></tr></table>
        </ns3:content>
        <ns3:summary type="text"/>
        <ns3:author>
            <ns3:name>CEMPAdmin</ns3:name>
        </ns3:author>
        <ns3:link type="application/atom+xml;type=feed" rel="enclosure"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/ContentFlat/
        idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F"/>
        <ns3:link type="application/atom+xml;type=feed" rel="alternate" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/ContentFlat/
        idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F"/>
        <ns3:link type="application/atom+xml;type=entry" rel="self"
        href="http://cmis.example.com:8080/p8cmis/resources/
        FNSPStore/Content/idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F"/>
        <ns3:link type="application/atom+xml;type=entry" rel="edit" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        Content/idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F"/>
        <ns3:link type="application/atom+xml;type=feed" rel="up" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        ContentFlat/idf_0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0"/>
        <ns3:link type="application/cmisallowableActions+xml" 
        rel="http://docs.oasis-open.org/ns/cmis/link/200908/allowableactions"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        AllowableActions/cmis:folder/idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F"/>
        <ns3:link type="application/atom+xml;type=feed" rel="down" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        ContentFlat/idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F"/>
        <ns3:link type="application/cmistree+xml" rel="down"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/ContentTree/
        idf_CCD77C07-F896-43A1-9AF0-C65DFD118B3F?depth=2"/>
        <ns3:link type="application/atom+xml;type=entry" rel="describedby"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Type/
        cmis:folder?includePropertyDefinitions=true"/>
        <ns3:link type="application/atomsvc+xml" rel="service" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Service/"/>
        <ns5:pathSegment>Lotus</ns5:pathSegment>
    </ns3:entry>
        <ns3:entry>
        <ns5:object>
            <properties>
                <propertyId localName="Reservation" 
                propertyDefinitionId="Reservation">
                    <value>os:{20E00123-2556-44A2-9F2D-F14A378D6FA7}class:
                    {01A3A8C2-7AEC-11D1-A31B-0020AF9FBB1C}object:
                    {3E614A61-95DF-4A00-89B0-33E807242F45}</value>
                </propertyId>
                <propertyId displayName="Reservation" localName="Reservation" 
                propertyDefinitionId="Reservation">
                    <value>{3E614A61-95DF-4A00-89B0-33E807242F45}</value>
                </propertyId>
                <propertyString localName="cmis:createdBy" 
                propertyDefinitionId="cmis:createdBy">
                    <value>CEMPAdmin</value>
                </propertyString>
                <propertyDateTime localName="cmis:lastModificationDate" 
                propertyDefinitionId="cmis:lastModificationDate">
                    <value>2009-12-05T14:29:18.277-08:00</value>
                </propertyDateTime>
                <propertyBoolean localName="cmis:isImmutable" 
                propertyDefinitionId="cmis:isImmutable">
                    <value>false</value>
                </propertyBoolean>
                <propertyBoolean localName="cmis:isLatestVersion" 
                propertyDefinitionId="cmis:isLatestVersion">
                    <value>false</value>
                </propertyBoolean>
                <propertyInteger localName="MajorVersionNumber" 
                propertyDefinitionId="MajorVersionNumber">
                    <value>0</value>
                </propertyInteger>
                <propertyId localName="cmis:objectId" 
                propertyDefinitionId="cmis:objectId">
                    <value>idd_3E614A61-95DF-4A00-89B0-33E807242F45</value>
                </propertyId>
                <propertyString localName="ContentElementsPresent" 
                propertyDefinitionId="ContentElementsPresent">
                    <value>application/octet-stream</value>
                </propertyString>
                <propertyString localName="cmis:name" 
                propertyDefinitionId="cmis:name">
                    <value>Example%20Document</value>
                </propertyString>
                <propertyInteger localName="MinorVersionNumber" 
                propertyDefinitionId="MinorVersionNumber">
                    <value>1</value>
                </propertyInteger>
                <propertyInteger localName="ClassificationStatus" 
                propertyDefinitionId="ClassificationStatus">
                    <value>0</value>
                </propertyInteger>
                <propertyBoolean localName="IsReserved" 
                propertyDefinitionId="IsReserved">
                    <value>true</value>
                </propertyBoolean>
                <propertyBoolean localName="IsVersioningEnabled" 
                propertyDefinitionId="IsVersioningEnabled">
                    <value>true</value>
                </propertyBoolean>
                <propertyInteger localName="CompoundDocumentState" 
                propertyDefinitionId="CompoundDocumentState">
                    <value>0</value>
                </propertyInteger>
                <propertyString localName="Owner" propertyDefinitionId="Owner">
                    <value>cn=CEMPAdmin,cn=realm1,o=sample</value>
                </propertyString>
                <propertyDateTime localName="cmis:creationDate" 
                propertyDefinitionId="cmis:creationDate">
                    <value>2009-12-05T14:29:04.054-08:00</value>
                </propertyDateTime>
                <propertyInteger localName="ReservationType" 
                propertyDefinitionId="ReservationType">
                    <value>32</value>
                </propertyInteger>
                <propertyInteger localName="VersionStatus" 
                propertyDefinitionId="VersionStatus">
                    <value>3</value>
                </propertyInteger>
                <propertyBoolean localName="IsInExceptionState" 
                propertyDefinitionId="IsInExceptionState">
                    <value>false</value>
                </propertyBoolean>
                <propertyString localName="cmis:lastModifiedBy" 
                propertyDefinitionId="cmis:lastModifiedBy">
                    <value>CEMPAdmin</value>
                </propertyString>
                <propertyInteger localName="cmis:contentStreamLength" 
                propertyDefinitionId="cmis:contentStreamLength">
                    <value>592147</value>
                </propertyInteger>
                <propertyString localName="cmis:contentStreamMimeType" 
                propertyDefinitionId="cmis:contentStreamMimeType">
                    <value>application/octet-stream</value>
                </propertyString>
                <propertyString localName="cmis:contentStreamFileName" 
                propertyDefinitionId="cmis:contentStreamFileName">
                    <value>file0</value>
                </propertyString>
                <propertyId localName="cmis:versionSeriesId" 
                propertyDefinitionId="cmis:versionSeriesId">
                    <value>{659F7F2D-3914-4C41-B66A-198459BED4D1}</value>
                </propertyId>
                <propertyString localName="cmis:versionLabel" 
                propertyDefinitionId="cmis:versionLabel">
                    <value>0.1</value>
                </propertyString>
                <propertyBoolean localName="cmis:isMajorVersion" 
                propertyDefinitionId="cmis:isMajorVersion">
                    <value>false</value>
                </propertyBoolean>
                <propertyBoolean localName="cmis:isLatestMajorVersion" 
                propertyDefinitionId="cmis:isLatestMajorVersion">
                    <value>false</value>
                </propertyBoolean>
                <propertyString localName="cmis:versionSeriesCheckedOutBy" 
                propertyDefinitionId="cmis:versionSeriesCheckedOutBy">
                    <value>CEMPAdmin</value>
                </propertyString>
                <propertyId localName="cmis:versionSeriesCheckedOutId" 
                propertyDefinitionId="cmis:versionSeriesCheckedOutId">
                    <value>{3E614A61-95DF-4A00-89B0-33E807242F45}</value>
                </propertyId>
                <propertyBoolean localName="cmis:isVersionSeriesCheckedOut" 
                propertyDefinitionId="cmis:isVersionSeriesCheckedOut">
                    <value>true</value>
                </propertyBoolean>
                <propertyId localName="cmis:baseTypeId" 
                propertyDefinitionId="cmis:baseTypeId">
                    <value>cmis:document</value>
                </propertyId>
                <propertyId localName="cmis:objectTypeId" 
                propertyDefinitionId="cmis:objectTypeId">
                    <value>cmis:document</value>
                </propertyId>
            </properties>
        </ns5:object>
        <ns3:id>http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        Content/idd_3E614A61-95DF-4A00-89B0-33E807242F45</ns3:id>
        <ns3:updated>2009-12-05T14:29:18.277-08:00</ns3:updated>
        <ns4:edited>2009-12-05T14:29:18.277-08:00</ns4:edited>
        <ns3:published>2009-12-05T14:29:18.277-08:00</ns3:published>
        <ns3:title type="text">Example%20Document</ns3:title>
        <ns3:summary type="text">A document</ns3:summary>
        <ns3:content src="http://cmis.example.com:8080/p8cmis/resources/
        FNSPStore/ContentStream/idd_3E614A61-95DF-4A00-89B0-33E807242F45/-1" 
        type="application/octet-stream"/>
        <ns3:author>
            <ns3:name>CEMPAdmin</ns3:name>
        </ns3:author>
        <ns3:link type="application/atom+xml;type=entry" rel="self"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Content/
        idd_3E614A61-95DF-4A00-89B0-33E807242F45"/>
        <ns3:link type="application/atom+xml;type=entry" rel="edit" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Content/
        idd_3E614A61-95DF-4A00-89B0-33E807242F45"/>
        <ns3:link type="application/atom+xml;type=entry" rel="working-copy" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Content/
        idd_3E614A61-95DF-4A00-89B0-33E807242F45"/>
        <ns3:link type="application/cmisallowableActions+xml" 
        rel="http://docs.oasis-open.org/ns/cmis/link/200908/allowableactions"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/AllowableActions/
        cmis:document/idd_3E614A61-95DF-4A00-89B0-33E807242F45"/>
        <ns3:link type="application/atom+xml;type=feed" rel="up"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Parents/
        cmis:document/idd_3E614A61-95DF-4A00-89B0-33E807242F45"/>
        <ns3:link type="application/atom+xml;type=feed" rel="version-history"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Allversions/
        idd_3E614A61-95DF-4A00-89B0-33E807242F45"/>
        <ns3:link type="application/atom+xml;type=feed" 
        rel="http://docs.oasis-open.org/ns/cmis/link/200908/relationships"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Relationships/
        cmis:document/idd_3E614A61-95DF-4A00-89B0-33E807242F45"/>
        <ns3:link type="application/atom+xml;type=entry" rel="describedby" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Type/
        cmis:document?includePropertyDefinitions=true"/>
        <ns3:link type="application/atomsvc+xml" rel="service" 
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/Service/"/>
        <ns3:link length="592147" title="file0" 
        type="application/octet-stream" rel="stream"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        ContentStream/idd_3E614A61-95DF-4A00-89B0-33E807242F45/0"/>
        <ns3:link length="592147" title="file0" 
        type="application/octet-stream" rel="enclosure"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        ContentStream/idd_3E614A61-95DF-4A00-89B0-33E807242F45/-1"/>
        <ns3:link length="592147" title="file0" 
        type="application/octet-stream" rel="alternate"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        ContentStream/idd_3E614A61-95DF-4A00-89B0-33E807242F45/-1"/>
        <ns3:link length="592147" title="file0" type="application/octet-stream" 
        rel="view"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        ContentStream/idd_3E614A61-95DF-4A00-89B0-33E807242F45/-1"/>
        <ns3:link length="592147" title="file0" type="application/octet-stream" 
        rel="edit-media"
        href="http://cmis.example.com:8080/p8cmis/resources/FNSPStore/
        ContentStream/idd_3E614A61-95DF-4A00-89B0-33E807242F45/-1"/>
        <ns5:pathSegment>Example%20Document</ns5:pathSegment>
    </ns3:entry>
</ns3:feed>

Return to article