Show TOC Start of Content Area

Background documentation RSS-to-XHTMLB Transformer  Locate the document in its SAP Library structure

This topic describes the RSS-to-XHTMLB transformer provided by SAP. It also discusses parameters associated with the XML transformer, which you can customize in the XML iView Editor.

Name

RSS_TO_XHTMLB

Description

An XSL-based (Extensible Stylesheet Language) transformer, which converts RSS-based XML feeds to the intermediate XHTMLB format.

The resulting XHTMLB format cannot be handled by the portal runtime. Therefore, this XML transformer should be positioned before the XHTMLB HTMLB transformer (XHTMLBSAXHandler) in a pipeline transformation.

Input format

RSS (versions 0.91, 0.92, 1.0, and 2.0)

Output format

XHTMLB

Parameters

LinksTarget

·        Description: Specifies the target frame or window for links displayed in the runtime RSS feed.

·        Value type: String

·        Valid values: See MSDN for a definition of pre-defined valid values; however, you can use your own definitions. In the portal framework, typically you want the links to open in a new window, and if a window is already open, subsequent links should open in that window replacing the previous content.

·        Default value: _RSSItemWindow  

ShowDatesMode

·        Description: Defines which dates are displayed in the output format.

·        Value type: String

·        Valid values:

·         MAIN_ONLY: Only the main feed update date is shown.

·         ITEMS_ONLY: Only the item dates in the RSS are shown.

·         ALL: The feed update date and all item dates are shown.

·        Default value: ITEMS_ONLY  

ShowTime

·        Description: Specifies whether or not to display the time of each item. Note that the time display is affected also by ShowDatesMode parameter (the time is shown only where the date is displayed).

·        Value type: Boolean

·        Valid values: true, false   

·        Default value: true  

GroupByDate

·        Description: Specifies whether or not to groups items according to date. This parameter is not valid when ShowDatesMode is set to MAIN_ONLY.

·        Value type: Boolean

·        Valid values: true, false   

·        Default value: true  

DateFormat

·        Description: Defines the output format of the date display.

·        Value type: String

·        Valid values: The syntax is defined in java.text.SimpleDateFormat class documentation in the JDK (Java Development Kit).

·        Default value: EEEE, MMM dd, yyyy  

TimeFormat

·        Description: Defines the output format of the time display.

·        Value type: String

·        Valid values: The syntax is defined in java.text.SimpleDateFormat class documentation in the JDK (Java Development Kit).

·        Default value: HH:mm:ss a  

ScrollHeight

·        Description: Specifies the height of the area displaying the list of items in the iView below the header area. This parameter does not affect the generic iView Height property of the iView.

·        Value type: String

·        Valid values: Enter either a value in pixels or percentage. For example: 300 or 50%  

·        Default value: 300 (pixels)

 

 

End of Content Area