|
On Tue, 16 Nov 2004 14:47:49 -0500, Mike Skvarenina <mskvarenina@xxxxxxx> wrote: > But let me ask you this. Doing the CGI kind of development we do, a RPG > program writing "sections" referring to a separate HTML file, how does one > use HTML tools like Dreamweaver, CoffeeCup, etc and do the dual development > of the RPG? I use the CoffeeCup HTML editor, and find it quite handy. It has a text editor but can syntax check HTML statements, and it has a viewer mode so you can see what you are doing. It is pretty basic, and pretty inexpensive. The trick - I changed my section delimiter in CGIDEV2 to <!-- S_ so the editors think the section headers are comments. I am pretty sure this can be done with Mr. Cozzi's tool as well. ---> callp gethtmlifs('/bpcsweb/ORD52a.html': '<!-- S_') The header line for the PosTo section is <!-- S_PosTo **** Position To Section --> Then in the editor you put together the single element components. The substitution variables are It can be a bit confusing when (for instance) you have multiple sections that might start a table, but you get used to it as you learn to get more complex in your programs. In very complex HTML files I have sometimes added unused sections to complete structures (i.e. forms and tables) to make the editor display things below properly. For instance, if I have 3 possible table headers, I will have 2 "dummy" table footers sections in the HTML file so that the 3 "orphan" <TABLE> statements don't confuse the editor. Hope this helps. -- Tom Jedrzejewicz tomjedrz@xxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.