Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-30 Thread Nitin Agarwal
Hi, Somehow we have to edit the org-ehtml-server.el and the org-ehtml-client.el file in order to the edit the orgmode file as editable web page where we can edit the headings or subheadings. functions defined in the org-ehtml-server.el file (defun org-ehtml-handler (httpcon) (elnode-log-access

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-30 Thread Eric Schulte
Nitin Agarwal nitinagarwal3...@gmail.com writes: The edit button appears only for the content of the subheadings or headings of the document. Look at the call to `org-export-define-derived-backend' in line 107 of org-ehtml-client [1]. Notice that it defines editable versions of the existing

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-29 Thread Nitin Agarwal
The edit option comes only for the content of the headings. We can't edit the headings and the subheadings of the headings. So the source code has to be modified to make the org-mode document editable as HTML where we can edit the Headings and subheadings. The edit button appears only for the

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-28 Thread Eric Schulte
Simon Thum simon.t...@gmx.de writes: On 10/22/2012 10:38 PM, Eric Schulte wrote: Simon Thumsimon.t...@gmx.de writes: --8---cut here---start-8--- foo bar --8---cut here---end---8--- all of the spaces and newlines

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-28 Thread Simon Thum
On 10/28/2012 04:19 PM, Eric Schulte wrote: Yes, the content of the edit boxes does come from the exported html. For each portion of the Org-mode document (as delimited by org-elements), both the raw Org-mode text and the HTML are exported side-by-side, then the raw Org-mode text is hidden and

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-24 Thread Simon Thum
On 10/22/2012 10:38 PM, Eric Schulte wrote: Simon Thumsimon.t...@gmx.de writes: --8---cut here---start-8--- foo bar --8---cut here---end---8--- all of the spaces and newlines are inserted into the Org-mode file.

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-22 Thread Eric Schulte
Simon Thum simon.t...@gmx.de writes: Hi Eric, thank you for this very interesting thing! Happy you're finding this interesting. I have two comments from my first testing. 1) It seems editing is eating all the whitespace in a section. They probably need html protection. (nbsp; or the

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-21 Thread Simon Thum
Hi Eric, thank you for this very interesting thing! I have two comments from my first testing. 1) It seems editing is eating all the whitespace in a section. They probably need html protection. (nbsp; or the like) 2) I cannot use the auth handler: signal(error (Elnode cannot set a wrapper

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-04 Thread Eric Schulte
Eric S Fraga e.fr...@ucl.ac.uk writes: Eric Schulte eric.schu...@gmx.com writes: 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

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-01 Thread Eric S Fraga
Eric Schulte eric.schu...@gmx.com writes: 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.

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Schulte
Ista Zahn istaz...@gmail.com writes: Hi Eric, Sounds really cool, I'd love to try it out. But when I run (ert org-ehtml) I get errors like Selector: org-ehtml Passed: 0 Failed: 5 (5 unexpected) Total: 5/6 Started at: 2012-08-15 22:00:20-0400 Finished. Finished at: 2012-08-15

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Schulte
Eric Abrahamsen e...@ericabrahamsen.net writes: On Thu, Aug 16 2012, Eric Schulte wrote: Every time I edited a block and clicked save, it just deleted the whole block. I got these errors in ~/.elnodelogs/elnode-error: I'm not sure what could be causing this problem. Did the test suite run

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Abrahamsen
On Thu, Aug 16 2012, Eric Schulte wrote: Eric Abrahamsen e...@ericabrahamsen.net writes: On Thu, Aug 16 2012, Eric Schulte wrote: Every time I edited a block and clicked save, it just deleted the whole block. I got these errors in ~/.elnodelogs/elnode-error: I'm not sure what could be

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Schulte
Eric Abrahamsen e...@ericabrahamsen.net writes: On Thu, Aug 16 2012, Eric Schulte wrote: Eric Abrahamsen e...@ericabrahamsen.net writes: On Thu, Aug 16 2012, Eric Schulte wrote: Every time I edited a block and clicked save, it just deleted the whole block. I got these errors in

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Abrahamsen
On Thu, Aug 16 2012, Eric Schulte wrote: Eric Abrahamsen e...@ericabrahamsen.net writes: On Thu, Aug 16 2012, Eric Schulte wrote: Eric Abrahamsen e...@ericabrahamsen.net writes: On Thu, Aug 16 2012, Eric Schulte wrote: Every time I edited a block and clicked save, it just deleted the

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Schulte
This must be a JavaScript issue related to some difference between browsers. Can I ask, what browser you are using? I've done all of my testing with browsers in the Firefox family (Firefox and conkeror). I'm using the version of Chrome provided by Arch linux, it tells me Version

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Ista Zahn
On Thu, Aug 16, 2012 at 2:31 AM, Eric Schulte eric.schu...@gmx.com wrote: Ista Zahn istaz...@gmail.com writes: Hi Eric, Sounds really cool, I'd love to try it out. But when I run (ert org-ehtml) I get errors like Selector: org-ehtml Passed: 0 Failed: 5 (5 unexpected) Total: 5/6

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Schulte
Ista Zahn istaz...@gmail.com writes: On Thu, Aug 16, 2012 at 2:31 AM, Eric Schulte eric.schu...@gmx.com wrote: Ista Zahn istaz...@gmail.com writes: Hi Eric, Sounds really cool, I'd love to try it out. But when I run (ert org-ehtml) I get errors like Selector: org-ehtml Passed: 0

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Achim Gratz
Eric Schulte writes: Ugh, this is more headache related to the renaming of all cl-* functions between the released version of Emacs 24 and the development head of Emacs (which I'm using). I've just pushed up a change after which all tests are passing on both the development head and the

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Ista Zahn
On Thu, Aug 16, 2012 at 12:36 PM, Eric Schulte eric.schu...@gmx.com wrote: Ista Zahn istaz...@gmail.com writes: On Thu, Aug 16, 2012 at 2:31 AM, Eric Schulte eric.schu...@gmx.com wrote: Ista Zahn istaz...@gmail.com writes: Hi Eric, Sounds really cool, I'd love to try it out. But when I run

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Schulte
All is working as expected, and as expected it's really cool. Thank you! Great, happy its working. Now if I could just edit babel source blocks and have the results blocks update on the fly I would be in R workshop presenter heaven. Any chance of this sort of thing down the road? Yea,

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: Ugh, this is more headache related to the renaming of all cl-* functions between the released version of Emacs 24 and the development head of Emacs (which I'm using). I've just pushed up a change after which all tests are passing on

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-16 Thread Ista Zahn
On Thu, Aug 16, 2012 at 4:11 PM, Eric Schulte eric.schu...@gmx.com wrote: All is working as expected, and as expected it's really cool. Thank you! Great, happy its working. Now if I could just edit babel source blocks and have the results blocks update on the fly I would be in R workshop

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-15 Thread Eric Schulte
Eric Abrahamsen e...@ericabrahamsen.net writes: 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

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-15 Thread Eric Schulte
Bastien b...@gnu.org writes: Hi Eric, Eric Schulte eric.schu...@gmx.com writes: With respect to security, elnode has a simple authentication system which seems to work well in my local trials. It has no forms for setting passwords online, so users would have to generate a hash of their

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-15 Thread Eric Schulte
Every time I edited a block and clicked save, it just deleted the whole block. I got these errors in ~/.elnodelogs/elnode-error: I'm not sure what could be causing this problem. Did the test suite run successfully for you? I've now added a POST test to the test suite. So if your problem

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-15 Thread Ista Zahn
Hi Eric, Sounds really cool, I'd love to try it out. But when I run (ert org-ehtml) I get errors like Selector: org-ehtml Passed: 0 Failed: 5 (5 unexpected) Total: 5/6 Started at: 2012-08-15 22:00:20-0400 Finished. Finished at: 2012-08-15 22:00:50-0400 FFQFFF F

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-15 Thread Eric Abrahamsen
On Thu, Aug 16 2012, Eric Schulte wrote: Every time I edited a block and clicked save, it just deleted the whole block. I got these errors in ~/.elnodelogs/elnode-error: I'm not sure what could be causing this problem. Did the test suite run successfully for you? I've now added a POST

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-14 Thread Bastien
Eric Schulte eric.schu...@gmx.com writes: 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

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-14 Thread Rasmus
Eric Schulte eric.schu...@gmx.com writes: 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.

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-14 Thread Bastien
Rasmus ras...@gmx.us writes: That's very cool! Good job! This could be useful. Would this be something that could eventually be used in the Worg? If there are some good ideas, and if Jason (as the security guy for the server) is okay, why not? -- Bastien

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-14 Thread Eric Schulte
Bastien b...@gnu.org writes: Rasmus ras...@gmx.us writes: That's very cool! Good job! This could be useful. Would this be something that could eventually be used in the Worg? If there are some good ideas, and if Jason (as the security guy for the server) is okay, why not? With respect

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-14 Thread Bastien
Hi Eric, Eric Schulte eric.schu...@gmx.com writes: With respect to security, elnode has a simple authentication system which seems to work well in my local trials. It has no forms for setting passwords online, so users would have to generate a hash of their password locally, and then send

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-08-14 Thread Eric Abrahamsen
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.

[O] [ANN] Editable HTML export of Org-mode files

2012-08-13 Thread Eric Schulte
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