Re: Tutorial Creating a new Publication

Michael Wechner <[email protected]>
Newsgroups gmane.comp.cms.wyona.user
Message-ID <[email protected]>

[email protected] wrote:

> Hi all!
> 
> I have worked a little bit on the turorial 'Creating a new Publication' 
> (Integrator's Guide). It is just a more detailed description of the 
> steps I have taken to create a new publication - no big deal. 
> The file is located at
> /webapp/wyona/cms/pubs/wyona-cms-docs/resources/html/tutorial/index.html.
> Attached you will find the file and it would be very 
> appreciated if you comment on this. Is it all right or
> are there some flaws? 


Thanks a lot. I will check it over the weekend.


It seems that you are still using a pretty old version,
since we have migrated our documentation to the xdoc format.
But that's certainly not your fault, it rather gives me
the idea to put snapshots on the website on a regular basis,
or to encourage people to use the CVS.


> 
> At the Documentation page I missed an item
> concerning new doctypes (according to 'group' or
> 'department'). I would like to create and incooperate a new
> doctype and I'm willing to write down the steps I have
> taken to do this.


Very good point. Were would you like to place it within
the table of contents: Integrator's Guide?


> 
> By the way: what about xopus? Is it now open source?


Please see the other email

All the best

Michael


> 
> Best wishes
> Jürgen
> 
> 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> 
> ------------------------------------------------------------------------
> 
> 
>   Tutorial
> 
> 
>     Creating a new publication
> 
>    1. Copy Approriate Sample Publication
>       (for instance: cp -r wyona/cms/pubs/ethz-mat wyona/cms/pubs/MY-PUB)
>        
>    2. Rename the ethz/mat subdirectories - if you like ;-)
>       for instance: ethz-mat/docs/ethz/mat ==> MY-PUB/docs/standard/t01
>       and: ethz-mat/stylesheets/ethz/mat ==> MY-PUB/stylesheets/standard/t01
>        
>    3. Configure sitemap.xmap
>       for instance: replace ethz-mat by MY-PUB:
>       ...
>       <map:match pattern="MY-PUB/**">
>       ...
>       <map:mount uri-prefix="MY-PUB"
>       src="wyona/cms/pubs/MY-PUB/sitemap.xmap" check-reload="true"
>       reload-method="synchron"/>
>       ...
>        
>    4. If you use the html-editor modify 'wyonaPath'
>       in the java-class org.wyona.cms.cocoon.acting.EditorMainAction
>       for instance: String
>       wyonaPath="wyona/cms/pubs/MY-PUB/docs/standard/t01/";
>       and recompile.
>        
>    5. Mount sitemap.xmap from the root sitemap.xmap which is located
>       within the wyona-cms directory
>       ...
>       <map:match pattern="MY-PUB/**">
>       <map:mount uri-prefix="MY-PUB"
>       src="wyona/cms/pubs/MY-PUB/sitemap.xmap" check-reload="true"
>       reload-method="synchron"/>
>       </map:match>
>       ...
>        
>    6. Set Prefix for Stylesheets (for instance: replace ethz-mat by MY-PUB)
>       File
>       wyona/cms/pubs/MY-PUB/stylesheets/standard/t01/Configuration/read.xsl:
> 
>       ...
>       <xsl:variable name="prefix">/wyona-cms/MY-PUB/live</xsl:variable>
>       ...
> 
>       File wyona/cms/pubs/MY-PUB/stylesheets/Configuration/read.xsl:
>       ...
>       <xsl:variable name="prefix">/MY-PUB</xsl:variable>
>       ...
>        
>    7. Set Name of Publication:
>       wyona/cms/pubs/MY-PUB/stylesheets/wyona/cms/conf/conf.xsl
>       (for instance: replace "Materials Science" by "My Publication"), i.e.
>       ...
>       <xsl:variable name="publication">My Publication</xsl:variable>
>       ...
>        
>    8. Start modifying the XML, XSLT and the various sitemaps
>        
>          1. Create XSLT from HTML with JTidy:
>             export PATH=/usr/local/jdk1.3.1/bin:$PATH
>             java?-classpath?WYONACMS/build/wyona-cms/classes:
>             WYONACMS/build/wyona-cms/webapp/WEB-INF/lib/jtidy-04aug2000r7-
>             dev.jar?org.wyona.util.TidyCommandLine
>              
>          2. webapp/wyona/cms/docs/cms/menus/live.xsp:
> 
>         ...
>         <context_prefix>/wyona-cms/MY-PUB</context_prefix>
>         <prefix>MY-PUB</prefix>
>         ...
> 
> 
>              
>          3. webapp/wyona/cms/pubs/MY-PUB/docs/cms/menus/live.xsp:
> 
>         ...
>         <context_prefix>/wyona-cms/MY-PUB</context_prefix>
>         <prefix>MY-PUB</prefix> 
> 
> 
>              
>          4. wyona/cms/pubs/MY-PUB/sitemap.xmap:
> 
>         ...
>         <authenticator type="MY-PUB"/>
>         <policies>MY-PUB/policies/</ policies>
>         ...
>         <type>MY-PUB</type>
>         <passwd>MY-PUB/passwd/</passwd>
>         ...
>         <map:parameter name="publication_name" value="MY-PUB"/>
>         <map:parameter name="publication_id" value="MY-PUB"/>
>         <map:parameter name="wyona_path" value="wyona/cms/pubs/MY-PUB/docs/standard/t01/" />
>         ...
>         <map:parameter name="publication_name" value="MY-PUB"/>
>         ...
> 
> 
>              
>          5. webapp/wyona/cms/pubs/MY-PUB/stylesheets/wyona/cms/edit/Page/root.xsl:
>             ...
>             <a href="/wyona-cms/MY-PUB/switch-user">Switch?User</a>
>             ...
>             <a href="/wyona-cms/MY-PUB/logout">Logout</a>
>             ...
>              
> 


-- 
OSCOM - Open Source Content Management Conference
September 25th - 27th 2002, Berkeley, California
http://www.oscom.org/conferences/berkeley2002/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.