Skip Headers
Oracle® Secure Enterprise Search Administrator's Guide
11g Release 1 (11.1.2.2)

Part Number E21605-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

Data Feed Example

The following example shows a data feed containing three documents.

<?xml version="1.0" encoding="UTF-8"?> 
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  version="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xsi:schemaLocation="http://xmlns.oracle.com/orarss 
     C:\project_drive\SES Application Search\RSS Format Schema\orarss.xsd"> <channel> 
<title>Contacts</title> 
<link>http://my.company.com/rss</link> 
<description>The channel contains feed for contacts</description>
<lastBuildDate>2006-04-03T12:20:20.00Z</lastBuildDate> 
<channelDesc xmlns="http://xmlns.oracle.com/orarss" > 
     <feedType>full</feedType> 
</channelDesc> 
<item> 
     <link>http://my.company.com/contacts?id=paul</link> 
     <itemDesc xmlns="http://xmlns.oracle.com/orarss" operation="insert"> 
     <documentMetadata> 
       <author>Administrator</author> 
       <accessURL>http://foo.com</accessURL>
       <lastModifiedDate>2009-12-12T12:22:22.00Z</lastModifiedDate>
       <keywords>Content Contact</keywords> 
       <summary>This is the summary of the document.</summary> 
       <sourceHierarchy> 
           <path>company</path>
           <path>department</path>
           <path>group</path>
       </sourceHierarchy>
       <docAttr name="organization">Reports</docAttr>
       <docAttr name="country">Germany</docAttr>
     </documentMetadata>
     <documentAcl>
       <securityAttr name="EMPLOYEE_ID">0R9NH</securityAttr> 
     </documentAcl> 
     <documentInfo> 
       <status>STATUS_OK_FOR_INDEX</status>
     </documentInfo>
     <documentContent>
       <contentLink contentType="text/html">http://my.company.com/reports.html</contentLink> 
       <content contentType="text/plain">Paul Robinson, A240, Westland Drive</content> 
     </documentContent> 
   </itemDesc> 
</item> 
<item> 
   <link>http://my.company.com/contacts?id=tom</link> 
   <itemDesc xmlns="http://xmlns.oracle.com/orarss" operation="delete"/> 
</item> 
<item> 
   <link>http://my.company.com/contacts?id=robert</link> 
   <itemDesc xmlns="http://xmlns.oracle.com/orarss" operation="insert"> 
   <documentMetadata> 
     <author>Administrator</author> 
     <accessURL>http://foo.com</accessURL>
     <lastModifiedDate>2009-12-12T12:22:22.00Z</lastModifiedDate> 
     <keywords>Content Contact </keywords> 
     <summary>This is the summary of the document</summary> 
     <sourceHierarchy> 
       <path>company</path>
       <path>department</path>
       <path>group</path>
     </sourceHierarchy>
     <docAttr name="organization">Sales</docAttr>
     <docAttr name="country">China</docAttr>
     </documentMetadata>
     <documentAcl>
       <securityAttr name="EMPLOYEE_ID">I23489</securityAttr> 
     </documentAcl> 
     <documentInfo> 
       <status>STATUS_OK_FOR_INDEX</status>
     </documentInfo>
     <documentContent>
       <contentLink contentType="text/html">http://my.company.com/sales.html</contentLink > 
       <content contentType="text/plain">Robert Mogambo, C318, Lakeside Avenue</content> 
     </documentContent> 
   </itemDesc> 
</item> 
</channel> 
</rss>