Linking Data Sources

part of a tutorial on the Dynamic Publishing System by Karl Goldstein

This lesson illustrates how to use a sequence of dependent data sources to prepare dynamic content for a template.

Create the specification file

Create a file named name.data in a test directory of your server and enter the following specification:

This specification contains two data sources. The first data source is a CGI parameter that must be included in the URL. If it is not found or null, the filter will return a standard error message to the user.

The data sources are evaluated in the order in which they appear in the file, so the value from the first data source can be referenced in the second. Note that the variable must be enclosed in curly braces because it contains a period.

View the data dictionary

Create the template

The template for this lesson does not introduce anything new:

View results

Tutorial Contents
karlg@arsdigita.com