Use the GoLive CS2 SDK Programmer's Guide to configure Co-Author to import data from additional external data
sources. (To access the SDK, open the GoLive CS2/Adobe GoLive SDK folder on your hard disk.)
1
Do one of the following:
If you plan to use a CSV file as a data source, make sure that the first row of the file contains the items you wish to
•
use as item names. To use a link col (a column that contains links to an image file), mark it with "@" in the CSV
file (for example, @image). Links must be absolute relative to the CSV file.
If you plan to use an InDesign Package for GoLive file based on a merged InDesign document, make sure that you
•
place data field placeholders on master pages when you create the merged document in InDesign. (For infor
mation about creating merged InDesign documents, search for information about creating target files in InDesign
Help.)
2
Click Browse in the Data Source field in the "section.aglsec" window, navigate to the file, and click Open.
Note: When you import items from an external data source, you cannot edit the resulting data in the Co-Author Editor
or in Adobe Co-Author. Use the Data Source option only if you have a data source from which you want to automatically
generate pages. If you need to make changes, make them in the data source file, and then regenerate the pages in Co-
Author.
To manually enter items in the section window
In the section window, select Name in the Item Name column. When you select an item, it appears in the editable
1
fields at the bottom of the list.
In the editable fields, enter the item name and the display name, choose an option for the selected item from the
2
Format Type menu and, if necessary, specify the height of the item as it will appear in the Co-Author Editor and in
Adobe Co-Author. (The display name is the name that appears next to the editable field in the Co-Author Editor and
in Adobe Co-Author.)
3
Click the Create New Item icon.
Repeat steps 1-3 for each item you want to add to the section.
4
See also
"Page templates" on page 420
Creating co-author templates
Co-author templates specify the layout of items by using editable regions. A co-author section can have an unlimited
number of templates.
You can create two types of templates: page templates and list templates. Page templates let you create a separate web
page for each story in the co-author section. List templates let you create a single web page that contains a list of the
items (editable regions) from multiple stories.
You can use a list template as a component to populate table cells on a static web page. Create the list template, and
then link a cell's component to the template using the Inspector. After you create stories and generate the web pages,
the table cell contains a list of the repeated regions from multiple stories.
ADOBE GOLIVE CS2
456
User Guide