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>