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

Embedding comments in PHP Processor scripts




I would request that everyone add in HTML comments for my Perl script to
process so that I can use your scripts in my Perl.  To make things easy on
you and me, I've created a simple format for each bit of info you'd pass
to the perl script.

Basically, one comment/line.  Comments should be in the format of:

<!-- Perl-VARIABLE_NAME=VALUE -->

replace "VARIABLE_NAME" and "VALUE" with the appropriate strings.  Some
example code:

	<!-- Perl-ObjectID=<? echo $new_container->objectid; ?> -->
	<!-- Perl-ObjectPath=<? echo $new_container->objectpath; ?> -->

Having these two comments in each code that creates an article, category,
user, etc would be a good first step in allowing me to utilize that code
in my perl script.  If at all possible, I'd like to standarize on the
variable names, so let me know if any new variable might be necessary.

Thanks people.

--
Aaron Turner, Core Developer       http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization  http://www.linuxkb.org/
Because world domination requires quality open documentation.
aka: aturner@vicinity.com, aturner@pobox.com, ion_beam_head@ashtech.net
The difference between `Unstable' and `Usable' is only two characters: NT