Oracle® Fusion Middleware Administrator's Guide for Dynamic Converter 11g Release 1 (11.1.1) E10634-02 |
|
Previous |
Next |
Home > Administrator's Guid... > Configuring Dynamic Converter
This section covers the following topics:
Before you begin using Dynamic Converter to design templates for your content items, the following must be in place:
Content items checked into the Content Server. See the Content Server User Guide for information on how to check in content.
Dynamic Converter templates checked into the Content Server with the correct template type. See Chapter 4, "Conversion Templates" for more information.
Template selection rules added, with associated metadata and templates. See Chapter 3, "Template Rules" for more information.
Conversion formats and other pertinent information specified on the Dynamic Converter Configuration page. See "Dynamic Converter Configuration Page" for more information.
A default template is applied to content items that do not match your defined template criteria. To change the default template associated with your content items, complete the following steps:
Open the Dynamic Converter Admin page (see "Dynamic Converter Admin Page").
Click Configuration Settings.
The Dynamic Converter Configuration Page is displayed (see "Dynamic Converter Admin Page").
In the Template text box, under the Default Template heading, enter the content ID for a template. You can select the type of template from the Template Types menu and then choose your desired template from the Available Templates menu.
In the Layout text box, under the Default Layout heading, enter the content ID for a layout template. You can also choose your desired layout template from the Available Layouts menu. (Layouts only apply for the Classic HTML Conversion templates.)
Click Update at the bottom of the Dynamic Converter Configuration page to enable your default templates.
In earlier versions of Dynamic Converter, the following error message appeared when a content item did not match any template criteria and a default template (such as "plain.hcst") was not specified:
Content Server Request Failed. Could not convert the content to html. The default conversion template has not been set.
This is no longer the case. A blank template is automatically assigned to content items that do not match any of your template criteria. You can override this template with your own default template (by following the above steps).
The file format (MS Word, RTF, plain text, etc.) of your content items must be included in the conversion formats list in order for Dynamic Converter to recognize and convert the content item. Only file formats included in this list will have an (HTML) link beside them on the search results page, content information page, and so on.
This section covers the following topics:
You can add one or more file formats on the Dynamic Converter Configuration page at any time. To add a new file format, complete the following steps:
Open the Dynamic Converter Admin page (see "Dynamic Converter Admin Page").
Click Configuration Settings.
The Dynamic Converter Configuration Page is displayed (see "Dynamic Converter Configuration Page").
Under the Conversion Formats heading, in the formats text box, type the file format that you would like converted into a web page (or select it from the menu to the right). Formats in the text box must be separated by a comma and a space, for example:
application/msword, application/vnd.ms-excel
File formats must follow the naming convention in Content Server's Configuration Manager. For example, Microsoft Word documents are entered as application/doc or application/msword.
Note that with Office 2007 files (e.g., docx, xlsx, and pptx), you must enable the following formats on the DC Configuration page to see the (HTML) link:
application/vnd.openxmlformats-officedocument.presentationml.presentation application/vnd.openxmlformats-officedocument.presentationml.slide application/vnd.openxmlformats-officedocument.presentationml.slideshow application/vnd.openxmlformats-officedocument.presentationml.template application/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.openxmlformats-officedocument.spreadsheetml.template application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.openxmlformats-officedocument.wordprocessingml.template
For more information on file format naming conventions, see the Content Server administration documentation.
Click Update to add your file formats to Dynamic Converter.
You can remove file formats on the Dynamic Converter Configuration page at any time. To remove a file format, complete the following steps (you cannot undo this operation):
Open the Dynamic Converter Admin page (see "Dynamic Converter Admin Page").
Click Configuration Settings.
The Dynamic Converter Configuration Page is displayed (see "Dynamic Converter Configuration Page").
Under the Conversion Formats heading, in the formats text box, select the file format that you would like to remove.
Press the Delete key on your keyboard to remove the file format from the text box. Be sure that you only remove the format that you wish to eliminate, and not all the formats listed in the box.
Click Update to remove the file format from Dynamic Converter.
Note: If you accidentally delete the wrong file format, add it again, and then click Update. |
If you intend to use Dynamic Converter templates to convert PowerPoint presentations, it is recommended that you use an HTML Conversion template. You will be able to customize your template by navigating to Document Formatting > Presentations Tab in the template editor.
If you use a Classic HTML Conversion template, you should use the "slideshow" hcst files provided. You will need to check in all three of the slideshow files (slideshow.hcst, slideshowb.hcst, and slideshowc.hcst). A sample PowerPoint file (dc_powerpoint.ppt) is also included in the /ucm/Distribution/DynamicConverterSamples directory.
If you have Dynamic Converter configured in such a way that it automatically assigns content IDs upon file check-in, you need to edit each slideshow template file to reflect this. Each file must then be checked in again before you can begin using the templates.
To configure the slideshow template files for conversion of PowerPoint presentations, complete the following steps:
Check all three slideshow files (slideshow.hcst, slideshowb.hcst, and slideshowc.hcst) into the Content Server. Make sure that you check them in as script templates. See "Checking In a Template" for more information.
To ensure the files are checked into the correct Web Layout directory, make sure that you use the same content type, security group, and account (if applicable) for all three files.
If the content IDs are generated automatically, locate and note the automatically generated content ID of each slideshow file.
If the content IDs are not generated automatically, it is recommended that you use something like "DC-Slideshow," "DC-SlideshowB," and "DC-SlideshowC."
Access the slideshow files.
Open each of the slideshow hcst files in a text editor, such as WordPad or vi, and then search for and replace the following slideshow references with the appropriate content IDs:
Important: Be sure to save your changes before closing each file. |
slideshow.hcst:
Search for: "slideshowbtemplate"
Replace with: the content ID of the checked-in slideshowb.hcst template. For example, 1002 or DC-SlideshowB.
slideshowb.hcst:
Search for: "slideshowctemplate"
Replace with: the content ID of the checked-in slideshowc.hcst template. For example, 1003 or DC-SlideshowC.
slideshowc.hcst:
Search for: "slideshowbtemplate"
Replace with: the content ID of the checked-in slideshowb.hcst template. For example, 1002 or DC-SlideshowB.
Make absolutely sure that you retain the file extension, so something like:
{## link element=sections.current.bodyorimage template=slideshowbtemplate.hcst}.
If you do not, the application may throw an exception during the HTML conversion.
On UNIX systems, the content ID is case-sensitive, so "dc-slideshow" is not the same as "DC-Slideshow" or "DC-SLIDESHOW."
Search for the slideshow files in the Content Server and click the Info link on the search results page.
The content information page is displayed.
Click Check out.
Click Check In on the check-out confirmation page.
Browse to the modified slideshow files in the /ucm/Distribution/DynamicConverterSamples directory and click Check In on the content check-in form.
You can now set up the conversion format for PowerPoint presentations (see "Setting Up Conversion Formats") and assign the checked-in templates to a template rule (see Chapter 3, "Template Rules").
Dynamic Converter 11gR1 does not support the wireless template type, but still provides wireless support based on the Classic HTML Conversion templates. An existing Content Server with an earlier version of Dynamic Converter may still have the wireless template type, but attempting to use it will cause failure.
To remove the wireless template from the list of available templates, complete these steps:
Open a new browser window and log into Content Server as a system administrator (with the "sysmanager" role).
Open the Admin Applets page.
Click Configuration Manager under the Administration Applets section.
The Configuration Manager window is displayed.
On the Information Fields tab, choose the TemplateType row and click Edit.
The editing dialog for the TemplateType field is displayed.
Click Configure.
The Configure Option List dialog is shown.
Click Edit.
The Option List dialog is displayed.
Highlight Wireless Template and press the Delete key to remove the Wireless Template as an option.
Click OK three times to return to the Configuration Manager window.
Choose Options from the menu bar.
Choose Publish Schema. This propagates your changes to the Content Server.
Exit the Configuration Manager application and wait a few minutes. Then revisit the template check-in form.