2009-12-09, 17:56:56
I've got a theory.
Anything is possible... I think.
Anyway, a post cannot have php embedded in it. I've tried it, and I knew it wouldn't work.
However, I can create a special character markup like, #*#$FUNCTION#*#
I'm curious if PHP or maybe JS could do a simple "find and replace". You could put the code in a component and include the component somewhere above the post.
Better example.
COMPONENT
XML FILE
OUTPUT
Anything is possible... I think.
Anyway, a post cannot have php embedded in it. I've tried it, and I knew it wouldn't work.
However, I can create a special character markup like, #*#$FUNCTION#*#
I'm curious if PHP or maybe JS could do a simple "find and replace". You could put the code in a component and include the component somewhere above the post.
Better example.
COMPONENT
Code:
<?php
$yeah = echo ("hello world");
?>
XML FILE
Code:
I just want to say #*#$yeah#*#
OUTPUT
Code:
I just want to say hello world