Has anyone written any libraries for elisp to do CGI programming? I threw together a quick first script. However, I'm only a long-time emacs user and I've never really programmed it. When I saw that I could write scripts (--script) in emacs instead of bash, I thought that I would give it a shot.
#!/usr/bin/emacs --script (princ "Content-type: text/html; charset=utf-8\n\n") (progn (princ "<html>\n") (princ "<body>\n") (princ "<h1 style='text-align: center'>Elisp CGI Programming</h1>")) (progn (princ "<table style='border:1px solid'>") (princ "<tr><th>One</th><th>Two</th></tr>") (princ "<tr><th>A</th><th>B</th></tr>") (princ "</table>") (princ "</body>") (princ "</html>") )