Tree :



 Faceted index, by topics :
Menu

 
Category
V5 (46)
V5.01 (21)
V5.10 (15)
V5.20 (32)
V5.30 (16)
V5.31 (1)
V5.32 (4)
V5.33 (16)
V5.34 (7)
V5.35 (2)
V5.40 (27)
V5.41 (7)
V5.42 (4)
V5.43 (6)
V5.50 (1)
V5.60 (1)
V5.61 (1)
 
 How to insert these widgets?

      4. Tutorials
          4.1. A quick tour to create a Web site
 4.1.4. Import ideas 

Let's now automatically fill ideas describing A. Hitchcock's filmography, by using a simple database : a CSV text file with records made of fields and separating characters (delimiters).

The delimiter is a '\t' (tab) character, and the fields of the CSV field are :

 Title (English)
 Title (French)
 Genre
 Year
 Duration
 Comment
 Actor 1
 Actor 2
 Actor 3
 Actor 4
 Actor 5
 Actor 6
 Actor 7
 Actor 8

First, click on the "Film works" idea.

In the "Import/Export" menu select the "Import ideas from CSV file", and, in the dialog box, select the fields as shown in figure 6 : double click on chosen fields (or use "<<" and ">>" buttons), and set field order with "Up" and "Down" buttons. Repeat the selection of "Actor" field 8 times.

You can set all these options at once by loading the predefined filter "Tutorial.iif" while using the "Load" button.

Note that 'Genre' field in the data file has been mapped to "keywords" for each idea : it will be used as an index when the Web site is created.

Validate.

The chosen format is then shown in a message box. In case of error, cancel to go back to the previous dialog. Finally, select the data file : Projects/Tutorial/Hitchcock/films.txt.

Imported data are transformed into child ideas of the current selection : here, all A. Hitchcock's films are placed under the "Film works" idea.

Figure 6 : import ideas.
Figure 6 : import ideas.