Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change 
notification.

The following page has been changed by GregorRothfuss:
http://wiki.apache.org/lenya/WyonaTutorial

The comment on the change is:
obsolete

------------------------------------------------------------------------------
- '''NOTE:''' ''This text is hopelessly outdated and should probably be 
scrapped. Also Wyona has been renamed to Lenya, so any documentation effort 
should go towards improving the [:Lenya] pages.'' -- ChristianEgli
+ deleted
  
- At the moment there seem to be two possibilities to 
- use Lenya. You can either copy a sample publication from 
- the Lenya distribution which has a similar information 
- architecture as the one you have in mind for yourself, or 
- you might have an existing Cocoon based publication, which 
- you want to make content manageable, which means documents respectively 
- pages shall basically be editable and publishable. 
- 
- = Customizing a sample publication  =
- == Sample publications  ==
- 
- The following sample publications currently exist: 
- 
-  * UNIPUBLIC (University of Zurich) 
-  * Department of Materials Science (Swiss Federal Institute of Technology) 
- 
- == Copy sample publication  ==
- 
- In following let '''ethz-mat''' be the source and '''MY-PUB''' the name of 
the new publication 
-  * Copy: cp -r lenya/pubs/ethz-mat lenya/pubs/MY-PUB 
-  * Rename the ethz/mat subdirectories for your purpose 
- for instance: ethz-mat/docs/ethz/mat ==> MY-PUB/docs/standard/t01 
- and: ethz-mat/stylesheets/ethz/mat ==> MY-PUB/stylesheets/standard/t01 
-  * Configure MY-PUB/sitemap.xmap 
- Just replace ethz-mat by MY-PUB and ethz/mat by standard/t01 
- 
- {{{<map:components> 
- ... 
- <map:actions> 
- <map:action name="authorizer" 
src="org.apache.lenya.cms.cocoon.acting.PMLAuthorizerAction" 
- logger="sitemap.action.pml-authorizer"> 
- <authenticator type="MY-PUB"/> 
- <policies>MY-PUB/policies/</policies> 
- 
<public>login-screen|do-login|switch-user|logout|.*[.]css|.*[.]jpg|.*[.]gif</public>
 
- </map:action> 
- <map:action name="authenticator" 
- src="org.apache.lenya.cms.cocoon.acting.IMLAuthenticatorAction" 
- logger="sitemap.action.iml-authenticator"> 
- <type>MY-PUB</type> 
- <passwd>MY-PUB/passwd/</passwd> 
- </map:action> 
- </map:actions> 
- </map:components> 
- ... 
- <map:resources> 
- <map:resource name="login"> 
- <map:generate type="serverpages" src="../../content/ac/login.xsp"/> 
- <map:transform src="../../xslt/ac/login.xsl"> 
- <map:parameter name="publication_name" value="MY-PUB"/> 
- <map:parameter name="publication_id" value="MY-PUB"/> 
- <map:parameter name="lenya_path" value="lenya/pubs/MY-PUB/docs/standard/t01/" 
/> 
- </map:transform> 
- <map:serialize type="html"/> 
- </map:resource> 
- </map:resources> 
- 
- <map:match pattern="logout"> 
- <map:generate type="serverpages" src="../../content/ac/logout.xsp"/> 
- <map:transform src="../../xslt/ac/logout.xsl"> 
- <map:parameter name="publication_name" value="MY-PUB"/> 
- </map:transform> 
- <map:serialize/> 
- </map:match> 
- }}} 
- 
-  * Set Name of Publication: lenya/pubs/MY-PUB/stylesheets/lenya/conf/conf.xsl 
- (e.g. 'MY Publication') 
- 
- {{{<?xml version="1.0"?> 
- <xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> 
- <xsl:include href="../../../Configuration/read.xsl"/> 
- <xsl:variable name="publication">MY Publication</xsl:variable> 
- <xsl:variable name="copyright">copyright © 2002 lenya.org</xsl:variable> 
- </xsl:stylesheet> 
- }}} 
- 
- 
-  * Moreover, replace ethz-mat by MY-PUB in following files: 
-  1.# webapp/lenya/content/menus/live.xsp 
-  1.# webapp/lenya/pubs/MY-PUB/docs/cms/menus/live.xsp 
-  1.# webapp/lenya/pubs/MY-PUB/stylesheets/standard/t01/Configuration/read.xsl 
-  1.# webapp/lenya/pubs/MY-PUB/stylesheets/Configuration/read.xsl 
-  1.# webapp/lenya/pubs/MY-PUB/stylesheets/lenya/edit/root.xsl 
- 
- 
- 
- == Adding copied publication to root sitemap  ==
-      File: webapp/sitemap.xmap 
- 
- {{{<map:match pattern="MY-PUB/**"> 
- <map:mount uri-prefix="MY-PUB" src="lenya/pubs/MY-PUB/sitemap.xmap" 
- check-reload="true" reload-method="synchron"/> 
- </map:match> 
- }}} 
- 
- == Adding CM functionalities to an existing publication  ==
- 
- === Creating Authoring and Live area  ===
-      to do 
- 
- === Import content  ===
- === Create XSLT from HTML with JTidy  ===
- 
- {{{export PATH=/usr/local/jdk1.3.1/bin:$PATH <br/> 
- java -classpath 
LENYACMS/build/lenya/classes:LENYACMS/build/lenya/webapp/WEB-INF/lib/jtidy-04aug2000r7-dev.jar
 org.apache.lenya.util.TidyCommandLine }}}
- 
- === Regard following items ===
-  * Modify !EditorMainAction if the html-editor is used</title> 
-  * Modify 'lenyaPath'in the java-class 
org.apache.lenya.cms.cocoon.acting.!EditorMainAction 
-      for instance: String lenyaPath="lenya/pubs/MY-PUB/docs/standard/t01/";
-      and recompile. 
- 
- 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to