Export as Web Outline


Overview

When you export a map using 'Export as Web Outline Option', one or more HTML pages will be built which contain the views and their nodes which you have chosen to export. The pages will be formatted according to the settings you enter on the The HTML Formatting Options dialog.

Export Options

As you can see from figure 1., this dialog is separated into many panels. The first tab contains the 'Node Selection' panel.


Figure 1. Export as Web Outline Options dialog, showing the 'Node Selection' tab.

Here you specify which views and nodes you wish to export using the following options:


Option

Purpose

Current View only

If this option is selected, the view to export is considered to be the current view only.

Selected Views

If this option is selected, the views which will be exported will be any views that you have selected on the current map.

Other Views

If this option is selected, the 'Choose Views' button will become availbale. If you press this button a diloag will open similar to the one in figure 2 below. This dialog will list all the views in your current database so you can select the ones you wish to export.

Nodes in view only

If this option is selected, each view will have all its nodes exported.

One level down

If this option is selected, each view will have its nodes exported and if any of them are map or list nodes, it will export their nodes as well.

Full depth

If this option is selected, each view will have its nodes exported and if any of them are map or list nodes, it will export their nodes as well, and if any of their nodes are maps or lists, is will export their nodes as well etc.... (depending on you view relationships, this options could potentially export many or all of your views, so use it with caution!).

Export each view in a separate HTML file

If you have chosen to export more than one view, and you have checked this option, each view will be exported to a separate HTML file, otherwise all views will be added to the asme HTML file.

HTML title for the base web page

Any text typed in this field will be used as the HTML page title for the main web page (as shown in the Browser title bar).

Include reference files? If you select this option any locally referenced files will be included in the export in a directory called 'references'.
Export to Zip Archive? If you select this option, all the files and folder generated will be placed inside a single zip file
Open Export after completion? If you select this, the HTML page will be opened in your default browser after the export has completed.


Figure 2. The views selection dialog.


The second tab contains the 'Format & Contents' panel, see figure 3 below:


Figure 3. Export as HTML Outline Options dialog, showing the 'Layout' tab.

Here you specify which which elements to include in the export using the following options:


Option

Purpose

Outline Format

This displays the a drop-down menu listing all existing HTML export formats, with the current chosen export format displayed. Beside this is a button to open the Formatting dialog. Compendium will come with one 'Default' format setup for you.

See Formatting for more details.

Include a navigation menu

Adds a contents list down the left margin of the html page, with links to all views exported.

Include node author

If this option is selected, node author information will be included in the HTML export. If it is not selected, it won't.

Include images

If this option is selected, images will be included in the HTML export. If it is not selected, they won't.

Include tags

Include lists of tags and links to views in which a node is transcluded.

Include views Include lists of links to views in which a node is transcluded.

Include tags/ views as inline text

If tags and/or views included show then as links in the html page itself.

Show tags / views in new window

If tags and / or views included, include them as single links which open new windows displaying a list of associated tags or views.

No node detail pages

If this option is selected, node detail pages will NOT be included in the HTML export.

Include all node detail pages

If this option is selected, all node detail page will be included in the HTML export.

Include node detail pages for Dates

If this option is selected, only node detail pages with 'Entered' dates in the range specified in the 'From' .. 'To' dates fields, will be included in the HTML export.

Note: Drop down lists can be navigated through key pressed, e.g first letter of month, or first number of day or year.

Display detail page dates

If this option is selected, the associated 'Entered' and 'Last Modified' dates will be displayed above each page exported. If it is not selected, they won't be displayed.


The third tab contains the 'Node Anchors' panel, see figure 4 below:


Figure 4. Export as HTML Outline Options dialog, showing the 'Node Anchors' tab.

Here you specify which which node anchors to use on export if any, using the following options:


Option

Purpose

Include anchors on node labels

If this option is selected, anchors will be added to all node labels.

Include anchors on node detail pages

If this option is selected, anchors will be added to all node detail pages.

Use images for anchors

If this option is selected, the images entered below will be used to represent the anchors

You can either select from the given list of default anchor images or select your own.

The actual anchors stored in the html reference the node identifiers for the node exported as follows:

  1. nid<node id>
  2. detail<node id>

Use purple numbers

If this option is selected, purple numbers will be used as anchors. The visible numbers start at '1' for each page exported and increment as required.

The actual anchors stored in the html reference the node identifiers for the node exported as follows:

  1. nid<node id>
  2. detail<node id>


Formatting

For the HTML outline export you can setup one or more format styles. Compendium comes with one 'Default' format style to get you started. For each format style you can set a variety of formatting elements to determine the look of the HTML which is produced on export. These are effectively changing settings in style sheet which is at the top of each exported page.

Below is an example of the HTML Format dialog window. This can be accessed by pressing the 'Create / Edit Format' button which can be found on the 'Web Outline Export' dialog's 'Format & Contents' tab.


Figure 5. The HTML Formatting Options dialog


The Format Style is a drop-down menu displaying the current styles which exist. Compendium comes with a format called 'Default', so initally this will display 'Default' and the Default format style properties will be displayed in the dialog.

The Format ID relates to the name of the file that the format is saved to in System\resources\OutlineStyles folder. This allows you to locate the correct file should you wish to exchange style formats with other Compendium users. For user created formats the file name will be a world wide unique number with the file extension '.properties'. For example if you create a style the id could be '137108251921173972102138' so therefore the format file would be'137108251921173972102138.properties'.

The Format Node Data, held in the central table, contains the style data for formatting the node information. Tthere are seven blocks of elements for which you can set formatting information. The first is the 'Heading' of the page. The following six are for up to six possible levels of view depth which you may be exporting, (that is a map within a map, which itself is within another map etc..). View depth greater than six, will currently use the setting for level 6.

In each of these blocks, there are seven basic page elements:


Element

Description

Label

This element represents the node label.

Detail

This elements represents the detail page text in a node.

Detail Date

This element represents the detail page date.

Reference

This element represents the reference field associated with reference nodes.

Author

This element represents the author information for a node.

Tags

This element represents the tags associated with a node.

Views

This element represents the views a given node appear in.

For each of these elements, there are seven properties that you can set:


Property

Description

Left Margin

This preference specifies how far in from the left edge of the HTML page, this page element will be indented. The number you enter will be interpreted as being in inches.

Top Margin

This preference specifies how much of a gap will be drawn above the current element.

This therefore controls the page spacing of the elements vertically. The number you enter will be interpreted as being in inches.

Font

This preference allows you to select the font you wish to use for this element.

Size

This preference sets the size of the font you wish to use for this element.

Style

This preference sets the style of the font used for this element.

background

This allows you to select the background colour to be used with this element. Clicking on this table cell will open the Color Chooser dialog.

text color

This allows you to select the colour of the text used for this element. Clicking on this table cell will open the Color Chooser dialog.


All your formatting settings will be saved each time you change them, and loaded again next time you open the HTML Format dialog window.

In order to assist in setting all the options in the table more quickly, there are three buttons below the table which provide the following shortcuts:


Table Buttons

Figure 6. The buttons on the Format Node Data table.

Button

Action

Cascade Heading Settings

If you press this button, all the settings that you have entered in the first block, the 'Heading' section, will be copied into the equivalent positions of all the six blocks below.

Copy to 'Like' Row

First you need to select a cell. Tthen when you press this button, the information in the selected cell will be copied to the equivalent cell in all the other blocks.

Copy to Whole Column

First you need to select a cell. Tthen when you press this button, the information in the selected cell will be copied to all the other cells in its column.

In the Format Navigation & View Divider section you can set the properties of the Navigations menu (if you choose to include it in the export), and the colour of the dividing line used between Views (if views are not exported to separate files).


Dialog Bottom Buttons

Figure 7. The Format Navigation Menu & View Divider section of the dialog.

The menu properties you can set are the font elements used for the menu items, the colour of the menu background, and the colour of the menu border.

The final part of the dialog to discuss is the button bar at the bottom of the dialog. The table below described the function of the buttons:


Dialog Bottom Buttons

Figure 8. The bottom buttons on the dialog.

Button

Action

Save

This will save any changes made to the currently displayed format. It will set the current format as the one to use for the export, and it will close the dialog.

Save As

This will save the current format data into a new file. You will be shown a small dialog asking you for the name of the new format (which must be unique). It will not close the dialog.

Delete

The will delete the currently select format. Note: you cannot delete the 'Default' format.

Cancel

This will close the Formatting Dialog without saving any changes made to the currently displayed format.

Help This will launch the Compendium help and open this page.

Exporting

Once you have set any export options and formatting properties you wish to, you press the 'Export' button (see figure 1). This will open a file browser window, similar to the one in figure 9, below.


Figure 9. The Export File Browser dialog


You then need to specify the file you wish to export to, either a html file for the top file, or a zip file if exporting to zip, and then press 'Save'. The export process will then begin. The time this takes will vary, and will depend on the number of views you are exporting, and the depth to which you are exporting them. There is currently no progress bar shown, so please be patient.