You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl-cvs@perl.apache.org by ri...@apache.org on 2005/02/27 23:38:35 UTC

cvs commit: embperl/podsrc Config.spod s2pod.pl

richter     2005/02/27 14:38:35

  Modified:    .        Embperl.pod
               eg/web   config.pl menuleft.epl
               podsrc   Config.spod s2pod.pl
  Log:
  - Adapt Web
  
  Revision  Changes    Path
  1.89      +1 -1      embperl/Embperl.pod
  
  Index: Embperl.pod
  ===================================================================
  RCS file: /home/cvs/embperl/Embperl.pod,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- Embperl.pod	27 Feb 2005 22:16:41 -0000	1.88
  +++ Embperl.pod	27 Feb 2005 22:38:35 -0000	1.89
  @@ -34,7 +34,7 @@
   B<IMPORTANT:> This document describes the syntax and several features of Embperl.
   Please read also L<perldoc Config.pod|Config.pod>, which describes how to
   configure Embperl and how to access the different Embperl objects and 
  -there data. Also take a look at L<perldoc Embperl::Object|Embperl/Object.pod>
  +there data. Also take a look at L<perldoc Embperl::Object|EmbperlObject.pod>
   to learn how to use Embperl page as objects.
   
   Additionaly there are a few introductions documents should consider to read:
  
  
  
  1.10      +10 -10    embperl/eg/web/config.pl
  
  Index: config.pl
  ===================================================================
  RCS file: /home/cvs/embperl/eg/web/config.pl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- config.pl	11 Feb 2005 14:52:10 -0000	1.9
  +++ config.pl	27 Feb 2005 22:38:35 -0000	1.10
  @@ -73,7 +73,7 @@
               'Enter info to add about Embperl' => 'Eingabe von Informationen zu Embperl',
               'Show info added about Embperl'   => 'Anzeige der gespeicherten Informationen zu Embperl',
               'Infos about Embperl'             => 'Informationen �ber Embperl',  
  -            '1.3.4 documentation'             => '1.3.4 Dokumentation',
  +            '1.3.6 documentation'             => '1.3.6 Dokumentation',
               'Configuration'                   => 'Konfiguration',
               'Conferences'                     => 'Konferenzen',
               'Books'                           => 'B�cher',
  @@ -161,9 +161,9 @@
                     desc => { en => 'Documentation on how to use Embperl for generating and sending mail', 
                               de => 'Dokumentation wie man Embperl benutzt um Mail zu erstellen und zu senden' }},
   #                { menu => 'Embperl::Util',    uri => 'EmbperlUtil.htm',         file => 'Embperl/Util.pm'},
  -            { menu => '1.3.4 documentation',              uri => 'doc13.htm', 
  -              desc => { en => 'Old documentation from Embperl 1.3.4', 
  -                        de => 'Alte Dokumentation von Embperl 1.3.4' },
  +            { menu => '1.3.6 documentation',              uri => 'doc13.htm', 
  +              desc => { en => 'Old documentation from Embperl 1.3.6', 
  +                        de => 'Alte Dokumentation von Embperl 1.3.6' },
                 sub => ,
                   [
                   { menu => 'HTML::Embperl',         uri => 'HTML/Embperl.htm',               path => { en => '%lib_1_3%/HTML/Embperl.pod', de => '%lib_1_3%/HTML/EmbperlD.pod'},
  @@ -180,12 +180,12 @@
                     desc => { en => 'Documentation for Embperls session handling object', 
                               de => 'Dokumentation �ber Embperls Session Objekt' }},
                   { menu => 'Tips & Tricks',         uri => 'HTML/Embperl/TipsAndTricks.htm', path => '%lib_1_3%/HTML/TipsAndTricks.pod' ,
  -                  desc => { en => 'Tips & Tricks for Embperl 1.3.4', 
  -                            de => 'Tips & Tricks f�r Embperl 1.3.4' }},
  +                  desc => { en => 'Tips & Tricks for Embperl 1.3.6', 
  +                            de => 'Tips & Tricks f�r Embperl 1.3.6' }},
   
                   { menu => 'FAQ',                    uri => 'pod/Faq.htm',               path => '%lib_1_3%/HTML/Faq.pod',
  -                  desc => { en => 'FAQ for Embperl 1.3.4', 
  -                            de => 'FAQ f�r Embperl 1.3.4' }},
  +                  desc => { en => 'FAQ for Embperl 1.3.6', 
  +                            de => 'FAQ f�r Embperl 1.3.6' }},
   
                   ],
               },
  @@ -198,8 +198,8 @@
           
            },        #{ menu => 'FAQ',                    uri => 'pod/Faq.htm',               file => 'Faq.pod' },
           #{ menu => 'Examples',               uri => 'examples/' },
  -        { menu => 'Download',                uri => 'pod/doc/Embperl.-page-17-.htm'},    #sect_44' },
  -        { menu => 'Support',                uri => 'pod/doc/Embperl.-page-16-.htm' },
  +        { menu => 'Download',                uri => 'pod/doc/Embperl.-page-18-.htm'},    #sect_44' },
  +        { menu => 'Support',                uri => 'pod/doc/Embperl.-page-17-.htm' },
           { menu => 'Changes',                 uri => 'pod/Changes.htm',           file => 'Changes.pod' },
           #{ menu => 'Sites using Embperl',    uri => 'pod/Sites.htm',             file => 'Sites.pod' },
           { menu => 'More infos',          uri => 'db/', sub => 
  
  
  
  1.13      +2 -2      embperl/eg/web/menuleft.epl
  
  Index: menuleft.epl
  ===================================================================
  RCS file: /home/cvs/embperl/eg/web/menuleft.epl,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- menuleft.epl	7 Nov 2004 19:36:42 -0000	1.12
  +++ menuleft.epl	27 Feb 2005 22:38:35 -0000	1.13
  @@ -76,11 +76,11 @@
       <tr> 
           <td><img src="[+ $r -> {imageuri} +]linie-nav.gif" width="152" height="1"></td>
       </tr>
  -    [- menuitem ($r -> {baseuri} . 'pod/doc/Embperl.-page-13-.htm', 'Stable 1.3.6', 0, 1) -]
  +    [- menuitem ($r -> {baseuri} . 'pod/doc/Embperl.-page-18-.htm', 'Stable 1.3.6', 0, 1) -]
       <tr> 
           <td><img src="[+ $r -> {imageuri} +]linie-nav.gif" width="152" height="1"></td>
       </tr>
  -    [- menuitem ($r -> {baseuri} . 'pod/doc/Embperl.-page-13-.htm', 'Beta 2.0rc2', 0, 1) -]
  +    [- menuitem ($r -> {baseuri} . 'pod/doc/Embperl.-page-18-.htm', 'Beta 2.0rc2', 0, 1) -]
       <tr>
           <td><img src="[+ $r -> {imageuri} +]linie-nav.gif" width="152" height="1"></td>
       </tr>
  
  
  
  1.16      +20 -55    embperl/podsrc/Config.spod
  
  Index: Config.spod
  ===================================================================
  RCS file: /home/cvs/embperl/podsrc/Config.spod,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Config.spod	27 Feb 2005 22:16:42 -0000	1.15
  +++ Config.spod	27 Feb 2005 22:38:35 -0000	1.16
  @@ -54,8 +54,10 @@
       Options     ExecCGI
       </files>
   
  +
   Another possibility is to have all files under a special location processed by Embperl:
   
  +
       PerlModule Embperl
   
       Alias /embperl /path/to/embperl/eg
  @@ -66,6 +68,7 @@
       Options     ExecCGI
       </Location>
   
  +
   In this setup you should make sure that non Embperl files like images doesn't served 
   from this directory.
   
  @@ -75,10 +78,14 @@
   library. On Unix it is mostly called F<Embperl.so> on Windows it is called C<Embperl.dll>.
   Now add the following line to your httpd.conf B<before> any of the Embperl configuration
   directives, but B<after> F<mod_perl.so> is loaded:
  +
   
       LoadModule  embperl_module  /path/to/perl/site/lib/Embperl/Embperl.so
  +
  +
   
   To use I<Embperl::Object> you use the C<Embperl::Object> as C<PerlHandler>:
  +
   
       <Location /foo>
           Embperl_AppName     unique-name
  @@ -88,6 +95,7 @@
           PerlHandler         Embperl::Object 
           Options             ExecCGI
       </Location>
  +
   
   Addtionaly you can setup other parameters for I<Embperl::Object>. If you do so
   inside a container (like C<<Location>, <Directory>, <Files>>) you need to
  @@ -115,10 +123,12 @@
   directory.
   
   Example of Apache C<httpd.conf>:
  +
   
       <Directory /path/to/your/html/docs>
       Action text/html /cgi-bin/embperl/embpcgi.pl
       </Directory>
  +
   
   
   B<NOTE>: Via CGI Scripts it maybe possible to bypass some of the Apache setup. To avoid this
  @@ -135,9 +145,11 @@
   Run Embperl from the comannd line use F<embpexec.pl> on unix and F<embpexec.bat> on windows:
   
   
  -    B<embpexec.pl [options] htmlfile [query_string]>
  +B<embpexec.pl [options] htmlfile [query_string]>
   
  -    B<embpexec.bat [options] htmlfile [query_string]>
  +
  +B<embpexec.bat [options] htmlfile [query_string]>
  +
   
   =over 4
   
  @@ -616,9 +628,8 @@
   
   Additional directories where Embperl::Object searches for pages.
   
  -This search through the searchpath is always performed if in a call to Execute no path for the
  -
  -file is given.
  +This search through the searchpath is always performed if in a call to 
  +Execute no path for the file is given.
   
    
   In F<httpd.conf> or as evironment variable directories are
  @@ -634,62 +645,34 @@
   Additional directories where Embperl::Object searches for files for the inital request.
   
   If a file is requested, but cannot be found at the given location, the directories
  -
  -given in the this path are additionaly search for the file. This applies only to
  -
  +given in the this path are additionaly searched for the file. This applies only to
   the initial filename given to Embperl::Object and B<not> to files called via
  -
   Execute.  
   
  - 
  -
   In F<httpd.conf> or as evironment variable directories are
  -
   separated by C<;> (on Unix C<:> works also). The parameter for C<Execute> and
  -
   the application object method expects/returns an array reference.
   
  -
  -
   Example:
   
  -
  -
   if you say
   
  -
  -
       Embperl_Object_Reqpath  /a:/b:/c
  -
  -
  -
  +
   and you request 
   
  -
  -
       /x/index.epl
   
  -
  -
   it will try
   
  -
  -
       /x/index.epl
  -
       /a/index.epl
  -
       /b/index.epl
  -
       /c/index.epl
   
  -
  -
   and take the first one that is found.
   
   
  -
  -
   =head2 *CFG $application / Embperl_OBJECT_STOPDIR / object_stopdir / 1.3b1 / no 
   
   Directory where Embperl::Object stops searching for the base page.
  @@ -1080,35 +1063,21 @@
   
   =head2 *CFG $component / Embperl_Top_Include / top_include / 2.0b10 / no 
   
  -
  -
   Give a pieces of code that is include at the very top of every file.
   
  -
  -
   Example:
   
  -
  -
       Embperl_Top_Include "use MY::Module;"
   
  -
  -
   This will cause MY::Module to be used in every page. Note that 
  -
   Embperl_Top_Include must contain valid Perl code and must be
  -
   ended with a semicolon.
   
   
  -
   B<NOTE:> If you pass top_include as parameter to Execute it is
  -
   only used in case the code is compiled (or recompiled) and not cached.
   
   
  -
  -
   =head2 *CFG $component / Embperl_CACHE_KEY / cache_key / 2.0b1 / no
   
   literal string that is appended to the cache key
  @@ -1323,13 +1292,9 @@
   
   =head2 *PARAM $request / / cgi  / 2.0b12 / no
   
  -
  -
   Holds the CGI.pm object, which is used for file upload. If no file uploaded data
  -
  -is send tho the request, this member is undefined.
  -
  -
  +is send to the request, this member is undefined.
  +
   
   =head2 *PARAM $component / / inputfile / 1.0.0 / no
   
  
  
  
  1.5       +1 -0      embperl/podsrc/s2pod.pl
  
  Index: s2pod.pl
  ===================================================================
  RCS file: /home/cvs/embperl/podsrc/s2pod.pl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- s2pod.pl	8 Jan 2003 06:53:14 -0000	1.4
  +++ s2pod.pl	27 Feb 2005 22:38:35 -0000	1.5
  @@ -46,6 +46,7 @@
           }
       else
           {
  +	$line =~ s/\r//g ;
           print $line ;
           }
       }
  
  
  

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