From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [ANN, OT] Emacs web-server, a new option for serving Org-mode files Date: Sat, 11 Jan 2014 09:12:54 -1000 Message-ID: References: <87zjn24cgx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W23zX-00046S-Iq for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 14:13:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W23zR-0006Cr-Qk for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 14:13:07 -0500 Received: from oproxy1-pub.mail.unifiedlayer.com ([66.147.249.253]:58369) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1W23zR-0006Ck-JD for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 14:13:01 -0500 In-Reply-To: <87zjn24cgx.fsf@gmail.com> (Eric Schulte's message of "Sat, 11 Jan 2014 11:09:20 -0700") 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: Eric Schulte Cc: Org Mode Mailing List Hi Eric, This worked out of the box for me. Neat! I ran into a problem with an optional step: poto:emacs-web-server dk$ emacs --version GNU Emacs 24.3.1 Copyright (C) 2013 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. poto:emacs-web-server dk$ make emacs --batch --execute '(add-to-list (quote load-path) "/Users/dk/org-local/emacs-web-server")' -f batch-byte-compile web-server-status-codes.el web-server-test.el web-server.el Wrote /Users/dk/org-local/emacs-web-server/web-server-status-codes.elc In toplevel form: web-server-test.el:9:1:Error: Cannot open load file: eieio In toplevel form: web-server.el:33:1:Error: Cannot open load file: eieio make: *** [src] Error 1 All the best, Tom Eric Schulte writes: > A non-Org announcement which I believe may still be of interest given > the recurring discussion of ways to serve Org-mode files as web pages. > > I've written an Emacs web-server [1], which may be used to interact with > Org-mode over HTTP. It has no dependencies aside from needing Emacs 24 > or later and it should be easy to install and use [2]. > > Three simple examples of how it may be used with Org-mode include; > 1. web server which exports Org files on demand [3], > 2. an export *service* [4] which allows users to upload Org-mode files > and then download exported versions, or > 3. simply a way to serve your daily agenda as a web page [5]. > > I've ported the Org-ehtml editable Org-mode Wiki [6] from Elnode to this > new web-server, and I now find that it is both easier to install, and is > more stable, and faster [7]. I know that Elnode setup had been a > barrier to some users of org-ehtml, hopefully that barrier is now > removed. > > I hope this is of interest and not too far off topic. > > Best, > > Footnotes: > [1] https://github.com/eschulte/emacs-web-server > > [2] http://eschulte.github.io/emacs-web-server/tutorials/#sec-1 > > [3] > http://eschulte.github.io/emacs-web-server/Org_002dmode-Export.html#Org_002dmode-Export > > [4] > https://github.com/eschulte/emacs-web-server/blob/master/examples/013-org-export-service.el > > [5] > https://github.com/eschulte/emacs-web-server/blob/master/examples/011-org-agenda.el > > [6] https://github.com/eschulte/org-ehtml > > [7] http://eschulte.github.io/emacs-web-server/benchmark/ -- Thomas S. Dye http://www.tsdye.com