You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2004/11/24 13:24:18 UTC

svn commit: r106411 - in forrest/trunk/plugins/org.apache.forrest.plugin.fbits: . fbits

Author: thorsten
Date: Wed Nov 24 04:24:15 2004
New Revision: 106411

URL: http://svn.apache.org/viewcvs?view=rev&rev=106411
Log:
cleaned the fbit old sitemap and extracted the pdf,txt,... links into fbits
Added:
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-pdf.link-fct.xml   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-pod.link-fct.xml   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-txt.link-fct.xml   (contents, props changed)
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-xml.link-fct.xml   (contents, props changed)
Removed:
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/org-sitemap.xmap

Added: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-pdf.link-fct.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-pdf.link-fct.xml?view=auto&rev=106411
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-pdf.link-fct.xml	Wed Nov 24 04:24:15 2004
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  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.
+-->
+<contract name="pdf-fct" nc="pdf" tlc="content">
+  <description>
+    This functions will output the PDF link with image.
+  </description>
+  <xhtml>
+    <head/>
+    <body>
+      <div id="pdf" title="Portable Document Format"><a href="{$filename-noext}.pdf" class="dida">
+        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF - icon"/><br/>
+        PDF</a>
+      </div>
+    </body>
+  </xhtml>
+</contract>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-pod.link-fct.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-pod.link-fct.xml?view=auto&rev=106411
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-pod.link-fct.xml	Wed Nov 24 04:24:15 2004
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  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.
+-->
+<contract name="pod-fct" nc="pod" tlc="content">
+  <description>
+    This functions will output the POD link with image.
+  </description>
+  <xhtml>
+    <head/>
+    <body>
+      <div class="podlink" title="Plain Old Documentation"><a href="{$filename-noext}.pod" class="dida">
+        <img class="skin" src="{$skin-img-dir}/poddoc.png" alt="POD - icon" /><br/>
+        POD</a>
+      </div>
+    </body>
+  </xhtml>
+</contract>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-txt.link-fct.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-txt.link-fct.xml?view=auto&rev=106411
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-txt.link-fct.xml	Wed Nov 24 04:24:15 2004
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  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.
+-->
+<contract name="txt-fct" nc="txt" tlc="content">
+  <description>
+    This functions will output the TXT link with image and print link.
+  </description>
+  <xhtml>
+    <head/>
+    <body>
+      <script type="text/javascript" language="Javascript">
+function printit() {
+  if (window.print) {
+    window.focus();
+    window.print();
+  }
+}
+        </script>
+
+        <script type="text/javascript" language="Javascript">
+var NS = (navigator.appName == "Netscape");
+var VERSION = parseInt(navigator.appVersion);
+if (VERSION > 3) {
+  document.write('<div class="txt" title="Print this Page">');
+  document.write('  <a href="javascript:printit()" class="dida">');
+  document.write('    <img class="skin" src="{$skin-img-dir}/printer.gif" alt="print - icon" />');
+  document.write('    <br />');
+  document.write('  PRINT</a>');
+  document.write('</div>');
+}
+        </script>
+    </body>
+  </xhtml>
+</contract>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-xml.link-fct.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-xml.link-fct.xml?view=auto&rev=106411
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/fbits/c-xml.link-fct.xml	Wed Nov 24 04:24:15 2004
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  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.
+-->
+<contract name="xml-fct" nc="xml" tlc="content">
+  <description>
+    This functions will output the XML link with image.
+  </description>
+  <xhtml>
+    <head/>
+    <body>
+      <div class="xml" title="raw XML"><a href="{$filename-noext}.xml" class="dida">
+        <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="XML - icon" /><br/>
+        XML</a>
+      </div>
+    </body>
+  </xhtml>
+</contract>

Deleted: /forrest/trunk/plugins/org.apache.forrest.plugin.fbits/org-sitemap.xmap
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/org-sitemap.xmap?view=auto&rev=106410
==============================================================================