by using the "htmlprag" package on planet, I allow people to edit files in dreamweaver, and then I parse them into SHTML (lists instead of a string), then i write a search for my own unique tags, which in the dreamweaver would look something like:
<br><br><insert-scheme-thingy-1-here><br><\insert-scheme-thingy-1-here><br><br>you can also do:<br><insert-scheme-code><br>
(string-append "The number four: " (number->string (+ 2 2))))<br>
<\insert-scheme-code><br>
<br>the downside is that you loose the parenthisis balancing as it is not supported in dreamweaver.<br><br>Note that htmlprag's SHTML and the "web servet's html", while both are html formats based on lists, they are not the same format, and i do not believe they can be used together. (someone correct me if i'm wrong on that)
<br><br>P.S. to confirm that everything is going to get parsed correctly before you start coding you can write a small program that takes the dreamweaver's html file, converts it to SHTML, converts the SHTML to a string, then displays the string to the webserver. (the program is like 5 lines long) Do this to all your html templates that you hope to use. You can then confirm that there are no bugs in the parser before you start your project. (A while back I found a bug via this method, and he fixed it up really quickly when i told him about it, so if you find a bug let him know)
<br><br>P.S.S If your ussing a html editor, what editor are you using? As I'm writing this, i'm wondering if it would be possible to pop a external editor for specific tags from dreamweaver. (i.e. have dreamweaver calldrscheme to edit the string between:
<br><insert-scheme-code><br>and:<br>
<\insert-scheme-code><br>
<br>Corey<br><br><br><div><span class="gmail_quote">On 12/15/06, <b class="gmail_sendername">Tommy Nordgren</b> <<a href="mailto:tommy.nordgren@chello.se">tommy.nordgren@chello.se</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On 15 dec 2006, at 06.40, Danny Yoo wrote:<br><br>><br>><br>> On Thu, 14 Dec 2006, Tommy Nordgren wrote:<br>><br>>> Can someone please point me to tutorials on using the html<br>>> libraries included with PLT Scheme? I want to generate HTML files
<br>>> from templates, containing HTML fragments and embedded Scheme<br>>> expressions prefixed with $<br>><br>><br>> Hi Tommy,<br>><br>> You might find Section 3 here to be useful as background:
<br>><br>> <a href="http://www.ccs.neu.edu/home/matthias/HtDP/Extended/servlets.html">http://www.ccs.neu.edu/home/matthias/HtDP/Extended/servlets.html</a><br>><br>> The idea is rather than represent templates as strings, we can use
<br>> s-expressions.<br>><br>><br> I'm not particularly interested in specifying the entire format as<br>Scheme expressions, but only embedded parts.<br>I've already got a good Tag Editor for those parts of the files that
<br>are easily manually edited.<br> Are there any way to plugin custom symbols in the html parser?<br><br>------------------------------------------------------<br>"Home is not where you are born, but where your heart finds peace" -
<br>Tommy Nordgren, "The dying old crone"<br><a href="mailto:tommy.nordgren@chello.se">tommy.nordgren@chello.se</a><br><br><br>_________________________________________________<br> For list-related administrative tasks:
<br> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br></blockquote></div><br><br clear="all"><br>-- <br>((lambda (y) (y y)) (lambda (y) (y y)))