Hello,
Sometimes its comfortable to generate macros from dynamic data.
Is there any way to use macros from memory instead of files?
For now, it seems that this code works:
tal:block metal:use-macro=$dynamic/test /
$dynamic is a data-uri, i.e. data://text/plain;base64, . base64_encode(macro)
On 21-10-2008 at 07:03:50 Maciej Łebkowski [EMAIL PROTECTED] wrote:
I dont know if there are any drawbacks — cache, optimisation, etc?
If you've implemented PHPTAL_Source well then cache should work fine as
long as code of the macro doesn't change too often.
Or maybe I am missing some
New version of PHPTAL is available.
It's a release candidate, because it has a small backward-incompatible
change and I'd like to hear your feedback about it.
--
regards, Kornel
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kornel Lesiński wrote:
New version of PHPTAL is available.
It's a release candidate, because it has a small backward-incompatible
change and I'd like to hear your feedback about it.
Can you describe the change?
Regards,
Tarjei
-BEGIN PGP
On 21-10-2008 at 12:01:56 tarjei [EMAIL PROTECTED] wrote:
New version of PHPTAL is available.
It's a release candidate, because it has a small backward-incompatible
change and I'd like to hear your feedback about it.
Can you describe the change?
Detailed information is on PHPTAL's
On 21-10-2008 at 12:52:02 Maciej Łebkowski [EMAIL PROTECTED] wrote:
I don`t think it is possible. ;-) It relies too much on the user input.
For example, the content of the page (markdown syntax) can be
extended with some data from atom feed.
Reading of atom feeds doesn't sound like