To export to HTML

Previous pageReturn to chapter overviewNext page
1.Choose Export / HTML from the File menu.
 
You see the 'Export to HTML' window.
2.Choose Open from the File menu and select one of the standard export definitions.
 
Note: You can also create your own custom layouts. To do this you need to know how to create XSL templates: Save the xsl template that will generate the index page as an xsl file, and specify the path to this file in the Index template field. You find more information about xsl templates here, and in the online user forum.
3.In the Output folder field, specify the name of the folder where you want to store the generated pages.
4.Specify a title in the Title field. The title is displayed on the index page.
5.If you want to publish only a subset of your database, choose Filter from the Export menu and set up a filter.
6.To start the export process, click the Export button .
7.If you checked the Preview in browser when finished box, CATVids will automatically launch your web browser with the index page loaded when the export process is completed.

 

A xsl template file can contain the following processing instructions (for example <?data type="index"?>):

type

index: The main index page.

record: This type of template is used to create a document with data about one specific record (for example a  movie or a director).

list: This type of template is used to create a document with a list of multiple records (for example a list of videos).

table

The name of the table the data is fetched from.

recordspage

The number of records per page (list type documents). The default value is "25". Set it to "-1" to include all records in the list on the same page.

orderby

The order of the records in list type documents (for example "Title").

memoplaintext

Yes/No. Determines whether memo formatting is used or not. The default value is "No" (that is, memo formatting is preserved). To export the plain text (the unformatted text), set this to "Yes".

folder

The name of the folder the generated document is saved to (below the base output folder).

filename

The filename for index type documents (for example "Info.html").

For record and list type documents, the filename is created like this: prefix + main name (either record id number or record title) + suffix + fileext.

prefix

The filename prefix for record or list type documents (for example "video").

filenamerecordtitle

Yes/No. Determines whether the filename of the generated record type document is based on the record title (for example the movie title), or the record id number. The default value is "No" (that is, the record id is used).

suffix

The filename suffix for record or list type documents (for example "_memo").

fileext

The file extention. The default file extention is either "htm" or "html" (as specified in the Export window). This processing instruction lets you override this.

imagefolder

The name of the folder where images are saved to (below the folder the generated document is saved to). The default value is "img".

linktofield

Used when creating creating an overview page (for example "Contents.TitleSort" - see ContentsIndexMainOverview.xsl).

leadingzeros

The number of leading zeros in the filename for record type documents (when the record id is used as part of the filename) or list type documents (the page number). The default value is "0".

lookuptable

Instructs the program to include all data from a specific lookup table (for example "Person" - see ContentsDetails.xsl).