|
From: Alex B. <en...@tu...> - 2001-09-21 20:25:24
|
cool!
)a
> Hi Alex, all,
>
> just checked in a revision of BCTagParser. What works:
>
> - register tags and the compiler method:
> ie.e RegisterTag('BC:JS', 'BCCompileTagJs');
> - looking for <bc:*>..</bc:*> and <bc:* /> style tags
> - calling the registered methods that compile the tags
> - take compiler-output and replace original tags with it
>
> <bc:module> should work instantly if XMLUtils would handle this. Maybe
> Andris can extend it!?
>
> To test the whole thing I attached the file I used for testing. Just place
> it in base/lib/ (dirty way) and call:
>
> php BCTagParser.php
>
> The resulting file data.html will (hopefully) contain the compiled stuff.
>
> I'll clear up all this so that the class file is not executing the parser.
> This might go to xml2php or a extra file bctag2php or someting similar
> suitable for make.
>
> Andi
>
>
>
>
|