How to define my own tags ?
Hi !
As I posted a message 2 secs ago and it didn't appear (?) in the message list, I retype it ! (please excuse me if it appears twice)
So ... my problem is : I need to define my own tags, such as the "?php" tag, so that it can be processed by my own servlet / application.
For instance, something like (excuse me tag delimiters don't seem to be accepted in posts, so I sadly replaced them with quotes) :
"ownTag"
Write "JAVA is good for health" in bold and italic.
"/ownTag"
would be redirected to my *application* (from now, the processing tool I need to design will be referred as "application"), that would output the following HTML code :
"B" "I" JAVA is good for health "/I" "B" .
By now I have quite few ideas on how to build this application...
I first thought of an Apache Module, but, besides the fact that Apache Modules *have* to be written in C (not definitively sure of that...) and that I don't know C, I think that JAVA would be much more universal (and efficient ?), using servlets or JavaBeans ...
I know my problem is not that easy to solve, though I think people more experienced than me in servlets, JavaBeans, and/or Apache could tell me if building this application is realistic or if I must stop dreaming !!!
Any hint, method, theory, even code (!) would be greatly appreciated, and rewarded (it's Sun's cyber-money, anyway !!).
Thanks in advance
stephmor (stephanemor@yahoo.fr)
NB 1 : The Natural Language (french !) processor is 99% efficient in PHP, 49% in JAVA (I translated it in JAVA for greater performance), so the last thing I need really is this definition of tags, so that functions written in Natural Language can be directly processed by the application (on the server side), without any additional code / programming language.
NB 2 : As the multi-language ability of the projected application is my Number One priority, the whole application is structured so that every language can easily be used and processed (after having translated the function names in the target language, of course). So, if you're interested in the project and you're not french (I am quite sure some people on Earth are not french !!), let's keep in touch !
NB 3 : The whole thing will be Open Source.
NB 4 : I know I talk too much ! ;)

