WebSphere Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows


 

Importing and exporting HTML

You can import HTML and export HTML to and from presentation templates and elements that store HTML.

Web Content Management automatically imports images within the body of the imported HTML that are referenced using an "img" tag. Web Content Management does not import other image reference types.

For example, Web Content Management will not import an image referenced within a "background" tag. To import an image in tags other than "img" tags, import the image into a file resource component and then reference the file resource component within the imported HTML.

Web Content Management does not verify if the imported HTML or text is valid. For example, if you import HTML that contains a JavaScript error, then that error will appear in your content when previewed.

The encoding of the current browser window determines the encoding of the imported or exported HTML. For example if the browser is currently using GB2312 for Chinese, then only GB2312 encoded HTML can be imported, and on export the exported HTML encoding will be GB2312.

  1. To import HTML click Import.

    1. Select the file you want to upload and then click Save.
  2. To export HTML click Export.

    1. Navigate to the directory you would like to export the HTML file to and then click OK. Note: No warning is given when exporting HTML to a file that already exists. Care should be taken not to save over existing HTML files when exporting HTML.
Parent topic: Working with element designs Related concepts
Text, rich text and HTML elements User name element Using presentation templates Related tasks
Importing large files and images Defining menu element formatting options Defining navigator element design options Using a Personalization element Using a taxonomy element Using an authoring tools element Using a page navigation element
Library | Support | Terms of use |