initCommon(); $template->displayHeader(); ?>

6.2. The Metadata

The rpm-info.xml file contains all the required metadata for the document. This metadata includes title, authorship, licensing, and revision history. Example 6.1, “Example rpm-info.xml File” illustrates the content of this file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE rpm-info PUBLIC "-//Fedora//DTD Docs RPM-INFO V1.0//EN"
 "http://docs.fedoraproject.org/dtds/rpm-info.dtd">

<rpm-info>
  <colophon>
    <worker surname="Smith" firstname="John" othername="Q." 
      id="JohnSmith" email="jsmith@example.com" 
      wholename="John Q. Smith" initials="JS"/>
  </colophon>
  <author worker="JohnSmith"/>
  <license>
    <rights>OPL</rights>
    <version>1.0</version>
  </license>
  <copyright>
    <year>2006</year>
    <holder>John Q. Smith</holder>
  </copyright>
  <title>My Tutorial</title>
  <desc>A tutorial about something important</desc>
  <changelog order="newest-first">
    <revision date="2006-06-01" number="0.1" role="doc">
      <author worker="JohnSmith"/>
      <details>First draft</details>
    </revision>
  </changelog>
</rpm-info>

Example 6.1. Example rpm-info.xml File


If you are not familiar with XML editing, copy and paste this file from an existing module and then edit the values for the various elements as appropriate. Consult Fedora Documentation Project members and help channels for more assistance if needed.

displayFooter('$Date: 2008/04/10 02:37:06 $'); ?>