forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r516349 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap: resources/themes/common/html/doap-embedded.ft src/documentation/resources/themes/pelt.fv
Date Fri, 09 Mar 2007 09:54:01 GMT
Author: rgardler
Date: Fri Mar  9 01:54:00 2007
New Revision: 516349

URL: http://svn.apache.org/viewvc?view=rev&rev=516349
Log:
A template for embedding doap links in HTML

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/themes/common/html/doap-embedded.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/resources/themes/pelt.fv

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/themes/common/html/doap-embedded.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/themes/common/html/doap-embedded.ft?view=diff&rev=516349&r1=516348&r2=516349
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/themes/common/html/doap-embedded.ft
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/themes/common/html/doap-embedded.ft
Fri Mar  9 01:54:00 2007
@@ -25,9 +25,12 @@
     <p>The contract requires the locations of DOAP files to be passed in as parameters
using the following syntax :</p>
     <source>&lt;doap url="<em>food.rdf</em>"&gt;</source>
     <ul>
-      <li><strong>url</strong> attribute indicates the name location of
the DOAP file.
-     The <strong>url</strong> attribute is required.
+      <li><strong>url</strong> attribute indicates the location of the
DOAP file.
+      The <strong>url</strong> attribute is required.
       </li>      
+      <li><strong>title</strong> attribute indicates the title DOAP file.
+      The <strong>title</strong> attribute is optional an has a default value
of "DOAP".
+      </li> 
     </ul>
   </description>
   
@@ -56,7 +59,6 @@
       </xsl:template>
       
       <xsl:template match="doap[@url]">
-      <link href="mydoap.rdf" type=""/>
         <link rel="meta" type="application/rdf+xml">
           <xsl:choose>
             <xsl:when test="@title">

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/resources/themes/pelt.fv
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/resources/themes/pelt.fv?view=diff&rev=516349&r1=516348&r2=516349
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/resources/themes/pelt.fv
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/resources/themes/pelt.fv
Fri Mar  9 01:54:00 2007
@@ -34,7 +34,7 @@
   <forrest:view type="html" hooksXpath="/html/body">
     <forrest:contract name="doap-embedded">
       <forrest:property name="doap-embedded-links">
-        <doap url="doap.rdf"/>
+        <doap url="/projectDetails/source.xml"/>
       </forrest:property>
     </forrest:contract>
     



Mime
View raw message