From mboxrd@z Thu Jan 1 00:00:00 1970 From: joakim@verona.se Subject: Re: [OT] ELNODE is soon to be released as version 1.0 Date: Mon, 13 Aug 2012 23:05:45 +0200 Message-ID: References: <80obmfi518.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T11ps-0002G9-7M for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 17:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T11pp-0005Kd-LA for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 17:06:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:47784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T11pp-0005J8-Cn for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 17:06:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T11pm-000240-Ix for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 23:05:58 +0200 Received: from h-235-102.a149.priv.bahnhof.se ([85.24.235.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2012 23:05:58 +0200 Received: from joakim by h-235-102.a149.priv.bahnhof.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2012 23:05:58 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Sebastien Vauban" writes: > Hello Brian, > > brian powell wrote: >> * Some people have expressed interest in Elnode in the past: ELNODE is soon >> to be released as version 1.0 >> >> ** Video mentions Emacs OrgMode (and includes an example) and Node.js: >> >> http://www.youtube.com/embed/TR7DPvEi7Jg> >> ** Elnode - the EmacsLisp Async Webserver @ version 0.9.9 >> Elnode is a webserver for Emacs 24, written in EmacsLisp. It turns your >> Emacs into a web ... >> nic.ferrier.me.uk/.../elnode-nears-1-point-0?... > > A pitty he only picked up Org for the tables, not for the entire file syntax. It is pretty simple to serve org files with elnode. Nic made an example for me: #+begin_src elisp (require 'elnode) (defun elnode-org-handler (httpcon) (elnode-docroot-for "~/Plans" with org-file on httpcon do (with-current-buffer (find-file-noselect org-file) ;;org-file (let ((org-html ;; This might throw errors so you could condition-case it (org-export-as-html 3 nil nil 'string))) (elnode-send-html httpcon org-html))))) (elnode-start 'elnode-org-handler :port 8003) #+end_src Of course you need to elaborate on that for a real site, but you get the idea. I intend to use elnode for my own future personal org based website. > > However, very very nice work! > > Best regards, > Seb -- Joakim Verona