This dialog shows up if you select the Import file command
from the File
menu. It allows you to import a file from the file
system into CMS Fiona. Please note that files cannot be imported as
documents and folders if they contain characters not permitted in XML
documents.
There are two ways of importing a file:
Select the file to be uploaded (using the Browse button, if necessary) and click Import. If only one file format is available for the type of the file to be imported, the file is imported immediately. Otherwise, a dialog is displayed, allowing you to choose the file format to be used.
In order to make an office file (a Word document, for example) available as HTML content, import it as a resource first. Then convert it to HTML using the corresponding command from the File menu.
The formats that can be chosen when importing a file depend on:
This is an example for creating a new file while importing:
When importing HTML files, the content of the body
element
becomes the main content of the CMS file. If the file to be imported contains
a head
element, the title of the CMS file will be extracted from
it (title
element). If the head
element contains
meta
elements, the CMS attempts to assign their values to the
corresponding fields of the CMS file provided that the format of the CMS file
includes fields with the same names. No error message is output if this is
not possible. Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>The title of the file</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="abstract" content="The abstract"> <meta name="short_title" content="The short title"> </head> <body> This is the main content </body> </html>