The XML-Feed Gear uses XSL-Transformation to display content from a local or remote XML file according to the transformation rules provided by a local or remote XSL file. This gear can serve as a simple XSLT gear or can display content from various external content providers. For example, an instance of the XML-Feed Gear can be configured to act as a real-time stocks, weather, or news gear.

The XML-Feed Gear uses the standard Jakarta Xtags tag library. You should enable gear caching to optimize gear performance for gears that utilize XML parsing. Gear caching is enabled by default for the sample XML Feed Gear. Gear caches use time-based expiration so any changes made to the underlying XML file are reflected in the user’s portal experience once the cache timeout expires.

You can have more than one XML-Feed Gear on a page, with each gear receiving a different feed.

Configuring the XML-Feed Gear for Simple XSLT

Point the XML and XSL sources to the appropriate location. The Stocks, Weather and Business-News versions of the XML-Feed Gear in the Content Syndication Gear Folder are good examples of how to use this gear for simple XSLT.

Configuring the XML-Feed Gear for External Content Providers

The XML-Feed Gear provides a framework for configuring it with various external XML content providers. The gear users can customize the content. These customization parameters are mapped to the URL of the XML source. For more information on gear parameters and customization, refer to the Portal Development Guide.

Installation Configuration

You can configure the source feed installation settings of the XML-Feed Gear.

Instance Configuration

The Configure Basics page for an instance of the XML-Feed Gear allows you to configure the usual gear basics:

The additional configuration page for the XML-Feed Gear allows you to configure each of the source feed and output parameters that you can configure in the Portal Administration’s installation configuration for the gear:


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices