-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

- --On 27.03.2002 12:43:17 +0100 Emiliano wrote:

>> BTW: mgd_eval doesn't seem to exist anymore. Is this true?
> 
> Yes. You can re-enable it with --with-old-mod-midgard. Calls to
> mgd_eval are  replaced with eval("?>".mgd_preparse(...

Doesn't that parameter switch to non-MMP Mode? I'm using MMP...


>> If yes,
>> which functions that affect parsing (like eval) are still there and
>> how are they correctly used?
> 
> Only mgd_preparse. Mgd_preparse calls the parser in midgard-lib that
> changes  all midgard-specific stuff to straight PHP. You can call
> both eval (if you  have --with-eval-hack in midgard-lib) and
> mgd_eval, and the'll be replaced  in-line.

"Midgard specific stuff" is what exactly? Does it expect HTML or PHP
Code? 


> Do you depend on the function being actually present?

I do not, I depend on a documentation about this. Especially the whole
Formatter things. Questions like which formatter does Midgard
expansion, which not, when do I have to use mgd_preparse, how do I do
eval() constructs with Midgard support. All those things would be
really nice if there is some place where they are defined. 

What I would _wish_ is something like this about the whole formatter
thing:

- - A function, that works like mgd_eval but does expand Midgard specific
things withing non-PHP parts of the construct.

- - A function with which I can parse some HTML with Midgard support.

- - More dynamic style parser:
  - extended <[]> Tags with path support
  - Complete Style changing during code-init


Live long and prosper!
Torben Nehmer

- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE8obvEJPh4Kn6d5FYRAqE6AKCRcN9Y0/Xy+xG5z76c/awH06MbiACgnrkg
px9+I2Kz3GEHRYQeEVsYbjI=
=LbOD
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to