From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thorne Newsgroups: gmane.emacs.help Subject: Re: Is there a mod-emacs? Date: Sun, 06 Jan 2008 03:01:15 -0700 Organization: impossible. Message-ID: <86prwfz310.fsf@timbral.net> References: <4870e7ae-ab72-4d0b-8d42-9a4ed0a54e8d@e23g2000prf.googlegroups.com> <871w8vwb2e.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1199616210 15620 80.91.229.12 (6 Jan 2008 10:43:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 10:43:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 06 11:43:52 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBSys-0002xm-RO for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jan 2008 11:43:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBSyQ-0000eD-Bg for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jan 2008 05:43:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!feeder.erje.net!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: tHL7Pw00KvzSeEbptdOqCQ.user.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Face: $+hwK%|BKl5SJ6w3SIAu?zV.l|8K(ke+y^T<, o5o+}%Hn~dXV{x9iglTN#CjLY{y5#]E`]GFmxlRI>Adx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50531 Archived-At: Tim X writes: > There is an emacs elisp httpd server (at least there use to be one), but no > mod_emacs that I'm aware of. I wonder about the security of such a thing. But it would be fun to try getting it to serve my personal web page. > Of course, this is a rather resource expensive way of serving a few pages - > you would always have to have an emacs image loaded or accept fairly slow > responses (depending on machine/resoruces etc). > > I think a better solution would be to add a hook to the org mode save > function that does an automatic export as html whenever the org file is > updated. The pages can then be served by a regular httpd process and as a > new export is done whenever the org file is saved, the pages will always be > up-to-date (provided they are edited by emacs of course). True, but the fun would be in using Emacs to do dynamically generated pages. Emacs could be the world's slowest Web Application Framework(tm). -- Theron TtlÄx