You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jo...@apache.org on 2010/06/03 00:14:17 UTC

svn commit: r950792 - in /qpid/trunk/qpid/doc/website: content/amqp.html content/download.html content/getting_started.html content/home.html content/qpid_integrated_with.html template/template.html tools/generate

Author: jonathan
Date: Wed Jun  2 22:14:17 2010
New Revision: 950792

URL: http://svn.apache.org/viewvc?rev=950792&view=rev
Log:
Eliminated various dead links.

Added:
    qpid/trunk/qpid/doc/website/tools/generate   (with props)
Modified:
    qpid/trunk/qpid/doc/website/content/amqp.html
    qpid/trunk/qpid/doc/website/content/download.html
    qpid/trunk/qpid/doc/website/content/getting_started.html
    qpid/trunk/qpid/doc/website/content/home.html
    qpid/trunk/qpid/doc/website/content/qpid_integrated_with.html
    qpid/trunk/qpid/doc/website/template/template.html

Modified: qpid/trunk/qpid/doc/website/content/amqp.html
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/website/content/amqp.html?rev=950792&r1=950791&r2=950792&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/website/content/amqp.html (original)
+++ qpid/trunk/qpid/doc/website/content/amqp.html Wed Jun  2 22:14:17 2010
@@ -8,7 +8,7 @@
 
   <p>Apache Qpid implements the latest AMQP specification, providing transaction management, queuing, distribution, security, management, clustering, federation and heterogeneous multi-platform support and a lot more. </p>
 
-  <p>Apache Qpid is highly optimized, and <a href="/confluence/display/qpid/AMQP+compatibility" title="AMQP compatibility">aims to be 100% AMQP Compliant</a>.</p>
+  <p>Apache Qpid is highly optimized, and <a href="compatibility.html" title="AMQP compatibility">aims to be 100% AMQP Compliant</a>.</p>
 
   <h2><a name="AMQP%28AdvancedMessageQueueingProtocol%29-DownloadtheAMQPSpecifications"></a>Download the AMQP Specifications</h2>
 

Modified: qpid/trunk/qpid/doc/website/content/download.html
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/website/content/download.html?rev=950792&r1=950791&r2=950792&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/website/content/download.html (original)
+++ qpid/trunk/qpid/doc/website/content/download.html Wed Jun  2 22:14:17 2010
@@ -165,7 +165,7 @@
 	<tr>
 	  <td> JMX Management Console <br  /> </td>
 
-	  <td> <a href="http://www.apache.org/dist/qpid/0.6/qpid-jmx-management-console-0.6-linux-gtk-x86.tar.gz">Linux x86</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-linux-gtk-x86_64.tar.gz">Linux x86_64</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-macosx.zip">Mac OS X</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-solaris-gtk-sparc.zip">Solaris 10 Sparc</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-win32-win32-x86.zip">Windows x86</a> </td>
+	  <td> <a href="http://www.apache.org/dist/qpid/0.6/qpid-jmx-management-console-0.6-linux-gtk-x86.tar.gz">Linux x86</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-linux-gtk-x86_64.tar.gz">Linux x86_64</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-macosx.zip">Mac OS X</a> <a href="http://www.apache.org/dist/qpid/0.6/qpid-jmx-management-console-0.6-solaris-gtk-sparc.tar.gz">Solaris 10 Sparc</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-win32-win32-x86.zip">Windows x86</a> </td>
 	</tr>
     </tbody></table>
   </div>
@@ -386,6 +386,6 @@
 
   <h2><a name="Download-SourceCodeRepository"></a>Source Code Repository</h2>
 
-  <p>The latest version of the code is always available in the <a href="/confluence/display/qpid/Source+Repository" title="Source Repository">Source Repository</a>.</p>
+  <p>The latest version of the code is always available in the <a href="source_repository.html" title="Source Repository">Source Repository</a>.</p>
 </div>
 

Modified: qpid/trunk/qpid/doc/website/content/getting_started.html
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/website/content/getting_started.html?rev=950792&r1=950791&r2=950792&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/website/content/getting_started.html (original)
+++ qpid/trunk/qpid/doc/website/content/getting_started.html Wed Jun  2 22:14:17 2010
@@ -44,7 +44,7 @@
 	  <ul>
 	    <li>Examples: <a href="http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/examples/">http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/examples/ </a></li>
 
-	    <li><a href="http://cwiki.apache.org/confluence/display/qpid/.NET+User+Guide">.NET Tutorial </a></li>
+	    <li><a href="http://qpid.apache.org/net-user-guide.html">.NET Tutorial </a></li>
 	  </ul>
 	</li>
       </ul>
@@ -55,12 +55,12 @@
 
 	<li><a href="http://cwiki.apache.org/confluence/display/qpid/How+to+Use+JNDI">JNDI Configuration for Java JMS </a></li>
 	<li><a href="http://qpid.apache.org/docs/api/python/html/index.html">Python Client API  (AMQP 0-10) </a></li>
-	<li><a href="/confluence/display/qpid/Documentation" title="Documentation">Documentation</a></li>
+	<li><a href="documentation.html" title="Documentation">Documentation</a></li>
       </ul>
     </li>
     <li>Get your Questions Answered
       <ul>
-	<li>Read the <a href="/confluence/display/qpid/FAQ" title="FAQ">FAQ</a></li>
+	<li>Read the <a href="https://cwiki.apache.org/confluence/display/qpid/FAQ" title="FAQ">FAQ</a></li>
 
 	<li>Ask a question on the user list <a href="mailto:users-subscribe@qpid.apache.org">users-subscribe@qpid.apache.org</a></li>
       </ul>

Modified: qpid/trunk/qpid/doc/website/content/home.html
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/website/content/home.html?rev=950792&r1=950791&r2=950792&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/website/content/home.html (original)
+++ qpid/trunk/qpid/doc/website/content/home.html Wed Jun  2 22:14:17 2010
@@ -20,7 +20,7 @@
     transaction management, queuing, distribution, security,
     management, clustering, federation and heterogeneous
     multi-platform support and a lot more. And Apache Qpid is
-    extremely fast. Apache Qpid <a href="amqp-compatibility.html"
+    extremely fast. Apache Qpid <a href="compatibility.html"
     title="AMQP compatibility">aims to be 100% AMQP Compliant</a>.</p>
 
   <div id="feature_box">

Modified: qpid/trunk/qpid/doc/website/content/qpid_integrated_with.html
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/website/content/qpid_integrated_with.html?rev=950792&r1=950791&r2=950792&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/website/content/qpid_integrated_with.html (original)
+++ qpid/trunk/qpid/doc/website/content/qpid_integrated_with.html Wed Jun  2 22:14:17 2010
@@ -3,7 +3,7 @@
   <h1><a name="QpidIntegrations-AMQPintegrations"></a>AMQP integrations </h1>
 
   <ul>
-    <li><a href="/confluence/display/qpid/HermesJMS" title="HermesJMS">HermesJMS</a>       - The integration of Hermes JMS with Qpid</li>
+    <li><a href="http://qpid.apache.org/hermesjms.html" title="HermesJMS">HermesJMS</a>       - The integration of Hermes JMS with Qpid</li>
     <li>Twisted AMQP      - <a href="https://launchpad.net/txamqp" class="external-link" rel="nofollow">https://launchpad.net/txamqp</a></li>
     <li>Apache Camel      - <a href="http://activemq.apache.org/camel/amqp.html" class="external-link" rel="nofollow">http://activemq.apache.org/camel/amqp.html</a></li>
     <li>Apache Axis2 Java - <a href="http://wso2.org/library/3663" class="external-link" rel="nofollow">http://wso2.org/library/3663</a></li>

Modified: qpid/trunk/qpid/doc/website/template/template.html
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/website/template/template.html?rev=950792&r1=950791&r2=950792&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/website/template/template.html (original)
+++ qpid/trunk/qpid/doc/website/template/template.html Wed Jun  2 22:14:17 2010
@@ -41,11 +41,11 @@
 	<div id="menu_box_body">
 	  <h3>Apache Qpid</h3>
 	  <ul>
-	    <li><a href="./index.html">Home</a></li>
-	    <li><a href="./download.html">Download</a></li>
-	    <li><a href="./getting_started.html">Getting Started</a></li>
-	    <li><a href="./roadmap.html">Roadmap</a></li>
-	    <li><a href="http://www.apache.org/licenses/LICENSE-2.0.html">License</a></li>
+	    <li><a href="index.html">Home</a></li>
+	    <li><a href="download.html">Download</a></li>
+	    <li><a href="getting_started.html">Getting Started</a></li>
+<!--	    <li><a href="roadmap.html">Roadmap</a></li> -->
+	    <li><a href="license.html">License</a></li>
 	    <li><a href="https://cwiki.apache.org/confluence/display/qpid/FAQ">FAQ</a></li>
 	  </ul>
 	</div> <!-- end of menu_box_body --> 
@@ -66,14 +66,14 @@
 	<div id="menu_box_body">
 	  <h3>Community</h3>
 	  <ul>
-	    <li><a href="#">Getting Involved</a></li>
-	    <li><a href="./source_repository.html">Source Repository</a></li>
-	    <li><a href="./mailing_lists.html">Mailing Lists</a></li>
+	    <li><a href="http://qpid.apache.org/getting-involved.html">Getting Involved</a></li>
+	    <li><a href="source_repository.html">Source Repository</a></li>
+	    <li><a href="mailing_lists.html">Mailing Lists</a></li>
 	    <li><a href="http://qpid.apache.org">Wiki</a></li>
 	    <li><a href="https://issues.apache.org/jira/browse/qpid">Issue Reporting</a></li>
-	    <li><a href="./people.html">People</a></li>
+	    <li><a href="people.html">People</a></li>
 <!--	    <li><a href="#">Project Status</a></li> -->
-	    <li><a href="./acknowledgements.html">Acknowledgements</a></li>
+	    <li><a href="acknowledgements.html">Acknowledgements</a></li>
 	  </ul>
 	</div> <!-- end of menu_box_body -->
 	<div id="menu_box_bottom"></div>
@@ -82,8 +82,8 @@
 	<div id="menu_box_body">
 	  <h3>Developers</h3>
 	  <ul>
-	    <li><a href="#">Building Qpid</a></li>
-	    <li><a href="#">Developer Pages</a></li>
+	    <li><a href="http://qpid.apache.org/building.html">Building Qpid</a></li>
+	    <li><a href="http://qpid.apache.org/developer-pages.html">Developer Pages</a></li>
 	  </ul>
 	</div> <!-- end of menu_box_body -->
 	<div id="menu_box_bottom"></div>
@@ -92,7 +92,7 @@
 	<div id="menu_box_body">
 	  <h3>About AMQP</h3>
 	  <ul>
-	    <li><a href="./amqp.html">What is AMQP?</a></li>
+	    <li><a href="amqp.html">What is AMQP?</a></li>
 	  </ul>
 	</div> <!-- end of menu_box_body -->
 	<div id="menu_box_bottom"></div>

Added: qpid/trunk/qpid/doc/website/tools/generate
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/website/tools/generate?rev=950792&view=auto
==============================================================================
--- qpid/trunk/qpid/doc/website/tools/generate (added)
+++ qpid/trunk/qpid/doc/website/tools/generate Wed Jun  2 22:14:17 2010
@@ -0,0 +1,38 @@
+#!/usr/bin/env python
+
+import os
+import sys
+
+if len(sys.argv) != 4:
+  print "Usage: $ generate template/template.html contentDir outputDir"
+  exit()
+
+else:
+    try:
+        srcDir = os.path.abspath(sys.argv[2])
+        srcFiles = os.listdir(srcDir)
+        targetDir = os.path.abspath(sys.argv[3])
+        template = open(sys.argv[1], "r")
+
+        for srcFile in srcFiles:
+            if os.path.splitext(srcFile)[1] == ".html":
+                content = open(os.path.join(srcDir,srcFile), "r")
+                output = open(os.path.join(targetDir,srcFile),"w")
+
+                template.seek(0)
+
+                for t in template:
+                    if t.rstrip() == "{.}":
+                        for c in content:
+                            output.write( c )
+                    else:
+                        output.write( t )
+            
+                output.close()
+                content.close()
+        
+    except:
+        print "Ooops!"
+        exit()
+
+template.close()

Propchange: qpid/trunk/qpid/doc/website/tools/generate
------------------------------------------------------------------------------
    svn:executable = *



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org