I can see that your method posted a while back would be better I was really
just wondering about the possibility of including scripts in a HTML doc and
having those scripts done and replaced with their result.
> on mcparser pagetoparse
> repeat until "<¶--" is not in pagetoparse
> put offset("<¶--",pagetoparse) into deb
> if char (deb+4) to -1+offset("-->",pagetoparse) of pagetoparse is
> "todo1" then
> todo1
> else if char (deb+4) to -1+offset("-->",pagetoparse) of
> pagetoparse is "todo2"
> then todo2
> else if char (deb+4) to -1+offset("-->",pagetoparse) of
> pagetoparse is "todo3"
> then todo3
> end repeat
> return pagetoparse
> end mcparser
>
> Change your httpd prefs to have .mt file parsed by the mc parser.
>
> Don't forget to replace each initial tag "<¶--todo1-->",
> "<¶--todo2-->" with the
> todo1, todo2 returned values ;-)
>
> This will work with WebStar, Apache, or MSIIS4 even if, it's, for
> me, best ways
> to get the same result :
>
> 1. the Andu's custom mchttpd stack that enabled this kind of
> "tags parsing" from
> within his http deamon.
> 2. the use of a real long process running mc-based web/vpn
> applications server,
> able to get data from any parsing systems sources, in using
> appleevents, sockets
> or ms pipes to communicate trough MacPerl or PHP (or Perl,
> Python, ASP,...) with
> MC apps/databases or SQL databases on the same or different servers boxes.
>
> Regards, Pierre Sahores
>
> WEB & VPN applications & databases servers
> Inspection académique de Seine-Saint-Denis
> Qualifier & produire l'avantage compétitif
>
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.