emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode fi


From: Thomas S. Dye
Subject: Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files
Date: Sat, 11 Jan 2014 09:12:54 -1000

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 <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]