Thanks for the fast reply. Using iconv fixed the umlaut problem. As for 
unapproved stuff getting published: I found out that there's an error when 
the script runs (I tried it with a modified and unapproved article):

 Use of uninitialized value in pattern match (m//) at /var/lib/aegir/bin/
remove_unapproved.pl line 230.

I guess this error prevents the unapproved stuff from getting removed, but I 
don't know why that happens.

Bye,

Andreas


Am Sonntag, 18. April 2004 21:07 schrieb Eero af Heurlin:
> Sonic wrote:
> | Following Henrie's advice, I'm trying to set up replication with the
>
> help of
>
> | YAMP. I downloaded the whole thing from cvs and copied
> | downgrade_unapproved.pl and delete_expired.pl to /var/lib/aegir/bin. I
>
> then
>
> | modified repligard_staging_to_live.sh to use the new scripts.
>
> Everything is
>
> | executed like it should, but it doesn't work. remove_unapproved.pl
>
> mixes up
>
> | the special characters (umlauts, etc.) and unapproved content is still
> | published. What can I do to change this?
>
> The YAMP scripts work in UTF-8 so they propably produce UTF-8 output, if
> your midgard database (or repligard import config) is set to use
> ISO-8859-1 then you need to use iconv to convert the character set back
> to 8859-1 before importing.
>
> as for unapproved content being published, this needs more investigation
> on what is happening.
>
> As for delete_expired.pl, this only works with -a dumps (since otherwise
> it has no knowledge of what is expired and what is not).
>
> /Rambo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Adding sound to movies would be like putting lipstick on the Venus de Milo. -- 
Mary Pickford, 1925

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to