You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/09/20 23:23:27 UTC

svn commit: r290568 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice: src/documentation/content/xdocs/voice.fv templates/ templates/voice-markup.ft

Author: rgardler
Date: Tue Sep 20 14:23:19 2005
New Revision: 290568

URL: http://svn.apache.org/viewcvs?rev=290568&view=rev
Log:
add a skeleton contract for the creation of the voice markup in head

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft
Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv?rev=290568&r1=290567&r2=290568&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv Tue Sep 20 14:23:19 2005
@@ -19,12 +19,13 @@
 <forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0">
   <forrest:view type="xhtml">
     <forrest:css url="default.css"/>
-    <forrest:contract name="siteinfo-meta">
-      <forrest:properties contract="siteinfo-meta">
-        <forrest:property name="siteinfo-meta" nugget="get.build.info">
-          <url>build-info</url>
-        </forrest:property>
-      </forrest:properties>
+    <forrest:contract name="voice-markup"/>
+    <forrest:contract name="siteinfo-meta">
+      <forrest:properties contract="siteinfo-meta">
+        <forrest:property name="siteinfo-meta" nugget="get.build.info">
+          <url>build-info</url>
+        </forrest:property>
+      </forrest:properties>
     </forrest:contract>
     <forrest:hook name="container">
       <forrest:hook name="header">

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft?rev=290568&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft Tue Sep 20 14:23:19 2005
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<forrest:contract name="voice-markup" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the voiceXML markup for the document.
+    NOTE: This is a placeholder template only - it is not currently functional.
+  </description>
+  <usage><![CDATA[<forrest:contract name="voice-markup"/>]]></usage>
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="voice-markup" inputFormat="xsl" body="false" head="true">
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  <xsl:template name="voice-markup-head">
+		    <meta name="voice-generator" content="org.apache.forrest.plugins.output.voice"/>
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file



Re: svn commit: r290568 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice: src/documentation/content/xdocs/voice.fv templates/ templates/voice-markup.ft

Posted by Ross Gardler <rg...@apache.org>.
David Crossley wrote:
> The 'svn add' shows that your svn client is not configured properly
> http://www.apache.org/dev/version-control.html#https-svn


Doh!

Another set of extensions I've not got marked as text. They've been 
added to the list at http://www.apache.org/dev/svn-eol-style.txt so 
there is no excuse.

Thanks for spotting this David, I will take the necessary action.

Ross

Re: svn commit: r290568 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice: src/documentation/content/xdocs/voice.fv templates/ templates/voice-markup.ft

Posted by David Crossley <cr...@apache.org>.
The 'svn add' shows that your svn client is not configured properly
http://www.apache.org/dev/version-control.html#https-svn

-David

> Author: rgardler
> Date: Tue Sep 20 14:23:19 2005
> New Revision: 290568
> 
> URL: http://svn.apache.org/viewcvs?rev=290568&view=rev
> Log:
> add a skeleton contract for the creation of the voice markup in head
> 
> Added:
>     forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/
>     forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft
[snip]