[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Perl impeletion of bidi



On Thu, 20 Sep 2001, foo bar wrote:

> You right. It's easy then I expected it to be. But, how do I implement this? (I'm not a
> REGEX expert - can't put hands on a quick tutor - do you know one?)
> For English, there is a requirement for <DIV align="left">, and for Hebrew - <Div
> align="right"><font dir=rtl> - I know, one element can be omitted, but that's doesn't
> metter.

No. Need to use 'align'. Simply put 'dir="rtl"' or 'dir=ltr"' on some html
element near-by (e.g: a table cell).

>
> Also, for HTML support - is there a way to ignore HTML elements at all? meaning, that if
> paragraph stars with <a href="">aaa</a>, the 'aaa' wont control the direction (in Hebrew
> paragraph follows...)

This is something that your parser should implement. I'm sure that perl
has some html tokenizers or some other modules to help you parse html
code.

>
> About Visual Hebrew - It's a dead body. We all need to stop support this, nowdays any
> browser support iso-8859-8-i, including Mozi and Konqi.

I'd love to. But have you ever tried running one of the above two browsers
on a computer with 32MB RAM? (hint: this is one way to make the disk work
:-( )


-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir




=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il