Re: The last long steps of the gnome.org website

2011-04-03 Thread Olav Vitters
On Wed, Mar 30, 2011 at 11:34:50PM -0300, Vinicius Depizzol wrote:
  | $cmd = /usr/bin/xml2po -m xhtml -p  . PO_DIR . $po_file -o 
  $translated_xml_file  . XML_DIR . gnomesite.xml;
 
  that is also *very* bad. Don't execute via shell!
 
 I fully agree this is pretty ugly. Do you have any suggestion
 regarding this (a way to execute xml2po via php without executing it
 with shell)?
 Thank you!

This seems the nicest way:
http://nl3.php.net/manual/en/function.pcntl-exec.php

Also noticed the following:
http://nl3.php.net/manual/en/function.escapeshellcmd.php
http://nl3.php.net/manual/en/function.escapeshellarg.php
but IMO that is a bad solution.

-- 
Regards,
Olav
-- 
marketing-list mailing list
marketing-list@gnome.org
http://mail.gnome.org/mailman/listinfo/marketing-list


Re: The last long steps of the gnome.org website

2011-04-03 Thread Olav Vitters
On Wed, Mar 09, 2011 at 12:51:28AM +0100, Andreas Nilsson wrote:
 http://wptest.gnome.org/ is design-wise in a pretty good shape.

I've created a page on live.gnome.org to describe the things which needs
to be figured out:
https://live.gnome.org/MigrateWwwGnomeOrg

It is really incomplete, but at least a start. It needs to be expanded
and then converted into a step-by-step plan of things to do when a
switch is made.

-- 
Regards,
Olav
-- 
marketing-list mailing list
marketing-list@gnome.org
http://mail.gnome.org/mailman/listinfo/marketing-list