Author: xavier
Date: Fri Aug 24 08:57:21 2007
New Revision: 569427
URL: http://svn.apache.org/viewvc?rev=569427&view=rev
Log:
improve google custom search engine integration: add a search page and a search
box on every page
Added:
incubator/ivy/site/search.html (with props)
Modified:
incubator/ivy/site/homeTemplate.html
incubator/ivy/site/template.html
incubator/ivy/site/toc.json
Modified: incubator/ivy/site/homeTemplate.html
URL:
http://svn.apache.org/viewvc/incubator/ivy/site/homeTemplate.html?rev=569427&r1=569426&r2=569427&view=diff
==============================================================================
--- incubator/ivy/site/homeTemplate.html (original)
+++ incubator/ivy/site/homeTemplate.html Fri Aug 24 08:57:21 2007
@@ -51,6 +51,17 @@
</td>
<td valign="top">
+ <div style="float:right;margin: 10px;">
+ <!-- Google CSE Search Box Begins -->
+ <form id="searchbox_014292259695392975429:5y6qypnrni8" action="search.html">
+ <input type="hidden" name="cx" value="014292259695392975429:5y6qypnrni8" />
+ <input type="hidden" name="cof" value="FORID:11" />
+ <input name="q" type="text" size="40" />
+ <input type="submit" name="sa" value="Search" />
+ </form>
+ <script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=searchbox_014292259695392975429%3A5y6qypnrni8"></script>
+<!-- Google CSE Search Box Ends -->
+ </div>
<div id="main">
${body}
</div><!-- main -->
@@ -67,7 +78,7 @@
<a href="download.html">Download</a> ::
<a href="history/trunk/index.html">Documentation</a> ::
<a href="get-involved.html">Get Involved</a> ::
- <a
href="http://www.google.com/coop/cse?cx=014292259695392975429%3A5y6qypnrni8">Search</a>
::
+ <a href="search.html">Search</a> ::
</div>
</td>
</tr>
Added: incubator/ivy/site/search.html
URL:
http://svn.apache.org/viewvc/incubator/ivy/site/search.html?rev=569427&view=auto
==============================================================================
--- incubator/ivy/site/search.html (added)
+++ incubator/ivy/site/search.html Fri Aug 24 08:57:21 2007
@@ -0,0 +1,44 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
+<!--
+ 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>
+<head>
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+ <script type="text/javascript">var xookiConfig = {level: 0};</script>
+ <script type="text/javascript" src="xooki/xooki.js"></script>
+</head>
+<body>
+ <textarea id="xooki-source">
+ Use Google Custom Search Engine to search over Ivy related sites. More
details <a
href="http://www.google.com/coop/cse?cx=014292259695392975429%3A5y6qypnrni8">here</a>.
+ <!-- Google CSE Search Box Begins -->
+ <form id="searchbox_014292259695392975429:5y6qypnrni8" action="search.html">
+ <input type="hidden" name="cx" value="014292259695392975429:5y6qypnrni8" />
+ <input type="hidden" name="cof" value="FORID:11" />
+ <input name="q" type="text" size="40" />
+ <input type="submit" name="sa" value="Search" />
+ </form>
+ <script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=searchbox_014292259695392975429%3A5y6qypnrni8"></script>
+<!-- Google CSE Search Box Ends -->
+<!-- Google Search Result Snippet Begins -->
+ <div id="results_014292259695392975429:5y6qypnrni8"></div><script
type="text/javascript">var googleSearchIframeName =
"results_014292259695392975429:5y6qypnrni8"; var googleSearchFormName =
"searchbox_014292259695392975429:5y6qypnrni8"; var googleSearchFrameWidth =
600; var googleSearchFrameborder = 0; var googleSearchDomain =
"www.google.com"; var googleSearchPath = "/cse"; </script> <script
type="text/javascript"
src="http://www.google.com/afsonline/show_afs_search.js"></script>
+<!-- Google Search Result Snippet Ends -->
+</textarea>
+<script type="text/javascript">xooki.postProcess();</script>
+</body>
+</html>
Propchange: incubator/ivy/site/search.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/ivy/site/template.html
URL:
http://svn.apache.org/viewvc/incubator/ivy/site/template.html?rev=569427&r1=569426&r2=569427&view=diff
==============================================================================
--- incubator/ivy/site/template.html (original)
+++ incubator/ivy/site/template.html Fri Aug 24 08:57:21 2007
@@ -50,6 +50,18 @@
<tr>
<td>
+ <div style="float:right;margin: 0 10px;">
+ <!-- Google CSE Search Box Begins -->
+ <form id="searchbox_014292259695392975429:5y6qypnrni8"
action="http://incubator.apache.org/ivy/search.html">
+ <input type="hidden" name="cx" value="014292259695392975429:5y6qypnrni8" />
+ <input type="hidden" name="cof" value="FORID:11" />
+ <input name="q" type="text" size="30" />
+ <input type="submit" name="sa" value="Search" />
+ </form>
+ <script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=searchbox_014292259695392975429%3A5y6qypnrni8"></script>
+<!-- Google CSE Search Box Ends -->
+ </div>
+
<div id="navcontainer">
<a href="http://incubator.apache.org/">Apache Incubator</a>
> <a href="http://incubator.apache.org/ivy/">Ivy</a> > ${breadCrumb}
</div>
@@ -90,7 +102,7 @@
<a href="download.html">Download</a> ::
<a href="history/trunk/index.html">Documentation</a> ::
<a href="get-involved.html">Get Involved</a> ::
- <a
href="http://www.google.com/coop/cse?cx=014292259695392975429%3A5y6qypnrni8">Search</a>
::
+ <a href="search.html">Search</a> ::
</div>
</td>
</tr>
Modified: incubator/ivy/site/toc.json
URL:
http://svn.apache.org/viewvc/incubator/ivy/site/toc.json?rev=569427&r1=569426&r2=569427&view=diff
==============================================================================
--- incubator/ivy/site/toc.json (original)
+++ incubator/ivy/site/toc.json Fri Aug 24 08:57:21 2007
@@ -334,6 +334,13 @@
]
}
]
+ },
+ {
+ "id":"search",
+ "title":"Search",
+ "children": [
+
+ ]
}
]
}