Re: Embedding mt scripts

2002-04-21 Thread Pierre Sahores

"J. Landman Gay" a écrit :
> 
> On 4/21/02 3:39 AM, Pierre Sahores wrote:
> 
> > Is MC available and running on your ISP's server ? If no, just switch to
> > PHP4 : it's a very usefull and elegant web-dedicaced scripting language.
> > If yes, it must be a way to have ".mt" html files fine parsable without
> > modifiing the "httpd.conf" file, just by declaring the complete path to
> > the MC engine in the  section of each html
> > file you want to include metatalk scripting in. In using this way, you
> > will, first, no more have to rename your html files with the ".mt"
> > extension and, second, you will be able to refer from within your html
> > files to external ".mt" libraries, just alike html files are refering to
> > ".js" javascripts files libraries. This all will need some tests before
> > running fine but i'm far sure it will do the job to the end... :-)
> 
> This is very promising and I want to try it. I had to do some research
> on the 

Re: Embedding mt scripts

2002-04-21 Thread J. Landman Gay

On 4/21/02 3:39 AM, Pierre Sahores wrote:

> Is MC available and running on your ISP's server ? If no, just switch to
> PHP4 : it's a very usefull and elegant web-dedicaced scripting language.
> If yes, it must be a way to have ".mt" html files fine parsable without
> modifiing the "httpd.conf" file, just by declaring the complete path to
> the MC engine in the  section of each html
> file you want to include metatalk scripting in. In using this way, you
> will, first, no more have to rename your html files with the ".mt"
> extension and, second, you will be able to refer from within your html
> files to external ".mt" libraries, just alike html files are refering to
> ".js" javascripts files libraries. This all will need some tests before
> running fine but i'm far sure it will do the job to the end... :-)

This is very promising and I want to try it. I had to do some research 
on the 

Re: Embedding mt scripts

2002-04-21 Thread Pierre Sahores

"J. Landman Gay" a écrit :
> 
> On 4/20/02 6:12 PM, Pierre Sahores wrote:
> 
>  > You will just have to declare
> > the ".mt" extention in the httpd config file and to rename the
> > ".html" files you want to have server-side parsed by mc as
> > ".mt". This way will allow you to do in using mc far all what can be
> > done in using web-dedicaced tools alike php or perl.
> 
> Thanks Pierre, I understand now. But I don't think I have control of
> that file, since my site is hosted by an ISP.
> 
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

Jacque,

Is MC available and running on your ISP's server ? If no, just switch to
PHP4 : it's a very usefull and elegant web-dedicaced scripting language.
If yes, it must be a way to have ".mt" html files fine parsable without
modifiing the "httpd.conf" file, just by declaring the complete path to
the MC engine in the  section of each html
file you want to include metatalk scripting in. In using this way, you
will, first, no more have to rename your html files with the ".mt"
extension and, second, you will be able to refer from within your html
files to external ".mt" libraries, just alike html files are refering to
".js" javascripts files libraries. This all will need some tests before
running fine but i'm far sure it will do the job to the end... :-)

Best Regards, Pierre Sahores

WEB & VPN applications & databases servers
Inspection académique de Seine-Saint-Denis
Qualifier & produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Embedding mt scripts

2002-04-20 Thread J. Landman Gay

On 4/20/02 6:12 PM, Pierre Sahores wrote:

 > You will just have to declare
> the ".mt" extention in the httpd config file and to rename the
> ".html" files you want to have server-side parsed by mc as
> ".mt". This way will allow you to do in using mc far all what can be
> done in using web-dedicaced tools alike php or perl.

Thanks Pierre, I understand now. But I don't think I have control of 
that file, since my site is hosted by an ISP.

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Embedding mt scripts

2002-04-20 Thread Pierre Sahores

"J. Landman Gay" a écrit :
> 
> Is there a way to embed an mt script into a web page the way JavaScript
> does it? I'd like to include the output from an mt scipt as an insertion
> into an html document, without having to rebuild the entire document in
> the mt script -- in other words, have the browser handle it. Can that be
> done?
> 
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

Hi Jacque,

I did never that before and have, there for, no example to share but
it's clearly some thing what can be done. You will just have to declare
the ".mt" extention in the httpd config file and to rename the
".html" files you want to have server-side parsed by mc as
".mt". This way will allow you to do in using mc far all what can be
done in using web-dedicaced tools alike php or perl.

Best Regards, Pierre Sahores

WEB & VPN applications & databases servers
Inspection académique de Seine-Saint-Denis
Qualifier & produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard