You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2003/08/18 10:55:49 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/resources/misc/bxeng index.html

michi       2003/08/18 01:55:49

  Modified:    src/webapp/lenya/pubs/blog sitemap.xmap
               src/webapp/lenya/pubs/blog/config/menus entry.xsp
  Added:       src/webapp/lenya/resources/misc/bxeng index.html
  Log:
  BXENG integration
  
  Revision  Changes    Path
  1.5       +11 -1     cocoon-lenya/src/webapp/lenya/pubs/blog/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/sitemap.xmap,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sitemap.xmap	15 Aug 2003 09:54:03 -0000	1.4
  +++ sitemap.xmap	18 Aug 2003 08:55:49 -0000	1.5
  @@ -52,8 +52,18 @@
   
       <!-- Entries BX Editor -->
       <map:pipeline>
  +      <map:match pattern="*/entries/*/*/*/*/index-bxeng.html">
  +        <map:read src="../../resources/misc/bxeng/index.html"/>
  +<!-- FIXME: Ctrl + i (Info): Render mode: Standards compliance mode
  +        <map:generate src="../../resources/misc/bxeng/index.html"/>
  +        <map:serialize type="html"/>
  +-->
  +      </map:match>
         <map:match pattern="*/entries/*/*/*/*/index-bxeng.xml">
  +        <map:generate src="content/{1}/entries/2003/07/28/1/test.xml"/>
  +<!--
           <map:generate src="content/{1}/entries/{2}/{3}/{4}/{5}/test.xml"/>
  +-->
           <map:serialize type="xml"/>
         </map:match>
         <map:handle-errors type="500">
  
  
  
  1.7       +11 -2     cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus/entry.xsp
  
  Index: entry.xsp
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/config/menus/entry.xsp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- entry.xsp	16 Aug 2003 00:08:49 -0000	1.6
  +++ entry.xsp	18 Aug 2003 08:55:49 -0000	1.7
  @@ -41,11 +41,14 @@
         <block>
           <item uc:usecase="edit" href="?lenya.step=open&amp;doctype=entry">Edit&#160;with&#160;Forms</item>
   <!--
  -        <item href="/bxeng/bxeng.html?xml=/lenya/blog/authoring/entries/2003/07/28/1/index-bxeng.xml&amp;xslt=examples/uni/test.xsl">Edit&#160;with&#160;BXENG</item>
  +        <item href="index-bxeng.html">Edit&#160;with&#160;BXENG</item>
   -->
   <!--
           <item>Edit&#160;with&#160;Midas</item>
   -->
  +<!--
  +        <item>Edit&#160;with&#160;Epoz</item>
  +-->
         </block>
         <block>
           <item uc:usecase="publish" uc:step="showscreen"><xsp:attribute name="href">?sources=<xsp:expr>source</xsp:expr>&amp;uris=<xsp:expr>uri</xsp:expr></xsp:attribute>Publish</item>
  @@ -75,10 +78,16 @@
       <menu name="Debug" label="Debug">
         <block>
           <item href="index.xml">XML</item>
  +      </block>
   <!--
  +      <block>
  +        <item href="index-bxeng.html">HTML&#160;for&#160;BXENG</item>
  +        <item href="config-bxeng.html">Config&#160;for&#160;BXENG</item>
           <item href="index-bxeng.xml">XML&#160;for&#160;BXENG</item>
  --->
  +        <item href="entry-bxeng.xsl">XSLT&#160;for&#160;BXENG</item>
  +        <item href="entry-relaxng-bxeng.xml">RelaxNG&#160;for&#160;BXENG</item>
         </block>
  +-->
       </menu>
     </menus>
   
  
  
  
  1.1                  cocoon-lenya/src/webapp/lenya/resources/misc/bxeng/index.html
  
  Index: index.html
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml"  >
  <head>
  
  <meta name="bxeNS" content="xhtml=http://www.w3.org/1999/xhtml"/>
  <meta name="bxeNS" content="lenya=http://apache.org/cocoon/lenya/document/1.0"/>
  <meta name="bxeNS" content="dc=http://dc.org/2003/" />
  <meta name="bxeNS" content="unizh=http://unizh.ch/2003/" />
  
  <link rel="stylesheet" href="/bxeng/css/editor.css" type="text/css" />
  
  <script src="/bxeng/bxeLoader.js" type="text/javascript"></script>
  
  
  <title>Bitflux Editor</title>
  
  </head>
  
  <body onload="bxe_start('./config.xml')">
  <!-- everything in the following div element will be replaced -->
  <div id="bxe_area">
  <noscript>
  <span style='font-family: Arial; padding: 5px; background-color: #ffffff'>
  You need JavaScript enabled. Otherwise nothing at all works here
  :)</span></noscript>
  </div>
  
  <!-- another way to do it without having to use xslt
    <div id="foobar" bxe_xpath="/unizh:content-document/xhtml:body"></div>
  -->
  </body>
  </html>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org