Customizing web feed integration: Parse feeds from other feed
sources
By default, the web feed integration feature parses and
loads RSS 2.0 and Atom 1.0 feeds. If you want to use other types of
feeds, for example older versions of RSS or Atom, implement a custom
feed parser and configure it in the Web-feed-config.xml file.
Procedure
Open WebSphere Commerce Developer.
Locate the WebSphereCommerceServerExtensionsLogic project
and add Foundation-DataLoad-FEP.jar to the build
path of the project.
Create a Java class that extends the existing com.ibm.commerce.foundation.dataload.feedreader.FeedReader interface.
Implement all the methods in the FeedReader interface to
return the parsed feed data.
Package the custom feed parser class, and helper classes,
in the WebSphereCommerceServerExtensionsLogic project to a JAR file.
If it does not already exist, create the following directory: WCDE_installdir\ext\lib. Copy the JAR
file to the WCDE_installdir\ext\lib directory.
In the Web-feed-config.xml file configure
the custom parser for each end point where a custom parser is used.
Results
The feed is parsed using custom feed parsers and the data
is loaded to the WebSphere Commerce system.