|
Generating Web outputThe Web context outputs one HTML web page that contains the HTML text and all the resources necessary to display it. JavaScript files are added to the <head> in the generated HTML file. They are useful to add special features such as those offered by jQuery and its plugins, or MooTools. Style sheets are also added to the <head> and are used just as they would be used in a regular web page. Web output can be generated in two different ways: it can be attached to an Email template when generating Email output, or it can be generated using Workflow. Web output can be generated from the Designer when a data set is available. The data can be retrieved from a database or data file, or from a Data Mapping Configuration. If you have an open Data Mapping Configuration and open another data file, the current Data Mapping Configuration will try to retrieve data from the file or database using its own Data Model and extraction logic. When generating output with just an open Data Mapping Configuration, the template is merged with the complete sample data file that is part of the Data Mapping Configuration. The output is not limited to the number of records shown in the Data Model pane (which is one of the settings in the DataMapper).
Before generating Web outputBefore actually generating the Web output, you may want to rasterize certain elements, such as business graphics. Rasterizing converts the element to a JPG or PNG image. This is very useful to support as many
clients as possible. For example,
when a heading uses a font type that is not a Web font, converting the heading to JPG
instead would ensure that the heading looks the same in all browsers. Attaching Web output to an Email templateTo attach the Web context to Email output:
Generating Web output from Workflow
Web output settings in the Web context and sectionsThere are a few settings for the Web context and Web sections that have an impact on the actual web page that is generated. These settings are:
|
|