You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by ru...@apache.org on 2001/09/26 16:28:15 UTC

cvs commit: jakarta-alexandria/proposal/gump nag.pl

rubys       01/09/26 07:28:15

  Modified:    proposal/gump nag.pl
  Log:
  I use XMP tags now...
  
  Revision  Changes    Path
  1.6       +2 -2      jakarta-alexandria/proposal/gump/nag.pl
  
  Index: nag.pl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/nag.pl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- nag.pl	2001/08/16 12:40:33	1.5
  +++ nag.pl	2001/09/26 14:28:15	1.6
  @@ -39,8 +39,8 @@
       $_ = join('',<FILE>);
       close (FILE);
   
  -    # extract just the stuff from inside the pre tag
  -    if (m! .* <pre> \s* (.*) \s* </pre> !xs) {
  +    # extract just the stuff from inside the XMP tag
  +    if (m! .* <XMP> \s* (.*) \s* </XMP> !xs) {
         $pageData = $1;
       } else {
         $pageData = "";
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-alexandria/proposal/gump nag.pl

Posted by Vincent Massol <vm...@octo.com>.
----- Original Message -----
From: "Jason van Zyl" <jv...@apache.org>
To: <al...@jakarta.apache.org>
Sent: Wednesday, September 26, 2001 4:21 PM
Subject: Re: cvs commit: jakarta-alexandria/proposal/gump nag.pl


> On 9/26/01 10:28 AM, "rubys@apache.org" <ru...@apache.org> wrote:
>
> > rubys       01/09/26 07:28:15
> >
> > Modified:    proposal/gump nag.pl
> > Log:
> > I use XMP tags now...
>
> What are XMP tags? Just curious.

same as PRE but they do not interpret anything in the text (i.e. you are
allowed to use '<' characters for exemple) whereas PRE interprets XML
special characters (and you would need to escape them, like &lt; for "<").

-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-alexandria/proposal/gump nag.pl

Posted by Jason van Zyl <jv...@apache.org>.
On 9/26/01 10:28 AM, "rubys@apache.org" <ru...@apache.org> wrote:

> rubys       01/09/26 07:28:15
> 
> Modified:    proposal/gump nag.pl
> Log:
> I use XMP tags now...

What are XMP tags? Just curious.
 
> Revision  Changes    Path
> 1.6       +2 -2      jakarta-alexandria/proposal/gump/nag.pl
> 
> Index: nag.pl
> ===================================================================
> RCS file: /home/cvs/jakarta-alexandria/proposal/gump/nag.pl,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -r1.5 -r1.6
> --- nag.pl    2001/08/16 12:40:33    1.5
> +++ nag.pl    2001/09/26 14:28:15    1.6
> @@ -39,8 +39,8 @@
>      $_ = join('',<FILE>);
>      close (FILE);
>  
> -    # extract just the stuff from inside the pre tag
> -    if (m! .* <pre> \s* (.*) \s* </pre> !xs) {
> +    # extract just the stuff from inside the XMP tag
> +    if (m! .* <XMP> \s* (.*) \s* </XMP> !xs) {
>        $pageData = $1;
>      } else {
>        $pageData = "";
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org