Re: Adding module descriptions



On 04/17/2009 10:18 AM, Dan Winship wrote:
Owen Taylor wrote:
Thanks to Shaun McCance there's no need to worry about how to create a
DOAP file, just find your module in:

  http://www.gnome.org/~shaunm/pulse/web/

And select the "Download DOAP template file" link to get a DOAP file for
your module that you can then edit as necessary. It might even already
have a good shortdesc if Pulse could find one from your .desktop file.

Some examples of additional useful DOAP tags that pulse isn't
(currently) generating but which people might want to add:

   <download-page
rdf:resource="ftp://ftp.gnome.org/pub/GNOME/sources/libsoup/"/>
   <bug-database
rdf:resource="http://bugzilla.gnome.org/browse.cgi?product=libsoup"/>
   <mailing-list
rdf:resource="http://mail.gnome.org/mailman/listinfo/libsoup-list"/>

DOAP has tags for describing source code repos too, but it doesn't seem
to support git. Oops.

And here's a clean doap file for Pango: http://tinyurl.com/dkhojg
Also attached at the end of this message.

Please, when you copy the template from pulse, spend 30 more seconds actually removing the "This is just a template" notice and don't forget to remove the comment markers!

behdad


<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
         xmlns:foaf="http://xmlns.com/foaf/0.1/";
         xmlns:gnome="http://api.gnome.org/doap-extensions#";
         xmlns="http://usefulinc.com/ns/doap#";>

  <name xml:lang="en">pango</name>
<shortdesc xml:lang="en">Internationalized text layout and rendering library</shortdesc>

  <homepage
  rdf:resource="http://www.pango.org/"; />
  <mailing-list
  rdf:resource="http://mail.gnome.org/mailman/listinfo/gtk-i18n-list"; />
  <download-page
  rdf:resource="http://download.gnome.org/sources/pango/"/>
  <bug-database
  rdf:resource="http://bugzilla.gnome.org/browse.cgi?product=pango"/>

  <maintainer>
    <foaf:Person>
      <foaf:name>Owen Taylor</foaf:name>
      <foaf:mbox rdf:resource="otaylor redhat com" />
      <gnome:userid>otaylor</gnome:userid>
    </foaf:Person>
  </maintainer>
  <maintainer>
    <foaf:Person>
      <foaf:name>Behdad Esfahbod</foaf:name>
      <foaf:mbox rdf:resource="behdad gnome org" />
      <gnome:userid>behdad</gnome:userid>
    </foaf:Person>
  </maintainer>
</Project>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]