cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: New Cocoon 2B1 powerred website
Date Thu, 01 Nov 2001 16:04:20 GMT
jesskung@brel.com wrote:
> 
> Dear Cocoon users
> 
> We would like to invite you to view our newly released website based on cocoon2 and
> turbine at the URL below.
> 
> http://www-eng.tp.edu.sg
> 
> A brief about the web site and CMS system.
> 
> We have built a Content Management System(CMS) for over 60++ content publishers using
> Jakarta Turbine for the admin module to organise/manage their web pages. Turbine also
> provide the access control portion. Velocity was used to develop the screens for CMS.
> Users use MS Word to prepare their documents/content. These pages are then uploaded
> by CMS from the desktop to the server. At the server we use logitran to translate the
> MS Word document into a temp XML format. We then use Cocoon to translate it into a
> predefined XML format. Display templates are then used to generate HTML pages for the
> browser under Cocoon.
> 
> The configuration is such that the CMS system is sitting on one server where all the
> publisher will use it to prepare and preview their web pages. Once confirmed/approved
> the approved pages would then be replicated to the producton/live server.
> 
> The CMS system is running on a Win2000 adv svr,logitran 5.4.5, apache web svr, tomcat
> 3.2.2 and mysql, turbine 2.0, velocity and Cocoon 2 beta 1. The live system is
> running on a Win2000 Adv server(Compaq 1GHZ twin CPU server w/1GB RAM), on Apache web
> svr, Tomcat 3.2.2, MySQL, Cocoon 2 beta 1 and Turbine 2.0.
> 
> We have had many challenges in getting the system up and would like to Thank the many
> people in this newsgroup and Turbine who have been helping me and Kok Choon. Many
> Thanks also to David from Logitran. We hope that this announcement would inspire
> others to have the confidence to use Cocoon under a live environment.(our website
> currently have 400 pages....not bad for a start)  The real benefit is that the
> lecturers now can conveniently use MS Word to prepare the content and our system
> using Cocoon&Turbine takes care of the rest. No more HTML or waiting for the web
> programer to punch out the code. A big Thank You to the Cocoon and Turbine Gang.
> 
> The workis not over yet. Other than enhancements we are having some problems. Any
> assistance would be much appreciated of course:-
> 
> 1)Netscape support for Cocoon. Kok Choon is having problem getting his java script to
> work with his Cocoon generated code.
> 
> The sympton is as follows. point your netscape to www-eng.tp.edu.sg
> 
> 1. First time connection to the website using netscape 4.78, sidebar function does
> not work. You will have to reload the frame.

In this case the JVM is out of memmory....

> 2. After refreshing, the sidebar appears, but the content window will be filled with
> funny chars shaped like little square boxes replacing the text content. Of course, if
> you copy these square boxes and paste into notepad, the actual text does appear!

Don't use UTF8 encoding.  Use an older/more traditional ISO-8859-1 encoding.
Netscape doesn't play nice with UTF8

> According to our programmer, Kok Choon , the web pages rendered in Cocoon is not
> supported by Netscape 4.78.

That would be more of a function of the end markup used.  If the markup is not
friendly, and the encoding is not friendly (both can be controlled by Cocoon),
then thre result won't be what you expect.

> 2)we are encountering some performance issue due the model of elements used in
> Turbine. (Turbine groups are used to model the folder, web pages hierarchy) Any Gurus
> out there who would like to discuss this plse contact me.

Check the RAM resource requirements--Your servlet engine is overloaded.

> Any assistance on how to fix issue this would be much appreciated.
> Thanks in advanced for all your kind help... Attached are the 2 style sheets used in
> the aggregation of the web page.
> 
> Rgds,
> 
> ........................................................
> 
> Jessica Kung                           jesskung@brel.com.sg
> Brel Software Pte Ltd                  Tel: 65-272-6800
> Blk 1003 Bukit Merah Central           Fax: 65-272-2811
> #07-01/02                              http://www.brel.com
> Singapore 159836                       11/01/01 22:14:02
> 
>            Pls call us for the following services
>          Web Creation, Web, Email & Domain Hosting
>                  B2B B2C ASP CMS E-Commerce
> 
>   ------------------------------------------------------------------------------------------------------------------------------------
> <?xml version="1.0"?>
> 
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> 
> <xsl:output method="html"/>
> <xsl:template match="dummy">
> 
> <TD width="131" BGCOLOR="#2653a6">
>        <IMG border="0" width="131" height="22" src="pic/sidemenu/leftbar1.gif"/>
> 
>        <TABLE border="0" cellPadding="0" cellSpacing="0" width="131" vAlign="top">
>        <TR vAlign="top">
>              <TD><A href="#" onmouseout="popDown('elMenu1');MM_swapImgRestore()"
onmouseover="popUp('elMenu1',event);MM_swapImage('Image1','','pic/sidemenu/aboutus2.gif',1)"><IMG
border="0" name="Image1" src="pic/sidemenu/aboutus1.gif"/></A><br/>
>                  <A href="#" onmouseout="popDown('elMenu2');MM_swapImgRestore()" onmouseover="popUp('elMenu2',event);MM_swapImage('Image2','','pic/sidemenu/courses2.gif',1)"><IMG
border="0" name="Image2" src="pic/sidemenu/courses1.gif"/></A><br/>
>                  <A href="#" onmouseout="popDown('elMenu3');MM_swapImgRestore()" onmouseover="popUp('elMenu3',event);MM_swapImage('Image3','','pic/sidemenu/students2.gif',1)"><IMG
border="0" name="Image3" src="pic/sidemenu/students1.gif"/></A><br/>
>                  <A href="#" onmouseout="popDown('elMenu4');MM_swapImgRestore()" onmouseover="popUp('elMenu4',event);MM_swapImage('Image4','','pic/sidemenu/tech2.gif',1)"><IMG
border="0" name="Image4" src="pic/sidemenu/tech1.gif"/></A><br/>
>                  <A href="#" onmouseout="popDown('elMenu6');MM_swapImgRestore()" onmouseover="popUp('elMenu6',event);MM_swapImage('Image6','','pic/sidemenu/news_n_events2.gif',1)"><IMG
border="0" name="Image6" src="pic/sidemenu/news_n_events1.gif"/></A><br/>
>                  <A href="#" onmouseout="popDown('elMenu7');MM_swapImgRestore()" onmouseover="popUp('elMenu7',event);MM_swapImage('Image7','','pic/sidemenu/newsletters2.gif',1)"><IMG
border="0" name="Image7" src="pic/sidemenu/newsletters1.gif"/></A><br/>
>                  <A href="#" onmouseout="popDown('elMenu8');MM_swapImgRestore()" onmouseover="popUp('elMenu8',event);MM_swapImage('Image8','','pic/sidemenu/sitemap2.gif',1)"><IMG
border="0" name="Image8" src="pic/sidemenu/sitemap1.gif"/></A></TD>
>         </TR>
> 
>                 <TR vAlign="top">
>                   <TD>
>                        <IMG border="0" src="pic/sidemenu/smartsearch.gif"/></TD>
>                 </TR>
>                 <TR vAlign="top">
>                   <TD>
>                        <TABLE border="0">
>                        <TR vAlign="center">
>                               <FORM action="search_swish.xml" method="POST">
>                                       <TD align="middle" height="35"><INPUT
type="text" size="10" name="keyword"></INPUT></TD>
>                                       <TD>
>                                              <INPUT alt="Go Search !!" name="Submit"
>                                               src="pic/sidemenu/go_button1.gif" type="image"
border="0"/></TD></FORM>
>                         </TR>
>                         </TABLE></TD>
>                 </TR>
> 
>       </TABLE>
> 
> </TD>
> </xsl:template>
> 
> <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
> <xsl:copy>
>         <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
> </xsl:copy>
> </xsl:template>
> 
> </xsl:stylesheet>
> 
>   ------------------------------------------------------------------------------------------------------------------------------------
> <?xml version="1.0"?>
> 
> <!DOCTYPE xsl:stylesheet [
> <!ENTITY nbsp   "&#160;">
> ]>
> 
> <xsl:stylesheet version="1.0"
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>     xmlns:ns1="http://www.brel.com/maincontent"
>     xmlns:ns2="http://www.brel.com/foot_note"
>     xmlns:ns3="http://www.brel.com/side_menu"
>     xmlns:ns4="http://www.brel.com/links"
>     xmlns:ns5="http://www.brel.com/banner"
>     xmlns:ns6="http://www.brel.com/navigation">
> 
> <xsl:template match="/">
> 
>         <HTML>
>         <HEAD><TITLE><xsl:apply-templates select="page/ns1:maincontent/HTML/HEAD/TITLE"
/> </TITLE>
>         <META content="text/html" charset="windows-1252" http-equiv="Content-Type"/>
> 
>         <Link href="css/thefont.css" rel="stylesheet" type="text/css"/>
> 
>            <SCRIPT LANGUAGE="JavaScript1.2" SRC="js/sidemenu/imageX.js" TYPE='text/javascript'>
>                     MM_preloadImages('pic/sidemenu/courses2.gif','pic/sidemenu/aboutus2.gif','pic/sidemenu/resource2.gif','pic/sidemenu/newsletters2.gif','pic/sidemenu/sitemap2.gif','pic/sidemenu/tech2.gif');
>         </SCRIPT>
> 
>         <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" src="js/sidemenu/menuStyle.js">
>         &nbsp;
>         </SCRIPT>
> 
>         <SCRIPT language="JavaScript1.2" TYPE="text/javascript" src="js/sidemenu/HM_Loader.js">
>         &nbsp;
>         </SCRIPT>
> 
>         <META content="MSHTML 5.00.2614.3500" name="GENERATOR"/></HEAD>
> 
>         <BODY leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
>           <MAP name="gosearch">
>                 <AREA alt="Go Search !!" coords="80,22,9"
>                      href="#" shape="CIRCLE"/>
>            </MAP>
> 
> 
>           <!-- top -->
>            <!-- <xsl:apply-templates/> -->
>            <TABLE border="0" cellPadding="0" cellSpacing="0" width="780">
> 
>           <TR vAlign="top">
>           <TD>
>           <!-- here -->
>             <xsl:apply-templates select="page/ns5:banner"/></TD>
>            </TR>
>            <TR vAlign="top">
>              <TD colspan="0">
> 
>                     <TABLE border="0" cellPadding="0" cellSpacing="0" width="780">
>                        <TR vAlign="top">
>                           <TD width="131" bgcolor="#ff7800" id="navigation1">&nbsp;</TD>
> 
>                           <TD width="649" bgcolor="#ff7800" id="navigation1">
> 
>                              <FONT id="navigation2">
>                                 Home
>                              </FONT>
>                              >>>
>                            </TD>
>                          </TR>
>                      </TABLE>
>              </TD>
>            </TR>
>            </TABLE>
> 
> 
>            <TABLE border="0" cellPadding="0" cellSpacing="0" width="780">
>            <TR vAlign="top"><!-- left -->
>               <xsl:apply-templates select="page/ns3:side_menu" />
> 
> 
>              <TD align="middle" width="649" BGCOLOR="#ffffff">
>                 <TABLE align="top" border="0" cellPadding="0" cellSpacing="0" BGCOLOR="#ffffff">
>                 <TR vAlign="center">
>                     <TD colSpan="2">
>                         <xsl:apply-templates select="page/ns1:maincontent" />
> 
>                         <TABLE border="0" cellPadding="0" cellSpacing="0">
>                           <TR Valign="top">
>                             <TD>
>                              <xsl:apply-templates select="page/ns4:links" />
>                             </TD>
> 
>                             <TD bgcolor="#000000" width="1"></TD>
> 
>                             <TD>
>                              <xsl:apply-templates select="page/ns6:navigation"/>
>                             </TD>
>                           </TR>
>                         </TABLE>
>                         <br/><br/>
>                         <TABLE width="600" cellSpacing="0" cellPadding="0" border="0">
>                           <TR vAlign="top">
>                              <TD width="70%"></TD>
>                              <TD width="30%" align="left">
>                                <FONT id="footer2">
>                                <BR/>Contact us at:
>                                <BR/>Temasek Engineering School, <br/>21 Tampines
Avenue 1,<BR/>
>                                     Singapore 529757.
>                                     <BR/>Tel: 780 5144. Fax: 787 7641</FONT></TD>
>                           </TR>
>                         </TABLE>
> 
>                         <xsl:apply-templates select="page/ns2:foot_note" />
>                     </TD>
>                 </TR>
>                 </TABLE></TD>
>           </TR>
>           </TABLE>
> 
>    </BODY>
> </HTML>
> </xsl:template>
> 
> <xsl:template match="ns1:maincontent">
>    <xsl:apply-templates/>
> </xsl:template>
> 
> <xsl:template match="ns2:foot_note">
>    <xsl:apply-templates/>
> </xsl:template>
> 
> <xsl:template match="ns3:side_menu">
>    <xsl:apply-templates/>
> </xsl:template>
> 
> <xsl:template match="ns4:links">
>    <xsl:apply-templates/>
> </xsl:template>
> 
> <xsl:template match="ns5:banner">
>    <xsl:apply-templates/>
> </xsl:template>
> 
> <xsl:template match="ns6:navigation">
>    <xsl:apply-templates/>
> </xsl:template>
> 
> <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
> <xsl:copy>
>         <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
> </xsl:copy>
> </xsl:template>
> 
> </xsl:stylesheet>
> 
>   ------------------------------------------------------------------------------------------------------------------------------------
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


-- 

"Those who would trade liberty for
 temporary security deserve neither"
                - Benjamin Franklin

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message