How to use programlisting?

From: Date: Fri, 05 Jan 2001 18:33:08 +0000
Subject: How to use programlisting?
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333462@lists.php.net to get a copy of this message
Hi, (Happy new year to you all :-) ). As I'm reading again French translation, I noticed that programlisting tag seems to have several usage : <programlisting role="php"> // for PHP script <programlisting role="php3"> // for PHP3 script <programlisting role="php3.ini"> // for php3 directive <programlisting role="apache-conf"> // for apache directive <programlisting role="apache"> // for apache directive (another one) <programlisting role="bs2000"> // for sesam configuration <programlisting role="makefile"> // for shell commands <programlisting role="xml"> // for xml code <programlisting role="html"> // for xml code <programlisting> also exist, and is being used to contains differents kinds of code (php, html, shell...), and sometimes for script output too. (while there is a <computeroutput> or <screen> tag). Now, is there a standard rule for using <programlisting> tag? What should be used for script/shell output? Best regards Damien Seguy

« previous php.doc (#969333462) next »