>>>>Hay Michel,
>>>>
>>>>How do you beautify the FoxPro code in the message body here on the UT?
>>>>
>>>>I have a new section on my web site that would be better if I could color code the examples.
>>>
>>>do you mean <pre> tags?
>>
>>Well, in a way. But just placing the code in a PRE block does not beautify the code with colors.
>>
>>My web page is reading the PRG file from the disk, and displaying it in a PRE block on the page as is.
>>Therefore, currently no formatting is occurring.
>
>
>so you will not use that within UT but on your website.
>
>That needs more work
>
>You need tho parse out the prg and put anything with colors. Common is to wrap it stuff in <span> tags with classes and CSS it.
>
>But you need to parse.
>
>A possible start is to look at Martinas Jindrovas PDM project. It parses out VFP code. see
http://gorila.netlab.cz/pdm.html>
>Possibly you might run your code against PDM and manipulate the result (or just cut the important parts out of the result) and include all the stuff to your WEB project. It's not to tricky
Thanks for the suggestions. I will look into the PDM solution. If GoDaddy (hosts my site) will let me, I possibly could use it to convert the PRG code to a HTML format on the fly.
Greg Reichert