Scenario 2: Creating an RSS flow that contains metadata - 6.1

Talend Components Reference Guide

EnrichVersion
6.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

This scenario describes a two-component Job that creates an RSS flow that holds metadata and then redirects the obtained information in an XML file of the output RSS flow.

Dropping and linking components

  1. Drop tRSSInput and tRSSOutput from the Palette to the design workspace.

  2. Connect the two components together using a Row > Main link.

Configuring the components

  1. Double-click tRSSInput to open its Basic settings view and define the component properties.

  2. Enter the URL for the RSS_Feed to access. In this scenario, tRSSInput links to the Talend RSS_Feed: http://feeds.feedburner.com/Talend.

  3. In the design workspace, double-click tRSSOutput to display its Basic settings view and define the component properties.

  4. In the File name field, use the by default file name and path, or browse to set your own for the output XML file.

  5. Select the encoding type on the Encoding Type list.

  6. In the Mode area, select RSS.

  7. In the Channel panel, enter a title, a description, a publication date and a link to define your input data as a whole.

  8. In the Optional Channel Element, define the RSS flow metadata. In this example, the flow has two metadata: copyright, which value is tos, and language which value is en_us.

  9. Click Edit Schema to modify the schema if necessary.

    Note

    You can click Sync Column to retrieve the generated schema from the preceding component.

Saving and executing the Job

  1. Press Ctrl+S to save your Job.

  2. Press F6 or click Run on the Run tab to execute the Job.

    The defined files are copied in the output XML file and the metadata display under the <channel> node above the information about the RSS flow.