MML Tags ... Re: [ic] Can you edit templates with a
Wed, 04 Apr 2001 09:58:46 -0700
At 12:38 PM 04/04/2001 -0400, you wrote:
>Quoting Ed LaFrance (firstname.lastname@example.org):
> > At 10:48 AM 04/04/2001 -0400, you wrote:
> > >Quoting Young Family (email@example.com):
> > > > > but It'll be much more complicated as no
> > > > > program can understand/parse
> > > > > the IC MML tags yet.
> > > >
> > > > This is a feature that may be very useful for a new release of
> > > > the ability to use alternate tag syntax.
> > > >
> > > > For example in PHP the normal tags are <?PHP Your php code here
> <?>. This
> > > > makes it impossible to edit PHP pages using Front Page.
> > > >
> > > > BUT... PHP has an option called 'USE_ASP_TAGS=YES' where I can
> use the
> > > > alternative syntax <% your php code here %> which makes Front Page
> think it
> > > > is dealing with an ASP page. I can now happily use FrontPage and/or
> > > > ASP-friendly editors, and not have the editor kill my code. I
> still must
> > > > call the page mypage.php using the php suffix in order to get Apache to
> > > > invoke the PHP scripting language.
> > >
> > >Actually, you can use <!--[tag ...]--> and it will work.
> > ...but that won't help if the tag produces output that needs to be
> > in the browser. I guess one thing you could do is flag your HTML comments:
> > <!--IML [tag ...] IML-->
> > Then you could strip them out later with some command-line perl:
> > perl -i -p -e 's/<!--IML//g' *.html
> > perl -i -p -e 's/IML-->//g' *.html
>No, only the tag itself is supposed to be put that way, and it must
>be surrounding just the tag with precisely <!--[tag param=value
Whaddya know. I grep'd the source code and found that this has been in
existence at least as far back as the last MV3 release. I'll add a user
comment to the online docs about this.
**** Virtual Hosting w/private IC Installation, $65/month! ****
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 firstname.lastname@example.org
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax