Skip Headers
Oracle® Fusion Middleware Managing Oracle WebCenter Content
11g Release 1 (11.1.1)

Part Number E26693-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

32 Conversion Templates

This chapter provides information about Dynamic Converter templates.

This chapter covers the following topics:

Related Topics

32.1 About Templates

Much of the power, flexibility, and complexity of Dynamic Converter is bound up in its use of templates to drive the conversion process. Templates give you immense control over the visual and navigational properties of the converted web page.

A template is a plain-text HTML or XML file that may include special tags which allow template writers to insert, repeat through, condition on, and link to various elements in the source document. You can associate these sets of formatting instructions with one or multiple content items that are stored in the Oracle WebCenter Content Server. When you assign a template to your content items (on the Template Selection Rules page), you are controlling the way your content items will appear as web pages.

When users click the (HTML) link (generated by Dynamic Converter) for a content item, a dynamic conversion takes place using the template associated with that content item (see Section 29.3).

32.2 Template Types

There are four types of templates available in Dynamic Converter:

For more information on the differences between HTML Conversion templates and script templates, as well as suggestions for migrating, see Section 33.3.3.

32.3 Template Strategy

Through the use of templates, Dynamic Converter users have infinite flexibility in the way they can present converted documents. Users typically use one of the following three strategies to select a template:

  1. A number of sample templates designed to meet different needs for Dynamic Converter users (polished navigation, simple HTML for document indexing engines, and so on) are available for download from Oracle Technology Network at http://www.oracle.com/technetwork/indexes/samplecode/.

  2. With a bit more effort, you can modify one of the sample templates available for download from Oracle Technology Network. Simple changes, such as adding graphics or static text, should be easily accomplished by someone with a willingness to experiment with these templates.

  3. Advanced users may choose to write a template of their own design, customized specifically to their needs. Such templates can incorporate elements from a wide range of Web standards, such as Java. Needless to say, users who go this route should have strong technical skills at the outset.

32.4 Checking In a Template

You need to check a template into the Content Server before it can be assigned to a template selection rule (see Chapter 31, "Template Rules") and used by Dynamic Converter in the conversion process.

To check in a template:

  1. Open the Dynamic Converter Admin page.

  2. Click Check In Existing Template.

  3. On the Template Check-In Form, specify all required metadata for the template.

    Make sure that you select the correct template type. If you do not, a template may not be included in the list of available templates of a particular type. If that is the case, you need to open the content information page of the checked-in template and update its template type.

  4. When you are done, click Check In to check the template file into the Content Server.

For more information about checking content into the Content Server, see Oracle Fusion Middleware Using Oracle WebCenter Content.