<?xml version="1.0"?>
<document>
  <properties>
    <title>Apache Software Foundation - General DOAP Guidelines</title>
    <index>
      <text>Guidelines</text>
      <section>doapfiles</section>
      <order>1</order>
    </index>
  </properties>
  <body>
    <section>
      <title>General DOAP Guidelines</title>
       <section>
        <title>Formatting</title>
<ul>
<li>rdf:resource should be used when listing URLs. 
  <pre>i.e. &lt;doap:homepage rdf:resource="http://foo.apache.org/" /&gt;</pre> is the correct form to use.</li>
<li>the doap:Project element may be embedded in other styles of feed, e.g. within an Atom feed. When included in such a way it should still follow all guidelines, even if this means duplicating information.</li>
<li>Dates should be formatted as 'YYYY-MM-DD'. Numbers should be padded with '0' to match the formatting.
<pre>e.g. Jan 1st 2001 should be written as '2001-01-01'</pre></li>
<li>all URLs should be fully qualified, including the protocol.
  <pre>i.e. http://foo.bar.com/file.html</pre></li>
</ul>

      </section>
      <section>
        <title>Naming</title>
<ul>
<li>projects should include the 'Apache' prefix when listing their project name.
  <pre>i.e. 'Apache HTTPD' instead of 'HTTPD'.</pre></li>
</ul>

      </section>
      <section>
        <title>Categorisation</title>
<ul>
<li>programming languages should be given as capitals unless their well known name is mixed case.
  <pre>e.g. Java, SVG, Tcl, Perl, etc</pre><br/>
A full list of programming langauges we accept is available <a href="languages.html">here</a></li>
<li>all releases should have a "product" name (added using a doap:name element) included in the doap:Version element.<pre>
  i.e.
    "&lt;doap:Version&gt;
      &lt;doap:name&gt;Blah&lt;/doap:name&gt;..."
</pre></li>
<li>The categories that a project should be recorded as being within are recorded as rdf:resource using the following format<pre>
 http://projects.apache.org/category/&lt;category&gt;
  e.g. &lt;doap:category rdf:resource="http://projects.apache.org/category/mail" /&gt;</pre>
<br/>A list of the categories is available <a href="categories.html">here</a></li>
<li>the shortdesc element is used for providing a brief description on index pages and should be included.</li>
</ul>
      </section>
      <section>
        <title>PMC descriptors</title>
<ul>
<li>PMC descriptor files must always have the extension '.rdf', and must be listed in the file <br/>
<code><a href="https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/committees.xml">https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/committees.xml</a></code>
</li>
<li>PMCs can be referenced as an rdf:resource that points at http://&lt;pmc&gt;.apache.org/.  e.g. <br/>
<code>&lt;asfext:pmc rdf:resource="http://httpd.apache.org/" /&gt;</code>. <br/>
  In this case, the PMC descriptor file must be called <code>&lt;pmc&gt;.rdf</code> and must be
  stored in the directory: <br/>
  <code>https://svn.apache.org/repos/asf/comdev/projects.apache.org/data/committees/</code>
  </li>
<li>PMCs descriptors can also be stored anywhere else (e.g. on the TLP website or in SVN), in which case they
must be referenced using the full URL, for example  <br/>
<code>&lt;asfext:pmc rdf:resource="http://tlp.apache.org/pmc/tlp.rdf" /&gt;</code>
</li>
</ul>
      </section>
    </section>
  </body>
</document>
