summaryrefslogtreecommitdiff
path: root/data/templates/doap.htm
blob: 0203edb0ebab09de3844aee8f28a416454bba521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:foaf="http://xmlns.com/foaf/0.1/"
         xmlns="http://usefulinc.com/ns/doap#">
 <Project rdf:about="{{link}}">
  <name>{{repo.getTitle}}</name>
  <homepage rdf:resource="{{link}}" />
  <created>{{date}}</created>
  {% set owner = repo.getOwner() %}
  <maintainer>
   <foaf:Person>
    <foaf:name>{{owner.name}}</foaf:name>
    <foaf:mbox rdf:resource="mailto:{{owner.email}}"/>
   </foaf:Person>
  </maintainer>
  {% if repo.getCloneURL(true) %}
  <repository>
   <GitRepository>
    <location rdf:resource="{{repo.getCloneURL(true)}}" />
    <browse rdf:resource="{{link}}" />
   </GitRepository>
  </repository>
  {%endif %}
 </Project>
</rdf:RDF>