perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Extending HTML syntax
Date Fri, 14 Feb 2003 22:09:43 GMT
> Thanks, I will check it out.  Will this change be integrated into the next
> release of Embperl?
>
Yes, It's already in the cvs

> Btw, when will the next release happen?
>

Should have been happen some weeks ago, but I didn't had enought spare time.
Hopefully I can release b9 at the weekend

Gerald


> Yatin
>
> ----- Original Message -----
> From: "Gerald Richter" <richter@ecos.de>
> To: "Yatin Chawathe" <yatin@chawathe.com>; <embperl@perl.apache.org>
> Sent: Friday, February 14, 2003 2:01 PM
> Subject: Re: Extending HTML syntax
>
>
> >
> >
> >  Hi,
> > >
> > >     $self->AddTag('epimg', ['width', 'height'], ['src'], undef,
> > >   {
> > >       perlcode =>
> > >        'my ($w, $h, $src);
> > >         $w = %&width%;
> > >         $h = %&height%;
> > >         $src = %&src%;
> > >         if (!defined $w && !defined $h) {
> > >             ($w, $h) = my_own_func_to_get_img_dimensions($src);
> > >             _ep_sa(%$t%, %$x%, "width", $w);
> > >             _ep_sa(%$t%, %$x%, "height", $h);
> >
> >                XML::Embperl::DOM::iSetText(%$t%,%$x%, "img") ;
> >
> > >         }',
> > >     });
> > >
> >
> > Use the above addition with the DOM.xs I attach you then it should work
> (but
> > I have not fully tested it)
> >
> > Gerald
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>


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


Mime
View raw message