12.5. An Example
Prev | Chapter 12. Metadata | Next

## 12.5. An Example

In the Kino configuration file ( Chapter 4, Preferences )...

    newProjectURI=http://cms/query=%s

causes Kino to prompt the user for a project name. When the user clicks OK, the server returns the following XML:

    <storylist id="1234">
      <story id="56789">
        <title>Kino 0.7.1 is Released</title>
      </story>
      <story></story>
      ...
    </storylist>

    newProjectXPath=/storylist/@id

causes Kino to locate the actual story ID and associate it with this project.

    metaNames=*title

causes Kino to automatically add and show only one metadata item.

    metaValues_title=xpath:/storylist/story/title=xpath:/storylist/story/@id

causes Kino to show all of the stories retrieved through the XPath query as the list of values from which to choose. Furthermore, the user can only choose from the values in this list. Also, while the user interface shows the story titles, Kino actually stores the story ID of the selected story in the movie's SMIL file.

Prev | Up | Next
12.4. newProjectXPath | Home | Chapter 13. Keyboard Shortcut Reference