Microsoft® CDF Generator is an easy-to-use, highly efficient tool for the creation of Channel Definition Format (CDF) files.
Note Microsoft CDF Generator is able to parse a Channel Definition Format file only if Microsoft® Internet Explorer 4.0 or later is installed on your computer.
You can download Microsoft CDF Generator from MSDN Online.
This article covers the following topics:
The user interface of Microsoft CDF Generator consists of two main parts.
Selecting New from the File menu will automatically launch a sequence of the five wizards that you can use to add elements or attributes to your channel. See the following section on wizards for more information.
Each one of the wizards shows a subset of pages where you can specify the different attributes of the element you are adding.
Select the check box of the elements that you want to associate with the channel and type in their respective properties:
Select the check box, and type in the URL of the logos that you want to represent a channel or an item:
Note Logo changes will not be detected unless the URL of the logo changes.
Toggle the top-level check box to select if you want to have a delivery schedule associated with your channel. If you do want a schedule, edit the schedule dates and the delivery timings sections according to your preferences.
Again, check or uncheck the element depending on your preferences, and edit the characteristics of your tracking notifications.
This speaks for itself.
Microsoft CDF Generator needs to be installed on a machine with Internet Explorer 4.0 because it uses COM objects of that browser to parse existing files.
To open an existing file, simply select Open from the File menu and point to the CDF file. If an error occurs, or if the CDF file contains errors and cannot be parsed, a dialog box with information appears.
Once you have defined a channel (just created or opened) you can add, modify, or delete any element in the CDF file. This is explained in the following section.
There are three ways of doing this.
Microsoft CDF Generator is intelligent in the sense that it will not let you add a child element twice if only one child element of that kind is supported for that element. For example, if you have already added a title to a channel, it will not display the TITLE element as an option in the menu. Or, when you add a subchannel to a channel it will not even display the schedule page in the wizard.
Simply double-click (or right-click and select Properties) on the element that you want to modify, and then type the new values into the appropriate boxes.
Click on the element that you want to delete and press the Delete key, or right-click and select Delete.
To download and open an existing file from the Web, select Open (URL) from the File menu and type the URL of the CDF file you want to open.
Note You will not be able to save this file back to the Web server. Save it on your local drive instead.
You can manually edit a CDF file in the Code Pane. To do that, select Edit Mode from the View menu. The content of the tree pane will be destroyed and rebuilt again when you exit the Edit Mode.
Select Test from the Tag menu, and all the child elements of the currently selected item in the tree pane will be recursively tested.
Note Only the visible elements are tested.
Microsoft CDF Generator allows users to save files in UTF-8 format by converting the text using UTF-8 encoding standards. Select View and then Options from the main menu, and in the General page, type UTF-8 in the encoding field.
Note All HTML character sets are valid in this field (such as windows-1250, big5, and so on).
If a channel includes a large number of subchannels and items, the tree pane can become overpopulated, making the structure hard to follow. To improve performance, the user can hide any tag in the tree pane. Select View and then Options from the main menu, and in the Advanced page, clear the check boxes beside the tags that should be hidden.
Note If the channel tag is hidden, the tree pane disappears.
New elements inserted into the CDF file are inserted according to an internal sort order. If you want to modify the order of an element, drag that element and drop it onto the element that should come after it in the order.