On Mon, 21 Jan 2002, Ira Abramov wrote:

> On Mon, 21 Jan 2002, Tzafrir Cohen wrote:
>
> > > You can look at the web site: http://nukof.dotkof.org
> >
> > Do you trust phpnuke?
> > I have heard too much bad criticsm about it
>
> well,
>
> a. please give me pointers, because I'm looking for a Hebrew weblog
> solution

Get any web log that already has different languages and supports
different codepages (e.g.: one that has translations to languages that are
not western european, like russian). PHP-Nuke is one, but I'm sure that
there are others.

Now you have two things that remain to be done:

1. Add a hebrew translation. This is Yet Another Translation for that
   application.
2. a slight modification to code of the application to add DIR=RTL to the
   <html> or <body> tag of the page.

This will give you a hebrew weblog. You will probably need someother
corrections, like:

3. replace any 'align=left' with 'align=right' and vice-versa in the
   hebrew translation. This means that the "align=.." string has to be
   made a variable as well.

This takes some work, but not _that_ much. The actual translation (stage
1) takes most of the time, but you can do that inceremtally.

BTW: One mistake you should *not* make is using an 8bit character set.
Most sites (including the nukof above) use an 8bit encoding, like
ISO-8859-* or windows-125* .

This means that no content could be added in any language that is not
hebrew or english (not even french, as some letters are missing. Surely
not russian or arabic).

What you should do is write the whole translation in UTF-8.

The obvious problem is that currently UTF-8 is not ver well supported by
text editors.

There are two things youcan do:

1. Use vim 6.0, or any other editor that does support UTF-8
2. Edit the text in ISO-8859-8(-i), and convert it to the real translation
   in a script/makefile using iconv.

I used method (2).

>
> anyone tried PostNuke? any remarks about Hebrew-ability? (it has Arabic)
> or security-minded developpers?
>

I tried it a couple of monthes ago. Once you tried using add-on modules,
or tried to change the code (I tried to modify the authentication method
for something that would better suit our LAN) you see that this code is
quite a sphagety.

I alerted them about a certain weakness I found in their authentication
mechanism, and hardly got a reply. But maybe it was because they were busy
rewirting the whole authentication/session mechanism at the time.

Maybe it has improved since.

If you want my partial post-nuke translation, let me know.

>
> or does anyone know how I can make Squisdot/Zope accept  Hebrew without
> mangling letters as symbols on the way into the DB? I see it was done on
> IGLU once or twice.

This shouldn't be a problem. If the database is 8bit-clean, then
ISO-8859-8 and UTF-8 text should both fit in nicely, as they are basically
char strings.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to