[plt-scheme] Scheme server pages
I used this to create pages for courses (still do on occasion). It's in
my collects directory on denali (Unison).
-- Matthias
On Dec 24, 2004, at 12:10 PM, Daniel Pinto de Mello e Silva wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Hi, I want to use embed a bit of server-side Scheme on my HTML pages.
> So far I threw together a translator to let me write this:
>
> <html>
> <body>
> <p><scheme> (string-append "Hello" " " "world") </scheme>
> User is: <scheme>user</scheme>
> </p>
> <p> Now testing map... </p>
> <p> Files in the current directory:
> <ul>
> <scheme-splice> (map (lambda (file-path)
> <li><scheme>(path->string
> file-path))</scheme></li>
> (directory-list))</scheme-splice>
> </ul>
> </p>
> </body>
> </html>
>
> but I was wondering if someone already did this, in which case I'll
> throw away my reinvented wheel...
>
> Daniel
>