forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r574087 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap: resources.xmap resources/stylesheets/descriptorIndex-to-foaf.xsl src/documentation/content/xdocs/index.xml
Date Sun, 09 Sep 2007 22:05:33 GMT
Author: rgardler
Date: Sun Sep  9 15:05:33 2007
New Revision: 574087

URL: http://svn.apache.org/viewvc?rev=574087&view=rev
Log:
get all maintainers from all projects in a single RDF file

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-foaf.xsl
  (with props)
Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources.xmap?rev=574087&r1=574086&r2=574087&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources.xmap Sun
Sep  9 15:05:33 2007
@@ -38,6 +38,12 @@
         <map:serialize type="js"/>
       </map:match>
       
+      <map:match pattern="projectDetails/allMaintainers.rdf">
+        <map:generate type="file" src="cocoon://projectDetails/descriptorIndex.xml" />
+        <map:transform src="{lm:doap.transform.descriptorIndex.foaf}"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      
       <map:match pattern="projectDetails/**.rdf">
         <map:generate src="cocoon://projectDetails/{1}.source.xml" />
         <map:serialize type="xml"/>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-foaf.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-foaf.xsl?rev=574087&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-foaf.xsl
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-foaf.xsl
Sun Sep  9 15:05:33 2007
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version = "1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:atom="http://www.w3.org/2005/Atom"
+  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
+  xmlns:doap="http://usefulinc.com/ns/doap#"
+  xmlns:foaf="http://xmlns.com/foaf/0.1/">
+  <xsl:template match="descriptors">
+    <rdf:RDF>
+      <xsl:apply-templates select="//doap:maintainer"/>      
+    </rdf:RDF>
+  </xsl:template>
+  
+  <xsl:template match="doap:maintainer">
+    <xsl:copy-of select="*"/>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-foaf.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml?rev=574087&r1=574086&r2=574087&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml
Sun Sep  9 15:05:33 2007
@@ -177,22 +177,33 @@
         you require further help please ask on the user mailing list.
       </p>
       
-      <ul>
-        <li><a href="projectDetails/projectDetails.source.xml">Source XML file</a></li>
-        <li><a href="projectDetails/projectDetails.rdf">Source RDF file (if the
source file is an RDF/XML file this will be the same as the previous example - currently only
RDF/XML is supported)</a></li>
-        <li><a href="projectDetails/projectDetails.html">Descriptor page for
this plugin</a></li>
-        <li><a href="projectDetails/forrest.html">Descriptor page for Forrest</a></li>
-        <li><a href="projectDetails/index/byLang.html">Index by language</a></li>
-        <li><a href="projectDetails/index/byLang/Java.html">Index by specific
language (Java)</a></li>
-        <li><a href="projectDetails/index/byCategory.html">Index by category</a></li>
-        <li><a href="projectDetails/contacts.csv">Comma separated list of project
contacts who have a recorded email address</a></li>
-      </ul>
+      <section>
+        <title>Project Details</title>
+      
+        <ul>
+          <li><a href="projectDetails/projectDetails.source.xml">Source XML file</a></li>
+          <li><a href="projectDetails/projectDetails.rdf">Source RDF file (if
the source file is an RDF/XML file this will be the same as the previous example - currently
only RDF/XML is supported)</a></li>
+          <li><a href="projectDetails/projectDetails.html">Descriptor page for
this plugin</a></li>
+          <li><a href="projectDetails/forrest.html">Descriptor page for Forrest</a></li>
+          <li><a href="projectDetails/index/byLang.html">Index by language</a></li>
+          <li><a href="projectDetails/index/byLang/Java.html">Index by specific
language (Java)</a></li>
+          <li><a href="projectDetails/index/byCategory.html">Index by category</a></li>
+          <li><a href="projectDetails/allProjects.json">JSON file for all projects</a></li>
+        </ul>
+      </section>
+      
+      <section>
+        <title>Maintainer Details</title>
+        <ul>
+          <li><a href="projectDetails/allMaintainers.rdf">All maintainers</a>
for all projects in FOAF format</li>
+          <li><a href="projectDetails/contacts.csv">Comma separated list of project
contacts who have a recorded email address</a></li>
+        </ul>
+      </section>
       
       <section>
         <title>In Development Features</title>
       
           <ul>
-            <li><a href="projectDetails/allProjects.json">JSON file for all projects</a></li>
             <li><a href="exhibitTest.html">Browse the catalogue using Exhibit
from MIT</a></li>
           </ul>
       </section>



Mime
View raw message