Author: buildbot
Date: Mon Jul 30 01:46:38 2012
New Revision: 827374

Log:
Staging update by buildbot for shindig

Added:
    websites/staging/shindig/trunk/content/documentation_features.html
Modified:
    websites/staging/shindig/trunk/content/   (props changed)

Propchange: websites/staging/shindig/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jul 30 01:46:38 2012
@@ -1 +1 @@
-1366984
+1366986

Added: websites/staging/shindig/trunk/content/documentation_features.html
==============================================================================
--- websites/staging/shindig/trunk/content/documentation_features.html (added)
+++ websites/staging/shindig/trunk/content/documentation_features.html Mon Jul 
30 01:46:38 2012
@@ -0,0 +1,253 @@
+<!--
+ * 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.
+-->
+<!DOCTYPE html>
+<!--
+ * 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.
+-->
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <title>Shindig - Feature Documentation</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le styles -->
+    <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+        padding-bottom: 40px;
+      }
+    </style>
+    <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
+    <!--[if lt IE 9]>
+      <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="images/favicon.ico">
+    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" 
href="images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" 
href="images/apple-touch-icon-114x114.png">
+  </head>
+
+  <body>
+
+    <div class="navbar navbar-fixed-top">
+      <div class="navbar-inner">
+        <div class="container">
+          <a class="btn btn-navbar" data-toggle="collapse" 
data-target=".nav-collapse">
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </a>
+          <a class="brand" href="index.html">Apache Shindig</a>
+          <!--
+ * 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.
+-->
+<div class="nav-collapse">
+            <ul class="nav">
+              <li class="dropdown">
+                   <a class="dropdown-toggle" data-toggle="dropdown" 
href="#menu1">
+                         Get Shindig
+                         <b class="caret"></b>
+                       </a>
+                       <ul class="dropdown-menu">
+                         <li><a href="download.html">Download</a></li>
+                         <li><a href="license.html">License</a></li>
+                       </ul>
+                         </li>
+              <li class="dropdown">
+                <a class="dropdown-toggle" data-toggle="dropdown" 
href="#menu1">
+                  About Shindig
+                  <b class="caret"></b>
+                </a>
+                <ul class="dropdown-menu">
+                  <li><a href="about_shindig_overview.html">Overview</a></li>
+                  <li><a href="about_shindig_getting_started.html">Getting 
Started</a></li>
+                  <li><a href="faq.html">FAQ</a></li>
+                  <li><a href="resources.html">Resources</a></li>
+                  <li><a href="powered-by.html">Powered By</a></li>
+                </ul>
+              </li>
+              <li class="dropdown">
+                <a class="dropdown-toggle" data-toggle="dropdown" 
href="#menu1">
+                  Documentation
+                  <b class="caret"></b>
+                </a>
+                <ul class="dropdown-menu">
+                  <li><a href="documentation_centre.html">Center</a></li>
+                  <li><a href="documentation_java.html">Java</a></li>
+                  <li><a href="documentation_php.html">PHP</a></li>
+                  <li><a href="#">Features</a></li>
+                </ul>
+              </li>
+              <li class="dropdown">
+                <a class="dropdown-toggle" data-toggle="dropdown" 
href="#menu1">
+                  Community
+                  <b class="caret"></b>
+                </a>
+                <ul class="dropdown-menu">
+                  <li><a href="community_overview.html">Overview</a></li>
+                  <li><a href="getting-help.html">Getting Help</a></li>
+                  <li><a href="issue-tracking.html">Issue Tracking</a></li>
+                  <li><a href="source-repository.html">Source 
Repository</a></li>
+                  <li><a 
href="https://cwiki.apache.org/confluence/display/SHINDIG/Index";>Wiki</a></li>
+                  <li><a href="#">The Shindig Team</a></li>
+                </ul>
+              </li>
+              <li class="dropdown">
+                <a class="dropdown-toggle" data-toggle="dropdown" 
href="#menu1">
+                  Misc
+                  <b class="caret"></b>
+                </a>
+                <ul class="dropdown-menu">
+                  <li><a href="http://www.apache.org/";>Apache</a></li>
+                  <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+                  <li><a 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+                </ul>
+              </li>
+              <li class="dropdown">
+                <a class="dropdown-toggle" data-toggle="dropdown" 
href="#menu1">
+                  Project Doc
+                  <b class="caret"></b>
+                </a>
+                <ul class="dropdown-menu">
+                  <li><a href="#">Project Information</a></li>
+                </ul>
+              </li>       
+            </ul>
+          </div><!--/.nav-collapse -->
+
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+         <h1 
id="documentation-centre-for-the-apache-shindigs-features">Documentation Centre 
for the Apache Shindig's Features</h1>
+<p>This documentation centre is for developer who wants to use the Apache 
Shindig's features.</p>
+<ul>
+<li>Features List</li>
+<li>Using Features</li>
+<li>Create Your Own Feature</li>
+<li>JavascriptDoc for 1.1.x</li>
+</ul>
+<h2 id="apache-shindig-features">Apache Shindig Features</h2>
+<p>A list of features can be found in the source code.</p>
+<ul>
+<li><a 
href="https://svn.apache.org/repos/asf/shindig/tags/shindig-project-2.5.0-beta3/features/src/main/javascript/features/";>Shindig
 2.5.0 Beta3</a></li>
+<li><a 
href="https://svn.apache.org/repos/asf/shindig/tags/shindig-project-2.0.2/features/src/main/javascript/features/";>Shindig
 2.0.2</a></li>
+<li><a 
href="https://svn.apache.org/repos/asf/shindig/tags/shindig-project-2.0.1/features/src/main/javascript/features/";>Shindig
 2.0.1</a></li>
+<li><a 
href="https://svn.apache.org/repos/asf/shindig/tags/shindig-project-2.0.0/features/src/main/javascript/features/";>Shindig
 2.0.0</a></li>
+<li><a 
href="https://svn.apache.org/repos/asf/shindig/tags/shindig-project-1.0.1/features/src/main/javascript/features/";>Shindig
 1.0.1</a></li>
+</ul>
+<h2 id="using-features">Using Features</h2>
+<p>To use an above feature in your gadget, you need to specify the feature as 
<require/> in <ModulePrefs/> and defining 
+some Javascript codes to use it.</p>
+<p>For example, if you plan to use the <a 
href="http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/tabs/feature.xml";>tabs/feature.xml</a>,
 
+your gadget will look like the following:</p>
+<pre>&lt;Module&gt;
+  &lt;ModulePrefs title="TabExample" description="Tabs Example"&gt;
+    &lt;Require feature="tabs"&gt;&lt;/Require&gt;
+  &lt;/ModulePrefs&gt;
+  &lt;Content type="html"&gt;
+    &lt;![CDATA[
+    &lt;script type="text/javascript"&gt;
+      function onLoad(){ 
+        var tabset=new gadgets.TabSet();
+        tabset.alignTabs('left');
+
+        
tabset.addTab("Tab1",{contentContainer:document.getElementById("tab1")});
+
+        
tabset.addTab("Tab2",{contentContainer:document.getElementById("tab2")});
+      } 
+
+      gadgets.util.registerOnLoadHandler(onLoad);
+    &lt;/script&gt;
+
+    &lt;div id="tab1"&gt;
+      Contents go to Tab1
+    &lt;/div&gt;
+
+    &lt;div id="tab2"&gt;
+      Contents go to Tab2
+    &lt;/div&gt;
+    ]]&gt;
+  &lt;/Content&gt;
+&lt;/Module&gt;
+</pre>
+
+<p>You could test your code using the Gadget testing container at: 
+<a 
href="http://localhost:8080/samplecontainer/examples/commoncontainer/index.html";>http://localhost:8080/samplecontainer/examples/commoncontainer/index.html</a>.</p>
+<p><img alt="Common Container" src="images/common_container.png"></p>
+<h2 id="create-your-own-feature">Create Your Own Feature</h2>
+<p><span class="label label-important">TODO need to document this</span></p>
+<h2 id="resources">Resources</h2>
+<ul>
+<li><a href="http://code.google.com/p/opensocial-resources/";>The 
opensocial-resources project</a></li>
+</ul>
+      <hr>
+
+      <footer>
+        <p>Copyright &copy; 2007-2012 <a href="http://www.apache.org";>The 
Apache Software Foundation</a>. All Rights Reserved.</p>
+      </footer>
+
+    </div> <!-- /container -->
+
+    <!-- Le javascript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="jquery/js/jquery-1.7.1.min.js"></script>
+    <script src="bootstrap/js/bootstrap.min.js"></script>
+
+  </body>
+</html>


Reply via email to