Re:[SOLVED] embedding a CGI script in a HTML page?

2008-12-16 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Williams wrote: >> I have tried that and when I tried to call up a div object, in my css >> (is attached) called leftcolumn, instead of getting a navy blue column >> on the left side of the page it is just white. >> > > Did you perhaps use 'di

Re: embedding a CGI script in a HTML page?

2008-12-16 Thread David Dorward
Adam Jimerson wrote: Correct me if I am wrong but these template systems seem to only handle output from the CGI script, which would be nice if my scripts only handled output but they also need user input 1. Browser sends input data to server 2. Server sends input data to program using CGI inte

Re: embedding a CGI script in a HTML page?

2008-12-16 Thread David Dorward
Adam Jimerson wrote: No I am letting CGI.pm generate the HTML for me, I figured that it would be the easiest way to do it. Most people find that templates are simpler for most purposes (since they can then just write HTML and say "Insert data here" rather then describing every element in Per

Re: embedding a CGI script in a HTML page?

2008-12-16 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg Jetter wrote: > On Monday 15 December 2008 3:50:24 am Adam Jimerson wrote: >> Dermot Paikkos wrote: -Original Message- > http://www.template-toolkit.org/ > > Mike Looking at the website and the documentation, sti

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Mike Williams
On Mon, Dec 15, 2008 at 1:48 PM, Adam Jimerson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mike Williams wrote: > > > Your first question was: > > > I'm sorry I guess I should have been more specific in my question, I > never wanted to try and put perl code ino my HTML page, I kn

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Williams wrote: > Your first question was: > >> Is it possible to embed a CGI scrip into a HTML page? > > Now you say: > >> I'm not trying to put perl code into the page > > You will get better answers if you start with clearer questions. >

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Greg Jetter
On Monday 15 December 2008 3:50:24 am Adam Jimerson wrote: > Dermot Paikkos wrote: > >> -Original Message- > >> > >>> http://www.template-toolkit.org/ > >>> > >>> Mike > >> > >> Looking at the website and the documentation, still reading through > > > > it, > > > >> I'm still not sure how t

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread David Dorward
Adam Jimerson wrote: I'm not trying to put perl code into the page, they way I have it now is I have the page generated by my CGI script inside another page that is using my CSS. I've tried to have my CGI script directly handle my CSS but it didn't work due to its limited support for CSS. So no

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Mike Williams
On Mon, Dec 15, 2008 at 7:50 AM, Adam Jimerson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dermot Paikkos wrote: >>> -Original Message- http://www.template-toolkit.org/ Mike >>> Looking at the website and the documentation, still reading through >> it, >>> I

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Sean Davis
On Sun, Dec 14, 2008 at 10:01 PM, Adam Jimerson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mike Williams wrote: >> On Sun, Dec 14, 2008 at 1:28 PM, Adam Jimerson wrote: >>> On Dec 12, 12:47 pm, sdav...@mail.nih.gov (Sean Davis) wrote: >>> >>> Are you talking about this, >>> htt

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dermot Paikkos wrote: >> -Original Message- >>> http://www.template-toolkit.org/ >>> >>> Mike >> Looking at the website and the documentation, still reading through > it, >> I'm still not sure how to mix this with my CGI scripts to make them >

RE: embedding a CGI script in a HTML page?

2008-12-15 Thread Dermot Paikkos
> -Original Message- > > > > http://www.template-toolkit.org/ > > > > Mike > > Looking at the website and the documentation, still reading through it, > I'm still not sure how to mix this with my CGI scripts to make them > look > like the rest of the site even though Konqueror supports th

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Williams wrote: > On Sun, Dec 14, 2008 at 1:28 PM, Adam Jimerson wrote: >> On Dec 12, 12:47 pm, sdav...@mail.nih.gov (Sean Davis) wrote: >> >> Are you talking about this, >> http://search.cpan.org/~abw/Template-Toolkit-2.20/lib/Template.pm? >> I

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Sean Davis
On Sun, Dec 14, 2008 at 1:28 PM, Adam Jimerson wrote: > On Dec 12, 12:47 pm, sdav...@mail.nih.gov (Sean Davis) wrote: >> >> You cannot put perl in a webpage the way that you do with PHP. >> However, there are a number of template engines written for and in >> perl that give you similar features.

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread Mike Williams
On Sun, Dec 14, 2008 at 1:28 PM, Adam Jimerson wrote: > On Dec 12, 12:47 pm, sdav...@mail.nih.gov (Sean Davis) wrote: > > Are you talking about this, > http://search.cpan.org/~abw/Template-Toolkit-2.20/lib/Template.pm? > If so it doesn't really say what it is for I am completely lost in how > to

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread Adam Jimerson
On Dec 12, 12:47 pm, sdav...@mail.nih.gov (Sean Davis) wrote: > > You cannot put perl in a webpage the way that you do with PHP. > However, there are a number of template engines written for and in > perl that give you similar features.  Take a look at Template Toolkit, > as an example. > > Sean A

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread David Dorward
Adam Jimerson wrote: > Not exactly what I was looking for I meant like using an or > tags, which I did try it out and using the tags to > embed works with Firefox 3 I don't know if it works for all browsers. , but frames have issues. (And for HTML is effectively the same as an iframe, but les

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread Adam Jimerson
On Dec 12, 2:37 pm, g...@lazymountain.com (Greg Jetter) wrote: > On Thursday 11 December 2008 1:42:36 pm Adam Jimerson wrote: > > > Is it possible to embed a CGI scrip into a HTML page?  I don't know if CGI > > scripts work in a way that allow for this, I know that in PHP this is > > possible, beca

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread Sean Davis
On Thu, Dec 11, 2008 at 5:42 PM, Adam Jimerson wrote: > Is it possible to embed a CGI scrip into a HTML page? I don't know if CGI > scripts work in a way that allow for this, I know that in PHP this is > possible, because I want to make my CGI scripts and website have a unified > look but I ca

Re: embedding a CGI script in a HTML page?

2008-12-12 Thread Greg Jetter
On Thursday 11 December 2008 1:42:36 pm Adam Jimerson wrote: > Is it possible to embed a CGI scrip into a HTML page? I don't know if CGI > scripts work in a way that allow for this, I know that in PHP this is > possible, because I want to make my CGI scripts and website have a unified > look but I

embedding a CGI script in a HTML page?

2008-12-12 Thread Adam Jimerson
Is it possible to embed a CGI scrip into a HTML page? I don't know if CGI scripts work in a way that allow for this, I know that in PHP this is possible, because I want to make my CGI scripts and website have a unified look but I can't get my CSS to work in any of my scripts. -- "We must plan