+

Search Tips   |   Advanced Search

Add the custom namespace definition to the feed


The first requirement is to add the namespace reference to the <rss> element at the beginning of the feed.

The URL of the namespace is specified using the following tag:

This is a fixed property value that the feed parser uses as the key to identify elements which belong to the custom Web Content Integrator namespace.

For example:

<?xml version="1.0"?>
 <rss version="2.0" xmlns:ibmwcm="http://purl.org/net/ibmfeedsvc/1.0" >
 <channel>
  <title>Sample Feed</title>
  <link>http://www.ibm.com/feeds/sample.rss</link>
  <description>An example RSS Feed</description>
  <lastBuildDate>Tue, 31 Oct 2006 10:31:00 EST</lastBuildDate>
  <item>
   <title>News Item Two</title>
   <link>http://www.ibm.com/news/two.htm</link>
   <description>
   This is a summary of the second news article    </description>
   <pubDate> Tue, 31 Oct 2006 10:31:00 EST</pubDate>
   <ibmwcm:itemType>Content</ibmwcm:itemType>
  </item>
 </channel>
</rss>
The namespace label "ibmwcm" can be changed so long as the label specified in the namespace declaration matches the label used on the extended elements in the feed.


Parent: RSS Namespace Extension for Web content