From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: [ANN] Editable HTML export of Org-mode files
Date: Wed, 15 Aug 2012 11:25:52 +0800 [thread overview]
Message-ID: <87mx1wbzun.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87pq6ua0kk.fsf@gmx.com
On Tue, Aug 14 2012, Eric Schulte wrote:
> Hi,
>
> I've recently put together a web server which runs in Emacs and exports
> local Org-mode files to HTML in such a way that they may be edited from
> within a web browser with the edits saved to local files on disk. The
> code is available from github.
>
> repository ---- https://github.com/eschulte/org-ehtml
> README ------- http://eschulte.github.com/org-ehtml
>
> This is a very thin Emacs Lisp and JavaScript wrapper around Nic
> Ferrier's elnode Emacs web server [1], and Nicolas Goaziou's structured
> Org-mode file representation and export engine. It requires Emacs 24
> and the development versions of both Org-mode and elnode.
>
> The code is fairly new so there are likely some kinks to be worked out
> (backup your files before editing them with this web-server), but the
> implementation is very simple and should be easy to modify. See the
> README for information on how to make use of elnode's authentication
> system, or how to have web edits automatically committed to a local
> version control system.
I gave this a very brief whirl, with the dev versions of emacs, org,
elnode, and org-ehtml, and running the test server on simple.org as
described in the README. Every time I edited a block and clicked "save",
it just deleted the whole block. I got these errors in
~/.elnodelogs/elnode-error:
20120814213846: elnode--sentinel 'open from 127.0.0.1.' for process *elnode-webserver-proc*<1> <127.0.0.1:59834> with buffer nil
20120814213846: Elnode status: *elnode-webserver-proc*<1> <127.0.0.1:59834> open from 127.0.0.1
20120814213847: elnode--sentinel 'open from 127.0.0.1.' for process *elnode-webserver-proc*<1> <127.0.0.1:59836> with buffer nil
20120814213847: Elnode status: *elnode-webserver-proc*<1> <127.0.0.1:59836> open from 127.0.0.1
20120814213847: filter: calling handler on *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: starting HTTP response on *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: Elnode-child-process init *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: filter: handler returned on *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: Elnode-child-process-filter http state: open data length: 4096 on *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: Elnode-child-process-filter http state: open data length: 4096 on *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: Elnode-child-process-filter http state: open data length: 1286 on *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: Elnode-child-process-sentinel Status @ finished: open -> exit on *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: elnode--http-end ending socket *elnode-webserver-proc*<1> <127.0.0.1:59834>
20120814213848: elnode--sentinel 'deleted.' for process *elnode-webserver-proc*<1> <127.0.0.1:59834> with buffer *elnode-request-59834*
20120814213849: Elnode status: *elnode-webserver-proc*<1> <127.0.0.1:59834> deleted
20120814213854: filter: calling handler on *elnode-webserver-proc*<1> <127.0.0.1:59836>
20120814213854: starting HTTP response on *elnode-webserver-proc*<1> <127.0.0.1:59836>
20120814213854: elnode--process-send-eof on *elnode-webserver-proc*<1> <127.0.0.1:59836>
20120814213854: elnode--http-end ending socket *elnode-webserver-proc*<1> <127.0.0.1:59836>
20120814213855: elnode--sentinel 'deleted.' for process *elnode-webserver-proc*<1> <127.0.0.1:59836> with buffer *elnode-request-59836*
20120814213855: Elnode status: *elnode-webserver-proc*<1> <127.0.0.1:59836> deleted
20120814213855: filter: handler returned on *elnode-webserver-proc*<1> <127.0.0.1:59836>
20120814213940: elnode--sentinel 'open from 127.0.0.1.' for process *elnode-webserver-proc*<1> <127.0.0.1:59848> with buffer nil
20120814213940: Elnode status: *elnode-webserver-proc*<1> <127.0.0.1:59848> open from 127.0.0.1
20120814213940: filter: calling handler on *elnode-webserver-proc*<1> <127.0.0.1:59848>
20120814213940: starting HTTP response on *elnode-webserver-proc*<1> <127.0.0.1:59848>
20120814213940: elnode--process-send-eof on *elnode-webserver-proc*<1> <127.0.0.1:59848>
20120814213940: elnode--http-end ending socket *elnode-webserver-proc*<1> <127.0.0.1:59848>
20120814213940: elnode--sentinel 'deleted.' for process *elnode-webserver-proc*<1> <127.0.0.1:59848> with buffer *elnode-request-59848*
20120814213940: Elnode status: *elnode-webserver-proc*<1> <127.0.0.1:59848> deleted
20120814213941: filter: handler returned on *elnode-webserver-proc*<1> <127.0.0.1:59848>
20120814213954: elnode--sentinel 'open from 127.0.0.1.' for process *elnode-webserver-proc*<1> <127.0.0.1:59851> with buffer nil
20120814213954: Elnode status: *elnode-webserver-proc*<1> <127.0.0.1:59851> open from 127.0.0.1
20120814213955: filter: calling handler on *elnode-webserver-proc*<1> <127.0.0.1:59851>
20120814213955: starting HTTP response on *elnode-webserver-proc*<1> <127.0.0.1:59851>
20120814213955: elnode--process-send-eof on *elnode-webserver-proc*<1> <127.0.0.1:59851>
20120814213955: elnode--http-end ending socket *elnode-webserver-proc*<1> <127.0.0.1:59851>
20120814213955: elnode--sentinel 'deleted.' for process *elnode-webserver-proc*<1> <127.0.0.1:59851> with buffer *elnode-request-59851*
20120814213955: Elnode status: *elnode-webserver-proc*<1> <127.0.0.1:59851> deleted
20120814213955: filter: handler returned on *elnode-webserver-proc*<1> <127.0.0.1:59851>
20120814214032: elnode--sentinel 'deleted.' for process *elnode-webserver-proc*<1> with buffer *elnode-webserver*
20120814214032: Elnode server stopped
I'd be happy to mess with this further if it would be helpful.
E
--
GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
of 2012-08-06 on pellet
7.8.11
next prev parent reply other threads:[~2012-08-15 3:26 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-13 22:28 [ANN] Editable HTML export of Org-mode files Eric Schulte
2012-08-14 7:44 ` Bastien
2012-08-14 9:40 ` Rasmus
2012-08-14 10:01 ` Bastien
2012-08-14 12:56 ` Eric Schulte
2012-08-14 21:45 ` Bastien
2012-08-15 15:31 ` Eric Schulte
2012-08-15 3:25 ` Eric Abrahamsen [this message]
2012-08-15 15:17 ` Eric Schulte
2012-08-15 23:51 ` Eric Schulte
2012-08-16 5:08 ` Eric Abrahamsen
2012-08-16 6:45 ` Eric Schulte
2012-08-16 7:27 ` Eric Abrahamsen
2012-08-16 13:36 ` Eric Schulte
2012-08-16 14:41 ` Eric Abrahamsen
2012-08-16 15:08 ` Eric Schulte
2012-08-16 2:06 ` Ista Zahn
2012-08-16 6:31 ` Eric Schulte
2012-08-16 15:58 ` Ista Zahn
2012-08-16 16:36 ` Eric Schulte
2012-08-16 17:44 ` Achim Gratz
2012-08-16 20:05 ` Eric Schulte
2012-08-16 19:43 ` Ista Zahn
2012-08-16 20:11 ` Eric Schulte
2012-08-16 20:50 ` Ista Zahn
2012-10-02 5:23 ` Eric S Fraga
2012-10-05 3:23 ` Eric Schulte
2012-10-21 18:27 ` Simon Thum
2012-10-22 20:38 ` Eric Schulte
2012-10-24 19:19 ` Simon Thum
2012-10-28 15:19 ` Eric Schulte
2012-10-28 15:35 ` Simon Thum
2012-10-29 8:29 ` Nitin Agarwal
2012-10-30 9:37 ` Nitin Agarwal
2012-10-30 16:56 ` 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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mx1wbzun.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).