From: John Hendy <jw.hendy@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [ANN, OT] Emacs web-server, a new option for serving Org-mode files
Date: Sat, 11 Jan 2014 16:21:29 -0600 [thread overview]
Message-ID: <CA+M2ft8oTMJZQeyPH_Wva29C_iRZWwywYv=Bm6=3aqsC1o-m6A@mail.gmail.com> (raw)
In-Reply-To: <87zjn24cgx.fsf@gmail.com>
On Sat, Jan 11, 2014 at 12:09 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
> 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].
>
This sounds really, really cool!
> 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.
The "Hello world" example worked splendidly for me out of the box. I'm
having a bit of difficulty with serving up a file via this example:
http://eschulte.github.io/emacs-web-server/File-Server.html#File-Server
Perhaps I don't understand how the function is supposed to work... It
says that the docroot is the current working directory in the example,
so I cd'd to a directory with an .html file in it, started `emacs -Q`
from the command line, ran `M-x load-file RET ~/.emacs`, and then
evaluated the code from the example in the *scratch* buffer. I'm
getting the 404 error. Should I be modifying that code somehow?
Thanks and great work -- this is really neat!
John
> 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/
>
> --
> Eric Schulte
> https://cs.unm.edu/~eschulte
> PGP: 0x614CA05D
>
next prev parent reply other threads:[~2014-01-11 22:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-11 18:09 [ANN, OT] Emacs web-server, a new option for serving Org-mode files Eric Schulte
2014-01-11 19:12 ` Thomas S. Dye
2014-01-11 21:53 ` Eric Schulte
2014-01-12 1:12 ` Thomas S. Dye
2014-01-11 22:21 ` John Hendy [this message]
2014-01-11 22:27 ` David Belohrad
2014-01-11 22:33 ` Eric Schulte
2014-01-12 16:38 ` David Belohrad
2014-01-11 22:29 ` Eric Schulte
2014-01-11 23:22 ` John Hendy
2014-01-12 0:26 ` Eric Schulte
2014-01-12 1:10 ` John Hendy
2014-01-12 1:53 ` Eric Schulte
2014-01-12 14:40 ` John Hendy
2014-01-12 16:21 ` Eric Schulte
2014-01-16 0:51 ` Andrea Rossetti
2014-01-17 17:37 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+M2ft8oTMJZQeyPH_Wva29C_iRZWwywYv=Bm6=3aqsC1o-m6A@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.