content,
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:kid="http://purl.org/kid/ns#">
<?python
FOAF = redfoot.namespace("http://xmlns.com/foaf/0.1/")
DOAP = redfoot.namespace("http://usefulinc.com/ns/doap#")
projects = []
seen = set()
CAT = URIRef("/projects#using_rdflib", base=request.host)
for project in redfoot.subjects(DOAP.category, CAT):
if project not in seen:
seen.add(project)
label = redfoot.label(project) or project
projects.append((label, project))
projects.sort()
?>
<p>Have a project you'd like to have listed here? If so, assert that your doap:Project has doap:category of ${CAT} and send us a pointer to your doap (for now leave a comment on this page).
</p>
<ul>
<li kid:for="label, project in projects">
<a href="${redfoot.value(project, DOAP.homepage)}">${label}</a>
<p>${redfoot.value(project, DOAP.description, any=True)}</p>
</li>
</ul>
</div>
Comments regarding http://redfoot.net/3.0/doap/projects_content
Login to submit a comment.