Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 21178 invoked from network); 5 May 2005 22:08:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 May 2005 22:08:03 -0000 Received: (qmail 90396 invoked by uid 500); 5 May 2005 22:10:27 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 90292 invoked by uid 500); 5 May 2005 22:10:23 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 90132 invoked by uid 99); 5 May 2005 22:10:19 -0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=LOTS_OF_STUFF,NO_REAL_NAME,REMOVE_PAGE X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 05 May 2005 15:10:13 -0700 Received: (qmail 21012 invoked by uid 65534); 5 May 2005 22:07:42 -0000 Message-ID: <20050505220742.21010.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r168440 [2/3] - in /forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSManifest: ./ images/ repositoryCommand/ repositoryCommand/getSCO/ repositoryCommand/getSCO/HowTo/ repositoryCommand/getSCO/HowTo/repositoryURI/ repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/ repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/repositoryData/ skin/ skin/css/ skin/images/ skin/scripts/ Date: Thu, 05 May 2005 22:07:38 -0000 To: svn@forrest.apache.org From: rgardler@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/rep= ositoryData/useCases.html URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/repositoryCommand/getSCO/HowTo/reposit= oryURI/www.burrokeet.org/repositoryData/useCases.html?rev=3D168440&view=3Da= uto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/reposi= toryData/useCases.html (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/reposi= toryData/useCases.html Thu May 5 15:07:36 2005 @@ -0,0 +1,295 @@ + + + + + + + +Interface Design (v0.7) + + + + + + + + + +
+ + + +
+ +
+3D"Apa= +
+ + +
+3D"Plugin: +
+ + +
+
+ = ;=20 + +
+
+ + + + +
+
+
+
+ +
+ + +
+ +
+ =20 +   +
+ + +
+
Index
+ +
+
+ This is documentation for current release v0.7 + (More)
+
+
+ +
+ + +
+
+3D"PDF
+ PDF
+
+
+ Font size:=20 +   = =20 +   +   +
+

Interface Design

+
+ This is documentation for current release v0.7 + (More)
+ + =09 +

This document describes some common use cases to allow the reader to=20 + understand the main functions and uses of the Burrokeet software.

+ + =09 + +

Content Editing

+
+ +

Edit a single informational asset (XDoc/XHTML)<= /h3> +

This is an asset with content alone and represents the most common kind=20 + of asset found. Since assets can be in many different formats we must=20 + allow for many different editors. However, to get us started we will=20 + work with an XML editor working with the basic XHTML intermediate for= mat=20 + used in Burrokeet.

+

+ + =09 + +

Structure Editing

+
+ +

Add an Existing Resource to the curent Content = Package

+

A resource is added to the Content Package in development. This=20 + operation should be performed by a simple drag and drop operation=20 + between a Repository view and a Content Package view.

+

Meta-Data should be copied across and filled in wherever possible, othe= r=20 + requried meta-data should be requested via a dialog box. Optional=20 + meta-data is edited via a meta-data view.

+ +

Add a Local Resource to the Resources View

+

A local reource is one that is accessed via the normal file handling=20 + routines of the operating system. These are added to the resources vi= ew=20 + by browsing to them using the file navigation facilities of Eclipse a= nd=20 + selected the desired resource.

+

A resource, in this instance, can be a file or a folder. When a folder=20 + is added all sub olders are also added.

+

Resources should be insertable at any point in the resources view.

+ +

Add a New Repository to the Resources View

+

A repository is a remote collection of resources that are acessed=20 + through a special repository API (FIXME: what API are we going to use= ?).=20 + They are added to the respources view providing the necessary URI to=20 + ientiy them to the access routines.

+ +

Create a New Resource Locally

+

A new resource is created locally and can then be manipulated like any=20 + other resource.

+

The systems automatically fills in as much meta-data as possible and=20 + prompts the user for other requried items. Further data can be=20 + added/edited via the meta-data editor.

+
+ + =09 + +

Repository Management

+ + =20 +
+ +
 
+
+ + + Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.= org/repositoryData/useCases.html ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/rep= ositoryData/useCases.pdf URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/repositoryCommand/getSCO/HowTo/reposit= oryURI/www.burrokeet.org/repositoryData/useCases.pdf?rev=3D168440&view=3Dau= to =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Binary file - no diff available. Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.= org/repositoryData/useCases.pdf ---------------------------------------------------------------------------= --- svn:mime-type =3D application/pdf Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/rep= ositoryData/xmlDocument.html URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/repositoryCommand/getSCO/HowTo/reposit= oryURI/www.burrokeet.org/repositoryData/xmlDocument.html?rev=3D168440&view= =3Dauto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/reposi= toryData/xmlDocument.html (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/reposi= toryData/xmlDocument.html Thu May 5 15:07:36 2005 @@ -0,0 +1,208 @@ + + + + + + + + +New XDoc (v0.7) + + + + + + + + + +
+ + + +
+ +
+3D"Apa= +
+ + +
+3D"Plugin: +
+ + +
+
+ = ;=20 + +
+
+ + + + +
+
+
+
+ +
+ + +
+ +
+ =20 +   +
+ + +
+
Index
+
+
+Index +
+
Burrokeet H= owTo
+ +
+
+
+ This is documentation for current release v0.7 + (More)
+
+
+ +
+ + +
+
+3D"PDF
+ PDF
+
+
+ Font size:=20 +   = =20 +   +   +
+

New XDoc

+
+ This is documentation for current release v0.7 + (More)
+=20 + + =20 + +

Creating a New Document

+
+

1. Click on New -> Other

+

2. Expand Burrokeet, click on XDoc and Click on Next

+

3. Enter a name for the new document and click on Finish

+
+ =20 + +

Editing a new Document

+
+

To add a new element to a document, right click and click on Add Child = ->New Element

+
+ =20 +
+ +
 
+
+
+ +
+ +
+
+ Copyright © + 2004-2005 The Apache = Software Foundation. +
+ +
+ + Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.= org/repositoryData/xmlDocument.html ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.org/rep= ositoryData/xmlDocument.pdf URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/repositoryCommand/getSCO/HowTo/reposit= oryURI/www.burrokeet.org/repositoryData/xmlDocument.pdf?rev=3D168440&view= =3Dauto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Binary file - no diff available. Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/repositoryCommand/getSCO/HowTo/repositoryURI/www.burrokeet.= org/repositoryData/xmlDocument.pdf ---------------------------------------------------------------------------= --- svn:mime-type =3D application/pdf Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/skin/basic.css URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/skin/basic.css?rev=3D168440&view=3Dauto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/basic.css (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/basic.css Thu May 5 15:07:36 2005 @@ -0,0 +1,144 @@ +/* +* Copyright 2002-2004 The Apache Software Foundation or its licensors, +* as applicable. +* +* 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. +*/ +/** + * General + */ + +img { border: 0; } + +#content table { + border: 0; + width: 100%; +} +#content th, +#content td { + margin: 0; + padding: 0; + vertical-align: top; +} + +=2Eclearboth { + clear: both; +} + +=2Eframe { + border: solid black 1px; + margin: 1em 3em; +} + +=2Eframe .label { + background: #369; + color: white; + font-weight: bold; + padding: 5px 10px; +} +=2Eframe .content { + padding: 5px 10px; + background: #F0F0FF; + color: black; + line-height: 120%; + font-size: 90%; +} +=2Ewarning .label { + background: #C00; + color: white; +} +=2Ewarning .content { + background: #FFF0F0; + color: black; +} +=2Efixme .label { + background: #C6C600; +} + +/** + * Typography + */ + +body { + font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif; + font-size: 100%; +} + +#content { + font-family: Georgia, Palatino, Times, serif; + font-size: 95%; +} +#tabs { + font-size: 70%; +} +#menu { + font-size: 80%; +} +#footer { + font-size: 70%; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; + font-weight: bold; + margin-top: 1em; + margin-bottom: .5em; +} + +h1 { + margin-top: 0; + margin-bottom: 1em; + font-size: 1.4em; +} +#content h1 { + font-size: 160%; + margin-bottom: .5em; +} +#menu h1 { + margin: 0; + padding: 10px; + background: #336699; + color: white; +} +h2 { font-size: 120%; } +h3 { font-size: 100%; } +h4 { font-size: 90%; } +h5 { font-size: 80%; } +h6 { font-size: 75%; } + +p { + line-height: 120%; + text-align: left; + margin-top: .5em; + margin-bottom: 1em; +} + +#content li, +#content th, +#content td { + line-height: 110%; =20 + margin-top: .1em; + margin-bottom: .1em; +} + +#content .attribution { + text-align: right; + font-style: italic; + font-size: 85%; + margin-top: 1em; +} + +=2Ecodefrag { + font-family: "Courier New", Courier, monospace; + font-size: 110%; +} Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/skin/basic.css ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/skin/breadcrumbs-optimized.js URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/skin/breadcrumbs-optimized.js?rev=3D16= 8440&view=3Dauto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/breadcrumbs-optimized.js (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/breadcrumbs-optimized.js Thu May 5 15:07:36 2005 @@ -0,0 +1,90 @@ +/* +* Copyright 2002-2004 The Apache Software Foundation or its licensors, +* as applicable. +* +* 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. +*/ +var PREPREND_CRUMBS=3Dnew Array(); +var link1=3D"@skinconfig.trail.link1.name@"; +var link2=3D"@skinconfig.trail.link2.name@"; +var link3=3D"@skinconfig.trail.link3.name@"; +if(!(link1=3D=3D"")&&!link1.indexOf( "@" ) =3D=3D 0){ + PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) = ); } +if(!(link2=3D=3D"")&&!link2.indexOf( "@" ) =3D=3D 0){ + PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) = ); } +if(!(link3=3D=3D"")&&!link3.indexOf( "@" ) =3D=3D 0){ + PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) = ); } +var DISPLAY_SEPARATOR=3D" > "; +var DISPLAY_PREPREND=3D" > "; +var DISPLAY_POSTPREND=3D":"; +var CSS_CLASS_CRUMB=3D"breadcrumb"; +var CSS_CLASS_TRAIL=3D"breadcrumbTrail"; +var CSS_CLASS_SEPARATOR=3D"crumbSeparator"; +var FILE_EXTENSIONS=3Dnew Array( ".html", ".htm", ".jsp", ".php", ".php3",= ".php4" ); +var PATH_SEPARATOR=3D"/"; + +function sc(s) { + var l=3Ds.toLowerCase(); + return l.substr(0,1).toUpperCase()+l.substr(1); +} +function getdirs() { + var t=3Ddocument.location.pathname.split(PATH_SEPARATOR); + var lc=3Dt[t.length-1]; + for(var i=3D0;i < FILE_EXTENSIONS.length;i++) + { + if(lc.indexOf(FILE_EXTENSIONS[i])) + return t.slice(1,t.length-1); } + return t.slice(1,t.length); +} +function getcrumbs( d ) +{ + var pre =3D "/"; + var post =3D "/"; + var c =3D new Array(); + if( d !=3D null ) + { + for(var i=3D0;i < d.length;i++) { + pre+=3Dd[i]+postfix; + c.push(new Array(d[i],pre)); } + } + if(PREPREND_CRUMBS.length > 0 ) + return PREPREND_CRUMBS.concat( c ); + return c; +} +function gettrail( c ) +{ + var h=3DDISPLAY_PREPREND; + for(var i=3D0;i < c.length;i++) + { + h+=3D''+sc(c[i][0])+''; + if(i!=3D(c.length-1)) + h+=3DDISPLAY_SEPARATOR; } + return h+DISPLAY_POSTPREND; +} + +function gettrailXHTML( c ) +{ + var h=3D''+DISPLAY_PREPREND; + for(var i=3D0;i < c.length;i++) + { + h+=3D''+sc(c[i][0]= )+''; + if(i!=3D(c.length-1)) + h+=3D''+DISPLAY_SEPARATOR+''; } + return h+DISPLAY_POSTPREND+''; +} + +if(document.location.href.toLowerCase().indexOf("http://")=3D=3D-1) + document.write(gettrail(getcrumbs())); +else + document.write(gettrail(getcrumbs(getdirs()))); + Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/skin/breadcrumbs-optimized.js ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/skin/breadcrumbs.js URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/skin/breadcrumbs.js?rev=3D168440&view= =3Dauto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/breadcrumbs.js (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/breadcrumbs.js Thu May 5 15:07:36 2005 @@ -0,0 +1,237 @@ +/* +* Copyright 2002-2004 The Apache Software Foundation or its licensors, +* as applicable. +* +* 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. +*/ +/** + * This script, when included in a html file, builds a neat breadcrumb tra= il + * based on its url. That is, if it doesn't contains bugs (I'm relatively + * sure it does). + * + * Typical usage: + * + */ + +/** + * IE 5 on Mac doesn't know Array.push. + * + * Implement it - courtesy to fritz. + */ +var abc =3D new Array(); +if (!abc.push) { + Array.prototype.push =3D function(what){this[this.length]=3Dwhat} +} + +/* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + CONSTANTS + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D */ + +/** + * Two-dimensional array containing extra crumbs to place at the front of + * the trail. Specify first the name of the crumb, then the URI that belon= gs + * to it. You'll need to modify this for every domain or subdomain where + * you use this script (you can leave it as an empty array if you wish) + */ +var PREPREND_CRUMBS =3D new Array(); + +var link1 =3D "@skinconfig.trail.link1.name@"; +var link2 =3D "@skinconfig.trail.link2.name@"; +var link3 =3D "@skinconfig.trail.link3.name@"; + +var href1 =3D "@skinconfig.trail.link1.href@"; +var href2 =3D "@skinconfig.trail.link2.href@"; +var href3 =3D "@skinconfig.trail.link3.href@"; + + if(!(link1=3D=3D"")&&!link1.indexOf( "@" ) =3D=3D 0){ + PREPREND_CRUMBS.push( new Array( link1, href1 ) ); + } + if(!(link2=3D=3D"")&&!link2.indexOf( "@" ) =3D=3D 0){ + PREPREND_CRUMBS.push( new Array( link2, href2 ) ); + } + if(!(link3=3D=3D"")&&!link3.indexOf( "@" ) =3D=3D 0){ + PREPREND_CRUMBS.push( new Array( link3, href3 ) ); + } + +/** + * String to include between crumbs: + */ +var DISPLAY_SEPARATOR =3D " > "; +/** + * String to include at the beginning of the trail + */ +var DISPLAY_PREPREND =3D " > "; +/** + * String to include at the end of the trail + */ +var DISPLAY_POSTPREND =3D ""; + +/** + * CSS Class to use for a single crumb: + */ +var CSS_CLASS_CRUMB =3D "breadcrumb"; + +/** + * CSS Class to use for the complete trail: + */ +var CSS_CLASS_TRAIL =3D "breadcrumbTrail"; + +/** + * CSS Class to use for crumb separator: + */ +var CSS_CLASS_SEPARATOR =3D "crumbSeparator"; + +/** + * Array of strings containing common file extensions. We use this to + * determine what part of the url to ignore (if it contains one of the + * string specified here, we ignore it). + */ +var FILE_EXTENSIONS =3D new Array( ".html", ".htm", ".jsp", ".php", ".php3= ", ".php4" ); + +/** + * String that separates parts of the breadcrumb trail from each other. + * When this is no longer a slash, I'm sure I'll be old and grey. + */ +var PATH_SEPARATOR =3D "/"; + +/* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + UTILITY FUNCTIONS + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D */ +/** + * Capitalize first letter of the provided string and return the modified + * string. + */ +function sentenceCase( string ) +{ return string; + //var lower =3D string.toLowerCase(); + //return lower.substr(0,1).toUpperCase() + lower.substr(1); +} + +/** + * Returns an array containing the names of all the directories in the + * current document URL + */ +function getDirectoriesInURL() +{ + var trail =3D document.location.pathname.split( PATH_SEPARATOR ); + + // check whether last section is a file or a directory + var lastcrumb =3D trail[trail.length-1]; + for( var i =3D 0; i < FILE_EXTENSIONS.length; i++ ) + { + if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) ) + { + // it is, remove it and send results + return trail.slice( 1, trail.length-1 ); + } + } + + // it's not; send the trail unmodified + return trail.slice( 1, trail.length ); +} + +/* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + BREADCRUMB FUNCTIONALITY + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D */ +/** + * Return a two-dimensional array describing the breadcrumbs based on the + * array of directories passed in. + */ +function getBreadcrumbs( dirs ) +{ + var prefix =3D "/"; + var postfix =3D "/"; + + // the array we will return + var crumbs =3D new Array(); + + if( dirs !=3D null ) + { + for( var i =3D 0; i < dirs.length; i++ ) + { + prefix +=3D dirs[i] + postfix; + crumbs.push( new Array( dirs[i], prefix ) ); + } + } + + // preprend the PREPREND_CRUMBS + if(PREPREND_CRUMBS.length > 0 ) + { + return PREPREND_CRUMBS.concat( crumbs ); + } + + return crumbs; +} + +/** + * Return a string containing a simple text breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrail( crumbs ) +{ + var xhtml =3D DISPLAY_PREPREND; + + for( var i =3D 0; i < crumbs.length; i++ ) + { + xhtml +=3D ''; + xhtml +=3D unescape( crumbs[i][0] ) + ''; + if( i !=3D (crumbs.length-1) ) + { + xhtml +=3D DISPLAY_SEPARATOR; + } + } + + xhtml +=3D DISPLAY_POSTPREND; + + return xhtml; +} + +/** + * Return a string containing an XHTML breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrailXHTML( crumbs ) +{ + var xhtml =3D ''; + xhtml +=3D DISPLAY_PREPREND; + + for( var i =3D 0; i < crumbs.length; i++ ) + { + xhtml +=3D ''; + xhtml +=3D unescape( crumbs[i][0] ) + ''; + if( i !=3D (crumbs.length-1) ) + { + xhtml +=3D '' + DISPLAY_SEP= ARATOR + ''; + } + } + + xhtml +=3D DISPLAY_POSTPREND; + xhtml +=3D ''; + + return xhtml; +} + +/* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + PRINT BREADCRUMB TRAIL + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D */ + +// check if we're local; if so, only print the PREPREND_CRUMBS +if( document.location.href.toLowerCase().indexOf( "http://" ) =3D=3D -1 ) +{ + document.write( getCrumbTrail( getBreadcrumbs() ) ); +} +else +{ + document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) = ); +} + Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/skin/breadcrumbs.js ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/skin/fontsize.js URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/skin/fontsize.js?rev=3D168440&view=3Da= uto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/fontsize.js (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/fontsize.js Thu May 5 15:07:36 2005 @@ -0,0 +1,166 @@ +/* +* Copyright 2002-2004 The Apache Software Foundation or its licensors, +* as applicable. +* +* 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. +*/ +function init()=20 +{ //embedded in the doc + //ndeSetTextSize(); +} + +function checkBrowser(){ + if (!document.getElementsByTagName){ + return true; + } + else{ + return false; + } +} + + +function ndeSetTextSize(chgsize,rs)=20 +{ + var startSize; + var newSize; + + if (!checkBrowser) + { + return; + } + + startSize =3D parseInt(ndeGetDocTextSize()); + + if (!startSize) + { + startSize =3D 16; + } + + switch (chgsize) + { + case 'incr': + newSize =3D startSize + 2; + break; + + case 'decr': + newSize =3D startSize - 2; + break; + + case 'reset': + if (rs) {newSize =3D rs;} else {newSize =3D 16;} + break; + + default: + try{ + newSize =3D parseInt(ndeReadCookie("nde-textsize")); + } + catch(e){ + alert(e); + } + =20 + if (!newSize || newSize =3D=3D 'NaN') + { + newSize =3D startSize; + } + break; + + } + + if (newSize < 10)=20 + { + newSize =3D 10; + } + + newSize +=3D 'px'; + + document.getElementsByTagName('html')[0].style.fontSize =3D newSize; + document.getElementsByTagName('body')[0].style.fontSize =3D newSize; + + ndeCreateCookie("nde-textsize", newSize, 365); +} + +function ndeGetDocTextSize()=20 +{ + if (!checkBrowser) + { + return 0; + } + + var size =3D 0; + var body =3D document.getElementsByTagName('body')[0]; + + if (body.style && body.style.fontSize) + { + size =3D body.style.fontSize; + } + else if (typeof(getComputedStyle) !=3D 'undefined') + { + size =3D getComputedStyle(body,'').getPropertyValue('font-size'); + } + else if (body.currentStyle) + { + size =3D body.currentStyle.fontSize; + } + + //fix IE bug + if( isNaN(size)){ + if(size.substring(size.length-1)=3D=3D"%"){ + return + } + + } + + return size; + +} + + + +function ndeCreateCookie(name,value,days)=20 +{ + var cookie =3D name + "=3D" + value + ";"; + + if (days)=20 + { + var date =3D new Date(); + date.setTime(date.getTime()+(days*24*60*60*1000)); + cookie +=3D " expires=3D" + date.toGMTString() + ";"; + } + cookie +=3D " path=3D/"; + + document.cookie =3D cookie; + +} + +function ndeReadCookie(name)=20 +{ + var nameEQ =3D name + "=3D"; + var ca =3D document.cookie.split(';'); + +=20 + for(var i =3D 0; i < ca.length; i++)=20 + { + var c =3D ca[i]; + while (c.charAt(0) =3D=3D ' ')=20 + { + c =3D c.substring(1, c.length); + } + + ctest =3D c.substring(0,name.length); +=20 + if(ctest =3D=3D name){ + return c.substring(nameEQ.length,c.length); + } + } + return null; +} Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/skin/fontsize.js ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/skin/forrest.css.xslt URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/skin/forrest.css.xslt?rev=3D168440&vie= w=3Dauto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/forrest.css.xslt (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/forrest.css.xslt Thu May 5 15:07:36 2005 @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + =20 + + +/* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D aural =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D */ + +@media aural { + h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness:= 90 } + h1 { pitch: x-low; pitch-range: 90 } + h2 { pitch: x-low; pitch-range: 80 } + h3 { pitch: low; pitch-range: 70 } + h4 { pitch: medium; pitch-range: 60 } + h5 { pitch: medium; pitch-range: 50 } + h6 { pitch: medium; pitch-range: 40 } + li, dt, dd { pitch: medium; richness: 60 } + dt { stress: 80 } + pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 } + em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 } + strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 } + dfn { pitch: high; pitch-range: 60; stress: 60 } + s, strike { richness: 0 } + i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 } + b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 } + u { richness: 0 } + =20 + :link { voice-family: harry, male } + :visited { voice-family: betty, female } + :active { voice-family: betty, female; pitch-range: 80; pitch: x-high } +} + + =20 + +a.external { + padding: 0 20px 0px 0px; + display:inline; + background-repeat: no-repeat; + background-position: center right; + background-image: url(images/external-link.gif); +} + + =20 + + + + =20 + + + + Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/skin/forrest.css.xslt ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/skin/getBlank.js URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/skin/getBlank.js?rev=3D168440&view=3Da= uto =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/getBlank.js (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/getBlank.js Thu May 5 15:07:36 2005 @@ -0,0 +1,32 @@ +/* +* Copyright 2002-2004 The Apache Software Foundation or its licensors, +* as applicable. +* +* 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. +*/ +/** + * This script, when included in a html file and called from a form text f= ield, will set the value of this field to "" + * if the text value is still the standard value. + * + * Typical usage: + * + * + */ + Propchange: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.interna= l=2EIMSManifest/skin/getBlank.js ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMS= Manifest/skin/getMenu.js URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/plugins/org.apache= .forrest.plugin.internal.IMSManifest/skin/getMenu.js?rev=3D168440&view=3Dau= to =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/getMenu.js (added) +++ forrest/site/0.7/docs/plugins/org.apache.forrest.plugin.internal.IMSMan= ifest/skin/getMenu.js Thu May 5 15:07:36 2005 @@ -0,0 +1,45 @@ +/* +* Copyright 2002-2004 The Apache Software Foundation or its licensors, +* as applicable. +* +* 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. +*/ +/** + * This script, when included in a html file, can be used to make collapsi= ble menus + * + * Typical usage: + * + */ + +if (document.getElementById){=20 + document.write('