You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gs...@apache.org on 2011/08/07 00:38:39 UTC

svn commit: r1154617 - in /lucene/cms/trunk: content/lucene/ content/lucene/core/ content/lucene/css/ content/lucene/openrelevance/ content/lucene/pylucene/ content/lucene/solr/ lib/ templates/

Author: gsingers
Date: Sat Aug  6 22:38:38 2011
New Revision: 1154617

URL: http://svn.apache.org/viewvc?rev=1154617&view=rev
Log:
more framework in place

Added:
    lucene/cms/trunk/content/lucene/core/
    lucene/cms/trunk/content/lucene/core/index.mdtext
    lucene/cms/trunk/content/lucene/css/global.css
    lucene/cms/trunk/content/lucene/openrelevance/
    lucene/cms/trunk/content/lucene/pylucene/
    lucene/cms/trunk/content/lucene/solr/
    lucene/cms/trunk/templates/core.html
    lucene/cms/trunk/templates/main.html
Removed:
    lucene/cms/trunk/content/lucene/css/lucene.css
    lucene/cms/trunk/templates/single_narrative.html
    lucene/cms/trunk/templates/skeleton.html
Modified:
    lucene/cms/trunk/content/lucene/index.mdtext
    lucene/cms/trunk/lib/path.pm
    lucene/cms/trunk/lib/view.pm

Added: lucene/cms/trunk/content/lucene/core/index.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/core/index.mdtext?rev=1154617&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/core/index.mdtext (added)
+++ lucene/cms/trunk/content/lucene/core/index.mdtext Sat Aug  6 22:38:38 2011
@@ -0,0 +1 @@
+Hi Lucene
\ No newline at end of file

Added: lucene/cms/trunk/content/lucene/css/global.css
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/css/global.css?rev=1154617&view=auto
==============================================================================
--- lucene/cms/trunk/content/lucene/css/global.css (added)
+++ lucene/cms/trunk/content/lucene/css/global.css Sat Aug  6 22:38:38 2011
@@ -0,0 +1,901 @@
+/********************************** 
+ The Apache Software Foundation
+
+Derived from: Open for Business Project Website
+ 
+ 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.
+*********************************/ 
+
+/******************************** 
+ Global Reset
+********************************/
+html, body, div, span, applet, object, iframe,
+h1, h2, h2, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+    border:0; 
+    margin:0; 
+    outline:0; 
+    padding:0; 
+    background:transparent; 
+    vertical-align: baseline;
+}
+
+blockquote, q {
+    quotes: none;
+}
+
+blockquote:before,
+blockquote:after,
+q:before,
+q:after {
+    content:''; 
+    content: none;
+}
+
+a, address, body, caption, cite, code, dfn, em, strong, th, var {
+    font-style: normal;
+    font-weight: normal;
+    text-decoration: none;
+}
+
+a img {
+    border: none;
+}
+
+ol, ul {
+    list-style: none;
+}
+
+table {
+    border-collapse: collapse;
+    border-spacing: 0;
+}
+
+/******************************** 
+ General Layout
+********************************/ 
+* {margin:0;padding:0;}
+
+html, body, #wrap {height: 100%;}
+
+body > #wrap {height: auto; min-height: 100%;}
+
+body {
+    font: 11px/ 165% "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+	color: #666666;
+	margin: 0;
+	padding: 0;
+	background: url(../images/bg.png) top left repeat-x #A6A6A6;
+	text-align: center;
+}
+
+.clearfix:after {
+    content: ".";
+    display: block;
+    height: 0;
+    clear: both;
+    visibility: hidden;
+}
+
+.clearfix {
+    display: inline-block;
+}
+
+html[xmlns] .clearfix {
+    display: block;
+}
+
+* html .clearfix {
+    height: 1%;
+}
+
+.clearfix {
+    display: block;
+}
+
+.clearLeft {
+    clear:left;
+}
+
+/******************************** 
+ Typography
+********************************/
+a,a:active,a:link {
+	text-decoration: none;
+	color: #29456b;
+}
+
+a:visited {
+	text-decoration: none;
+}
+
+a:hover {
+	color: #030d1c;
+}
+
+h1,h2,h2 {
+	font-family: "Trebuchet MS", Tahoma, Arial, Sans-serif;
+	color: #555;
+}
+
+h1 {
+  	font-size: 200%;
+	color: #895F30;
+	padding: 20px 10px 5px 10px;
+	margin: 0;
+}
+
+h2 {
+	font-size: 170%;
+	font-weight: normal;
+	padding: 20px 10px 5px 10px;
+	margin: 0;
+}
+
+p,dl {
+	padding: 10px;
+	margin: 0;
+}
+
+ul{
+	margin: 10px 10px;
+	padding: 0 0 0 10px;
+}
+
+ul {
+	list-style: none;
+}
+
+ol {
+	margin: 10px 30px;
+	padding: 0;
+}
+
+dt {
+	font-weight: bold;
+	color: #b13f1a;
+}
+
+dd {
+	padding-left: 25px;
+}
+
+/******************************** 
+ ../images
+********************************/
+img {
+    border: none;
+}
+
+p img {
+    background: #fafafa;
+       border: 1px solid #dcdcdc;
+    padding: 5px;
+    margin:0 10px 0 0;
+}
+
+img.float-right {
+    margin: 5px 0px 10px 10px;
+}
+
+img.float-left {
+    margin: 5px 10px 10px 0px;
+}
+
+/******************************** 
+ Code Snippets and Quotes
+********************************/
+code {
+    margin: 5px 0;
+    padding: 15px;
+    text-align: left;
+    display: block;
+    overflow: auto;
+    font: 500 1em/ 1.5em 'Lucida Console', 'courier new', monospace;
+    /* white-space: pre; */
+    border: 1px solid #ECF8FE;
+    background: #ECF8FE;
+}
+
+acronym {
+    cursor: help;
+    border-bottom: 1px dotted #895F30;
+}
+
+blockquote {
+    margin: 15px 10px;
+    padding: 10px 10px 10px 35px;
+    border: 1px solid #ECF8FE;
+    background: #ECF8FE url(../images/quote.jpg) no-repeat 10px 10px;
+    font-weight: normal;
+    font-size: 1.5em;
+    line-height: 1.5em;
+    font-style: italic;
+    font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+    color: #976957;
+}
+
+/******************************** 
+ Tables
+********************************/
+table {
+	border-collapse: collapse;
+	margin: 15px 10px;
+}
+
+th {
+	background: #d14b1f url(../images/header-bg.jpg) repeat-x 0 -100px;
+	height: 38px;
+	padding-left: 12px;
+	padding-right: 12px;
+	color: #fff;
+	text-align: left;
+	border-left: 1px solid #d14b1f;
+	border-bottom: solid 2px #fff;
+}
+
+tr {
+	height: 34px;
+}
+
+td {
+	padding-left: 11px;
+	padding-right: 11px;
+}
+
+/******************************** 
+ Forms
+********************************/
+input,select {
+    padding: 4px;
+    font: normal 1em Verdana, sans-serif;
+    color: #666666;
+    background: #fff;
+}
+
+textarea {
+    width: 400px;
+    padding: 4px;
+    font: normal 1em Verdana, sans-serif;
+    height: 100px;
+    display: block;
+    color: #666666;
+}
+
+input,textarea,select {
+    background: #fff;
+    border-width: 1px;
+    border-style: solid;
+    border-color: #D4D4D4 #ebebeb #ebebeb #d4d4d4;
+}
+
+input.button {
+    font: bold 12px Arial, Sans-serif;
+    height: 30px;
+    margin: 0;
+    padding: 2px 3px;
+    color: #555;
+    background: #E6E6E6;
+    border-width: 1px;
+    border-style: solid;
+    border-color: #ebebeb #d4d4d4 #d4d4d4 #ebebeb;
+}
+
+/******************************** 
+ Generic Classes
+********************************/
+.float-left {
+    float: left;
+}
+
+.float-right {
+    float: right;
+}
+
+.align-left {
+    text-align: left;
+}
+
+.align-right {
+    text-align: right;
+}
+
+.clearer {
+    clear: both;
+}
+
+/******************************** 
+ Page Layout
+********************************/
+#wrap{
+    background: #fff url(../images/wrapper.jpg) top center no-repeat;
+    width: 945px;
+	margin: 0 auto;
+    text-align:left;
+}
+
+#content-wrap  {
+    width:945px;
+	margin:0 auto;
+    padding-bottom: 42px;
+}
+
+#content {
+    width:500px;
+	float:left;
+	padding:30px 0 25px 0;
+}
+
+/******************************** 
+ Footer
+********************************/
+#footer {
+    background: url(../images/footer.jpg) bottom center no-repeat;
+    position: relative;
+	margin: -50px auto 0px auto;
+	height: 50px;
+	clear:both;
+	font-size:11px;
+	font-family:Verdana, Arial, sans-serif;
+    width:945px;
+    border-top: 1px solid #eee;
+}
+
+#foot {
+    text-align:left;
+    position:relative;
+    top:5px;
+    left:30px;
+}
+
+/******************************** 
+ Header
+********************************/
+#header {
+    position: relative;
+    width: 945px;
+    height: 100px;
+    padding: 0;
+    margin: 0 auto;
+    background: transparent;
+}
+
+#header #logo {
+    position: absolute;
+    top: 5px;
+    left: 20px;
+    height: 42px;
+    width: 405px;
+}
+
+#header #logo a,img {
+    background: none;
+    border: none;
+}
+
+#header #controls {
+    position: absolute;
+    top: 60px;
+    right: 32px;
+    height: 42px;
+    color: #1b78d7;
+    font-size: 12px;
+    background: url(../images/house.gif) top right no-repeat;
+    padding-right: 20px;
+    text-align: right;
+}
+
+#header #controls a {
+    position: relative;
+    top: -2px;
+}
+
+#header #language {
+    position: absolute;
+    top: 10px;
+    right: 32px;
+    height: 42px;
+    color: #797c7e;
+    text-align: right;
+}
+
+/******************************** 
+ Search
+********************************/
+#search {
+    position:absolute;
+    top:0px;
+    right:0px;
+    background:url(../images/search.gif) center left no-repeat;
+	padding:5px;
+	padding-top:4px;
+    padding-left:33px;
+	border-radius:3px;
+	background-color:#444;
+}
+
+.hintText {
+      display: none;
+}
+
+.fieldWithHint {
+      color: #001f2f;
+}
+
+/******************************** 
+ Top Navigation
+********************************/
+#nav {
+    position: absolute;
+    clear: both;
+    margin: 0;
+    padding: 0;
+	padding-right:5px;
+	padding-left:5px;
+	right:0px;
+    height: 34px;
+    top: 84px;
+	border-radius:3px;
+    z-index: 99999;
+	background-color:#444;
+}
+
+#nav ul {
+    float: left;
+    list-style: none;
+    height: 34px;
+    margin: 0;
+    padding: 0;
+    display: inline;
+}
+
+#nav ul li {
+    display: inline;
+    margin: 0;
+    padding: 0;
+}
+
+#nav ul li a {
+    float: left;
+    margin: 0 0 0 0;
+    padding: 0px 15px 0px 15px;
+    font: normal 14px/ 34px "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
+    font-variant: small-caps;
+    text-decoration: none;
+    letter-spacing: 0.0px;
+    color: #fff;
+	border-right:1px inset #888;
+}
+
+#nav ul li a.last {
+	border:none;
+}
+
+#nav ul li a:hover,#nav ul li a:active {
+    color: #111;
+    background-image: url(../images/header_hot.jpg);
+}
+
+#nav ul li#current a {
+    color: #333333;
+    background-image: url(../images/header_hot.jpg);
+}
+
+/******************************** 
+ Content Sections
+********************************/
+#main {
+    float: left;
+    width: 560px;
+    padding: 0;
+    margin: 0 0 0 20px;
+    display: inline;
+}
+
+#main h1 {
+	padding-bottom: 3px;
+	margin-top: 15px;
+	font: normal 3.5em "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+	color: #333;
+	letter-spacing: -2px;
+	text-transform: none;
+	border-bottom: 1px solid #ebebeb;
+}
+
+#main h1 a {
+	color: #333;
+	text-decoration: none;
+	background: none;
+	border: none;
+}
+
+#main ul li {
+    list-style-image: url(../images/bullet.gif);
+}
+
+#col1 {
+    float: left;
+    width: 260px;
+    padding: 0;
+    margin: 20px 0 0 20px;
+    display: inline;
+}
+
+#col2 {
+    float: left;
+    width: 260px;
+    padding: 0;
+    margin: 20px 0 0 20px;
+    display: inline;
+}
+
+#col1 h1, #col2 h1 {
+    padding-bottom: 3px;
+    margin-top: 15px;
+    font: normal 3.5em "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+    color: #666;
+    letter-spacing: -2px;
+    text-transform: none;
+    border-bottom: 1px solid #ebebeb;
+}
+
+#main #col1 h1, #main #col2 h1 {
+	border-bottom: 1px solid #ebebeb;
+	color:#304C70;
+	padding-bottom: 3px;
+	letter-spacing: -3px;
+	text-transform: none;
+	font-size:30px;
+}
+
+.feature {
+	margin:0px;
+	padding:0px;
+	height:435px;
+}
+
+.screen {
+	margin:10px 0 5px 0;
+	padding:0px;
+	background:#fff;
+	border:1px solid #eee;
+	width:255px;
+	height:200px;
+	overflow:hidden;
+}
+
+#main .hero {
+	margin:10px 0 5px 0;
+	padding:0px;
+	background:#fff;
+	border:1px solid #eee;
+	width:555px;
+}
+
+#main .highlights {
+	float:right;
+	width:240px;
+	background:#dfe9ef;
+	border:1px solid #eee;
+	margin:0px 10px 0px 5px;
+	display:inline;
+}
+
+#main .highlights ul li {
+    list-style-image: url(../images/highlight-bullet.gif);
+}
+
+#main .highlights h4 {
+	padding:5px 5px 0 5px;
+}
+
+#sidebar {
+    float: right;
+    width: 300px;
+    padding: 0;
+    margin: 15px 20px 0 0;
+    display: inline;
+}
+
+#sidebar h2 {
+    margin-top: 10px;
+    padding: 15px 5px 3px 5px;
+    font: normal 2em 'trebuchet MS', Tahoma, Helvetica, Arial, sans-serif;
+    color: #666666;
+    letter-spacing: -.5px;
+}
+
+#sidebar ul.sidemenu {
+    text-align: left;
+    margin: 0px 5px 8px 0px;
+    padding: 5px 0 0 0;
+    text-decoration: none;
+    background: url(../images/dots.gif) repeat-x left top;
+}
+
+#sidebar ul.sidemenu li {
+    list-style: none;
+    background: url(dots.gif) repeat-x left bottom;
+    padding: 4px 10px;
+    margin: 0;
+}
+
+* html body #sidebar ul.sidemenu li {
+    height: 1%;
+}
+
+#sidebar ul.sidemenu li a {
+    text-decoration: none;
+    background-image: none;
+    background-color: transparent;
+    border: none;
+    color: #304c70;
+    font-weight: bold;
+    font-family: "Trebuchet MS", Tahoma, Helvetica, Arial, Sans-serif;
+    font-size: 14px;
+    /* letter-spacing: .5px;  */
+}
+
+#sidebar ul.sidemenu li a span {
+    color: #989898;
+    font-family: Georgia, "Times New Roman", Times, serif;
+    font-style: italic;
+    font-weight: normal;
+    font-size: .8em;
+}
+
+#sidebar ul.sidemenu li a:hover {
+    color: #555;
+}
+
+#sidebar ul.sidemenu ul {
+    margin: 0 0 0 5px;
+    padding: 0;
+}
+
+#sidebar ul.sidemenu ul li {
+    background: none;
+}
+
+#sidebar .indentfirst {
+    margin-left:0px;
+}
+
+#sidebar .indentsecond {
+    margin-left:20px;
+}
+
+/******************************** 
+ Content Styles
+********************************/
+.postmeta {
+    padding: 5px;
+    margin: 20px 10px 15px 10px;
+    font-size: 1em;
+    color: #777;
+    border: 1px solid #ECF8FE;
+    background: #ECF8FE;
+}
+
+.postmeta .date {
+    margin: 0 10px 0 5px;
+}
+
+.postmeta a.comments {
+    margin: 0 10px 0 5px;
+}
+
+.postmeta a.readmore {
+    margin: 0 10px 0 5px;
+}
+
+.post-info {
+    font-size: .95em;
+    padding-top: 3px;
+    margin-left: 5px;
+    color: #bababa;
+}
+
+.post-info a {
+    color: #C5935C;
+}
+
+p.thumbs {
+    padding: 12px 0 0 10px;
+}
+
+.thumbs img {
+    position: relative;
+    border: 1px solid #ebebeb;
+    background: none;
+    padding: 4px;
+    margin: 5px;
+    /* margin: 4px 7px 4px 4px; */
+}
+
+.thumbs img:hover {
+    border: 1px solid #c5c5c5;
+    background: none;
+}
+
+.thumbs a:hover {
+    background-color: transparent;
+    border: none
+}
+
+/******************************** 
+ Page Specific Styles
+********************************/
+/*HOME*/
+body#home #wrap {
+	position: relative;
+	background: #fff url(../images/home-wrapper.png) top center no-repeat;
+	width: 945px;
+	margin: 0 auto;
+	text-align: left;
+}
+
+body#home #header {
+	position: relative;
+	width: 945px;
+	height: 403px;
+	padding: 0;
+	margin: 0 auto;
+	background: transparent;
+}
+
+body#home #header #slides {
+	position: absolute;
+	top: 128px;
+	left: 10px;
+	width: 923px;
+	height: 260px;
+    background-color: #C4E0BA;
+}
+
+body#home #header #slides .slideshow {
+	width:923px;
+	height:260px;
+	margin:0px;
+	padding:0px;
+}
+
+body#home #header #slides .callout {
+	position: absolute;
+	top: 35px;
+	left: 30px;
+	font-size: 30px;
+	line-height: 30px;
+	color: #2b1f48;
+}
+
+body#home #header #slides .description {
+	position: absolute;
+	top: 175px;
+	left: 30px;
+	font-size: 14px;
+	line-height: 15px;
+	color: #e0e0e0;
+    background-color: #2B2A38;
+	width: 350px;
+}
+
+body#home #header #slides .controls {
+	width: 100px;
+	position: absolute;
+	top: 15px;
+	left: 750px;
+	height:30px;
+}
+
+body#home #header #slides .controls a {
+	border: none;
+	position:absolute;
+	height:30px;
+	line-height:24px;
+	padding:5px;
+	text-indent:-9999px;
+	outline:none;
+}
+
+body#home #header #slides .controls a.previous {
+	background: url(../images/backward.gif) top center no-repeat;
+	left:0px;
+	height:30px;
+	width:16px;
+}
+
+body#home #header #slides .controls a.next {
+	background: url(../images/forward.gif) top center no-repeat;
+	left:60px;
+	height:30px;
+	width:16px;
+}
+
+body#home #header #slides .controls a.stop {
+	background: url(../images/pause.gif) top center no-repeat;
+	left:30px;
+	height:30px;
+	width:16px;
+}
+
+body#home #header #slides .controls a.start {
+	background: url(../images/start.gif) top center no-repeat;
+	left:30px;
+	height:30px;
+	width:16px;
+}
+
+body#home #header #slides .controls a img {
+	background: none;
+	border: none;
+	cursor: pointer;
+}
+
+body#home #header #slides .mantle{
+	position:absolute;
+	top:58px;
+	left:385px;
+}
+
+body#home #col1 {
+	float: left;
+	width: 260px;
+	padding: 0;
+	margin: 5px 0 0 0px;
+	display: inline;
+}
+
+body#home #col2 {
+	float: left;
+	width: 260px;
+	padding: 0;
+	margin: 5px 0 0 20px;
+	display: inline;
+}
+
+.downloadNow {
+	margin:30px 0 10px 0;
+}
+
+.downloadLinks span.docs {
+	float:left;
+	margin:0px 0px 0 0;
+	display:inline;
+}
+
+.downloadLinks span.previousVersions {
+	float:right;
+	margin:0px 20px 0 0;
+	display:inline;
+}
+
+/*SUBPAGE - NO SIDEBAR*/
+body#full #wrap {
+	position: relative;
+	background: #fff url(../images/full-wrapper.jpg) top center no-repeat;
+	width: 945px;
+	margin: 0 auto;
+	text-align: left;
+}
\ No newline at end of file

Modified: lucene/cms/trunk/content/lucene/index.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/index.mdtext?rev=1154617&r1=1154616&r2=1154617&view=diff
==============================================================================
--- lucene/cms/trunk/content/lucene/index.mdtext (original)
+++ lucene/cms/trunk/content/lucene/index.mdtext Sat Aug  6 22:38:38 2011
@@ -1,8 +1,14 @@
 Title: Welcome to Apache Lucene
 
 The Apache Lucene project develops open-source search software, including:
- -  <a href="./core/">*Lucene Core*</a>, our flagship sub-project, provides Java-based indexing and search technology, as well as spellchecking, hit highlighting and advanced analysis/tokenization capabilities.
- -  <a href="./openrelevance/">*Open Relevance Project*</a> is a subproject with the aim of collecting and distributing free materials for relevance testing and performance.
- -  <a href="./pylucene">*PyLucene*</a> is a Python port of the Core project.
- -  <a href="./solr/">*Solr*</a> is a high performance search server built using Lucene Core, with XML/HTTP and JSON/Python/Ruby APIs, hit highlighting, faceted search, caching, replication, and a web admin interface.
+
+- *[Lucene Core](./core/)*, our flagship sub-project, provides Java-based indexing and search technology, as well as spellchecking, hit highlighting and advanced analysis/tokenization capabilities.
+- [Open Relevance Project](./openrelevance/) is a subproject with the aim of collecting and distributing free materials for relevance testing and performance.
+- [PyLucene](./pylucene/) is a Python port of the Core project.
+- [Solr](./solr) is a high performance search server built using Lucene Core, with XML/HTTP and JSON/Python/Ruby APIs, hit highlighting, faceted search, caching, replication, and a web admin interface.
+
+## The Apache Software Foundation
+The Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are defined by collaborative consensus based processes, an open, pragmatic software license and a desire to create high quality software that leads the way in its field. Apache Lucene, Apache Solr, Apache PyLucene, Apache Open Relevance Project and their respective logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+
+
 

Modified: lucene/cms/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/lib/path.pm?rev=1154617&r1=1154616&r2=1154617&view=diff
==============================================================================
--- lucene/cms/trunk/lib/path.pm (original)
+++ lucene/cms/trunk/lib/path.pm Sat Aug  6 22:38:38 2011
@@ -7,6 +7,10 @@ our @patterns = (
 
 #	[qr!/sitemap\.html$!, sitemap => { headers => { title => "Lucene Sitemap" }} ],
 	[qr!\.mdtext$!, main => { template => "main.html" }],
+	[qr!core\.mdtext$!, main => { template => "core.html" }],
+	[qr!solr\.mdtext$!, main => { template => "solr.html" }],
+	[qr!pylucene\.mdtext$!, main => { template => "pylucene.html" }],
+	[qr!openrelevance\.mdtext$!, main => { template => "orp.html" }],
 
 ) ;
 

Modified: lucene/cms/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/lib/view.pm?rev=1154617&r1=1154616&r2=1154617&view=diff
==============================================================================
--- lucene/cms/trunk/lib/view.pm (original)
+++ lucene/cms/trunk/lib/view.pm Sat Aug  6 22:38:38 2011
@@ -42,16 +42,6 @@ sub main {
             read_text_file $f, $args{$1};
         }
     }
-
-#	$args{sidenav} = {};
-#	read_text_file "templates/sidenav.mdtext", $args{sidenav} ;
-
-#	select STDOUT ;
-#	$| = 1 ;
-#	for my $ke (keys %args) {
-#		print STDOUT "$ke \n";
-#	}
-
     return Dotiac::DTL::Template($template)->render(\%args), html => \%args;
 }
 

Added: lucene/cms/trunk/templates/core.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/core.html?rev=1154617&view=auto
==============================================================================
--- lucene/cms/trunk/templates/core.html (added)
+++ lucene/cms/trunk/templates/core.html Sat Aug  6 22:38:38 2011
@@ -0,0 +1,192 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+  <!--
+
+      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.
+  -->
+
+  <link href="css/lucene.css" rel="stylesheet" type="text/css">
+  <title>Apache Lucene - {% block title %}{{ headers.title }}{% endblock %}</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
+  <meta name="Distribution" content="Global"/>
+  <meta name="Robots" content="index,follow"/>
+  <meta name="keywords"
+        content="apache, apache lucene, apache solr, solr, lucene
+        search, information retrieval, spell checking, faceting, inverted index, open source"/>
+  <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/>
+  <link rel="stylesheet" href="images/global.css" type="text/css"/>
+  <script type="text/javascript" src="scripts/prototype.js"></script>
+  <script type="text/javascript" src="scripts/effects.js"></script>
+  <script type="text/javascript" src="scripts/search.js"></script>
+  <script type="text/javascript" src="scripts/slides.js"></script>
+</head>
+
+<body id="home">
+<div id="wrap">
+  <div id="header">
+    <div id="logo">
+      <a href="http://lucene.apache.org/"><img border="0" src="images/lucene_green_300.gif" alt="Lucene Logo"/></a>
+    </div>
+    <div id="search">
+      <script type="text/javascript">
+        function getBlank(input, stdValue) {
+          if (input.value == stdValue) {
+            input.value = '';
+          }
+          return true;
+        }
+
+        function selectProvider(form) {
+          provider = form.elements['searchProvider'].value;
+          if (provider == "any") {
+            if (Math.random() > 0.5) {
+              provider = "lucid";
+            } else {
+              provider = "sl";
+            }
+          }
+
+          if (provider == "lucid") {
+            form.action = "http://search.lucidimagination.com/p:lucene";
+          } else if (provider == "sl") {
+            form.action = "http://search-lucene.com/lucene";
+          }
+
+          days = 90; // cookie will be valid for 90 days
+          date = new Date();
+          date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
+          expires = "; expires=" + date.toGMTString();
+          document.cookie = "searchProvider=" + provider + expires + "; path=/";
+          return true;
+        }
+      </script>
+      <form id="quick-search" method="GET" onsubmit="return selectProvider(this)"
+            action="http://search-lucene.com/lucene"
+            name="searchform">
+        <fieldset>
+          <input type="search" name="q" value="Search with Apache Solr..." class="class1 class2 hint" accesskey="q"
+                 onfocus="getBlank(this, 'Search with Apache Solr...')">
+          <span style="color:white">@</span>
+          <select name="searchProvider" id="searchProvider">
+            <option value="any">select provider</option>
+            <option value="lucid">Lucid Find</option>
+            <option value="sl">Search-Lucene</option>
+          </select>
+        </fieldset>
+        <script type="text/javascript">
+          if (document.cookie.length > 0) {
+            cStart = document.cookie.indexOf("searchProvider=");
+            if (cStart != -1) {
+              cStart = cStart + "searchProvider=".length;
+              cEnd = document.cookie.indexOf(";", cStart);
+              if (cEnd == -1) {
+                cEnd = document.cookie.length;
+              }
+              provider = unescape(document.cookie.substring(cStart, cEnd));
+              document.forms['searchform'].elements['searchProvider'].value = provider;
+            }
+          }
+        </script>
+      </form>
+    </div>
+    <div id="slides">
+      <div class="slideshow" id="mantleSlides">
+        <div id="slide1" style="display:none">
+          <div class="callout">
+            Ultra-fast Search Library and Server<br/>
+          </div>
+          <div class="description">
+            Apache Lucene and Solr set the standard for search and indexing performance
+          </div>
+          <div class="mantle">
+            <img alt="Apache Lucene" src="images/mantle-lucene-solr.png"/>
+          </div>
+        </div>
+        <div id="slide2" style="display:none">
+          <div class="callout">
+            Proven search capabilities<br/>
+          </div>
+          <div class="description">
+            Our core algorithms along with the Solr search server power applications the world over, ranging
+            from mobile devices to sites like Twitter, Apple and Wikipedia.
+          </div>
+          <div class="mantle">
+            <img alt="Lucene Power" src="images/mantle-power.png"/>
+          </div>
+        </div>
+        <div id="slide3" style="display:none">
+          <div class="callout">
+            Large, Vibrant community
+          </div>
+          <div class="description">
+            The goal of Apache Lucene and Solr is to provide world class search capabilities
+          </div>
+          <div class="mantle">
+            <img alt="Apache Mahout community" src="images/mantle-community.png"/>
+          </div>
+        </div>
+        <div id="slide4" style="opacity:0.5">
+          <div class="callout">
+            Apache 2.0 licensed
+          </div>
+          <div class="description">
+            Apache Lucene and Solr are distributed under a commercially friendly Apache Software license
+          </div>
+          <div class="mantle">
+            <img alt="Apache Software Foundation" src="images/mantle-asf.png"/>
+          </div>
+        </div>
+      </div>
+      <div class="controls">
+        <a class="next" id="next" title="Next" href="http://lucene.apache.org/#">Next</a>
+        <a class="previous" id="previous" title="Previous" href="http://lucene.apache.org/#">Previous</a>
+        <a class="start" id="start" title="Start" href="http://lucene.apache.org/#" style="display: none; ">Start</a>
+        <a class="stop" id="stop" title="Stop" href="http://lucene.apache.org/#">Stop</a>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      function StartSlides() {
+        new Slides('mantleSlides');
+      }
+      document.observe('dom:loaded', StartSlides);
+    </script>
+  </div>
+  <div id="content-wrap" class="clearfix">
+    <div id="main">
+      <h1 class="title">{% block title %}{{ headers.title }}{% endblock %}</h1>
+      <div>{% block content %}{{ content|markdown }}{% endblock %}</div>
+    </div>
+
+    <div id="sidebar">
+      {% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
+    </div>
+  </div>
+</div>
+<div id="footer">
+  <div class="copyright">
+    <p>
+      Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+      the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+      <br/>
+      Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+    </p>
+  </div>
+</div>
+</body>
+</html>

Added: lucene/cms/trunk/templates/main.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/main.html?rev=1154617&view=auto
==============================================================================
--- lucene/cms/trunk/templates/main.html (added)
+++ lucene/cms/trunk/templates/main.html Sat Aug  6 22:38:38 2011
@@ -0,0 +1,191 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+  <!--
+
+      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.
+  -->
+
+  <link href="css/global.css" rel="stylesheet" type="text/css">
+  <title>Apache Lucene - {% block title %}{{ headers.title }}{% endblock %}</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
+  <meta name="Distribution" content="Global"/>
+  <meta name="Robots" content="index,follow"/>
+  <meta name="keywords"
+        content="apache, apache lucene, apache solr, solr, lucene
+        search, information retrieval, spell checking, faceting, inverted index, open source"/>
+  <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/>
+  <script type="text/javascript" src="scripts/prototype.js"></script>
+  <script type="text/javascript" src="scripts/effects.js"></script>
+  <script type="text/javascript" src="scripts/search.js"></script>
+  <script type="text/javascript" src="scripts/slides.js"></script>
+</head>
+
+<body id="home">
+<div id="wrap">
+  <div id="header">
+    <div id="logo">
+      <a href="http://lucene.apache.org/"><img border="0" src="images/lucene_green_300.gif" alt="Lucene Logo"/></a>
+    </div>
+    <div id="search">
+      <script type="text/javascript">
+        function getBlank(input, stdValue) {
+          if (input.value == stdValue) {
+            input.value = '';
+          }
+          return true;
+        }
+
+        function selectProvider(form) {
+          provider = form.elements['searchProvider'].value;
+          if (provider == "any") {
+            if (Math.random() > 0.5) {
+              provider = "lucid";
+            } else {
+              provider = "sl";
+            }
+          }
+
+          if (provider == "lucid") {
+            form.action = "http://search.lucidimagination.com/p:lucene";
+          } else if (provider == "sl") {
+            form.action = "http://search-lucene.com/lucene";
+          }
+
+          days = 90; // cookie will be valid for 90 days
+          date = new Date();
+          date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
+          expires = "; expires=" + date.toGMTString();
+          document.cookie = "searchProvider=" + provider + expires + "; path=/";
+          return true;
+        }
+      </script>
+      <form id="quick-search" method="GET" onsubmit="return selectProvider(this)"
+            action="http://search-lucene.com/lucene"
+            name="searchform">
+        <fieldset>
+          <input type="search" name="q" value="Search with Apache Solr..." class="class1 class2 hint" accesskey="q"
+                 onfocus="getBlank(this, 'Search with Apache Solr...')">
+          <span style="color:white">@</span>
+          <select name="searchProvider" id="searchProvider">
+            <option value="any">select provider</option>
+            <option value="lucid">Lucid Find</option>
+            <option value="sl">Search-Lucene</option>
+          </select>
+        </fieldset>
+        <script type="text/javascript">
+          if (document.cookie.length > 0) {
+            cStart = document.cookie.indexOf("searchProvider=");
+            if (cStart != -1) {
+              cStart = cStart + "searchProvider=".length;
+              cEnd = document.cookie.indexOf(";", cStart);
+              if (cEnd == -1) {
+                cEnd = document.cookie.length;
+              }
+              provider = unescape(document.cookie.substring(cStart, cEnd));
+              document.forms['searchform'].elements['searchProvider'].value = provider;
+            }
+          }
+        </script>
+      </form>
+    </div>
+    <div id="slides">
+      <div class="slideshow" id="mantleSlides">
+        <div id="slide1" style="display:none">
+          <div class="callout">
+            Ultra-fast Search Library and Server<br/>
+          </div>
+          <div class="description">
+            Apache Lucene and Solr set the standard for search and indexing performance
+          </div>
+          <div class="mantle">
+            <img alt="Apache Lucene" src="images/mantle-lucene-solr.png"/>
+          </div>
+        </div>
+        <div id="slide2" style="display:none">
+          <div class="callout">
+            Proven search capabilities<br/>
+          </div>
+          <div class="description">
+            Our core algorithms along with the Solr search server power applications the world over, ranging
+            from mobile devices to sites like Twitter, Apple and Wikipedia.
+          </div>
+          <div class="mantle">
+            <img alt="Lucene Power" src="images/mantle-power.png"/>
+          </div>
+        </div>
+        <div id="slide3" style="display:none">
+          <div class="callout">
+            Large, Vibrant community
+          </div>
+          <div class="description">
+            The goal of Apache Lucene and Solr is to provide world class search capabilities
+          </div>
+          <div class="mantle">
+            <img alt="Apache Mahout community" src="images/mantle-community.png"/>
+          </div>
+        </div>
+        <div id="slide4" style="opacity:0.5">
+          <div class="callout">
+            Apache 2.0 licensed
+          </div>
+          <div class="description">
+            Apache Lucene and Solr are distributed under a commercially friendly Apache Software license
+          </div>
+          <div class="mantle">
+            <img alt="Apache Software Foundation" src="images/mantle-asf.png"/>
+          </div>
+        </div>
+      </div>
+      <div class="controls">
+        <a class="next" id="next" title="Next" href="http://lucene.apache.org/#">Next</a>
+        <a class="previous" id="previous" title="Previous" href="http://lucene.apache.org/#">Previous</a>
+        <a class="start" id="start" title="Start" href="http://lucene.apache.org/#" style="display: none; ">Start</a>
+        <a class="stop" id="stop" title="Stop" href="http://lucene.apache.org/#">Stop</a>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      function StartSlides() {
+        new Slides('mantleSlides');
+      }
+      document.observe('dom:loaded', StartSlides);
+    </script>
+  </div>
+  <div id="content-wrap" class="clearfix">
+    <div id="main">
+      <h1 class="title">{% block title %}{{ headers.title }}{% endblock %}</h1>
+      <div>{% block content %}{{ content|markdown }}{% endblock %}</div>
+    </div>
+
+    <div id="sidebar">
+      {% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
+    </div>
+  </div>
+</div>
+<div id="footer">
+  <div class="copyright">
+    <p>
+      Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+      the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+      <br/>
+      Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+    </p>
+  </div>
+</div>
+</body>
+</html>