25 Sep
This post is just to test out a GreaseMonkey script I wrote that allows me to have TinyMCE show up like magic on any text area on any website. The cool thing about the way it works is that I can parse the XHTML that TinyMCE outputs through XSLT sheets before submitting it to the server. In this case, I’m passing it through and converting it to Textile markup with the XSLT sheet, but it could just as easily have been markdown, or some random wiki markup …
Of course, it’s kind-of redundant in WordPress, since I could just send it through in XHTML, but I’m trying to test the round-tripping, which at this point is pathetic because when I send textile, and then come back to "edit" ... the text is in Textile format, which I would need to convert to XHTML before feeding it to TinyMCE … so for this to really work for editing, I have to have a way to convert things to the formats I would support.
The simplest thing seems to be to set up a webservice using the original code in PHP or Perl for each of the markup languages, especially since the GreaseMonkey script has to be hosted somewhere on the web anyway. The down side is: I can’t exactly have everyone in the world using my server to download TinyMCE and parse their markup languages. 
Add New Comment
Viewing 5 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks