Slices [was Re: printerfriendly page version?]

Shlomi Fish <[email protected]>
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
On Mon, 7 Jul 2003, Kai Daumiller wrote:

> Shlomi Fish wrote:
>
> >>Well, almost.
> >>I didn't figure out how to insert code when a slice is NOT defined :-(
> >>Inserting something unless I explictly undefine works, but seems a bit
> >>clumsy.
> >>
> >
> >
> > Use:
> >
> > [!SLICE: .... :]
> >
> > or
> >
> > [~SLICE: .... :]
> >
>
> Well,
> thats what I tried, but both the [!SLICE:  and [~SLICE: lines did not
> work, they were just added as plaintext to the output.

It seems none of the slice logic I tried work and are all outputted as
plaintext.

> Is this a known problem, do I have to update WML?
>

It isn't a known problem and it happens for me with perl 5.8.0 and wml
2.0.9 as well. So there's no use updating. I'll see if I can tackle this
bug and send in a patch.

Regards,

	Shlomi Fish

> The system is running  perl 5.6.1 and wml 2.0.8200111281800
>
> Bye
>
>     Kai
>
> _____________________________________________________________________
> Website META Language (WML)                         http://thewml.org
> User Support Mailing List                        [email protected]
> Automated List Manager                            [email protected]
>



----------------------------------------------------------------------
Shlomi Fish        [email protected]
Home Page:         http://t2.technion.ac.il/~shlomif/

An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.

	Falk Fish
_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.