[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: MML Tags ... Re: [ic] Can you edit templates with a WYSIWYG editor?
Quoting Young Family (ary@communicationfactory.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 Interchange,
> 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 other
> 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. There is also
an HTML tag parsing mechanism that still works (although it reduces parse
speed from 20-50%) and allows you to do things like
<SCRIPT MV=calc>
$perl_code;
</SCRIPT>
This is documented, but it isn't encouraged for use and is deprecated. (There
are probably more than a few bugs in it as well....)
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
I have a cop friend who thinks he ought be able to give a new ticket;
"too dumb for conditions".
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users