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

2012-10-30 Thread Eric Schulte
Nitin Agarwal 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 html export functions for

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-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 conte

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 th

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

2012-10-28 Thread Eric Schulte
Simon Thum writes: > On 10/22/2012 10:38 PM, Eric Schulte wrote: >> Simon Thum writes: >> --8<---cut here---start->8--- >> foo bar >> >> >> >> >> >> --8<---cut here---end--->8--- >> >> all of the spaces and newlines are inse

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 Thum 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. However, when that

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

2012-10-22 Thread Eric Schulte
Simon Thum 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. (  or the like) I'm not ex

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. (  or the like) 2) I cannot use the auth handler: signal(error ("Elnode cannot set a wrapper for /l

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

2012-10-04 Thread Eric Schulte
Eric S Fraga writes: > Eric Schulte 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 avail

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

2012-10-01 Thread Eric S Fraga
Eric Schulte 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. Eric, I have

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 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 pre

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

2012-08-16 Thread Eric Schulte
Achim Gratz 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 both the

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?

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 wrote: > Ista Zahn writes: > >> On Thu, Aug 16, 2012 at 2:31 AM, Eric Schulte wrote: >>> Ista Zahn writes: >>> Hi Eric, Sounds really cool, I'd love to try it out. But when I run (ert "org-ehtml") I get errors like Sel

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

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

2012-08-16 Thread Eric Schulte
Ista Zahn writes: > On Thu, Aug 16, 2012 at 2:31 AM, Eric Schulte wrote: >> Ista Zahn 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) >>> T

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 wrote: > Ista Zahn 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: 20

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 2

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 writes: > >> On Thu, Aug 16 2012, Eric Schulte wrote: >> >>> Eric Abrahamsen writes: >>> On Thu, Aug 16 2012, Eric Schulte wrote: >>> Every time I edited a block and clicked "save", it just deleted the >>> whole block.

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

2012-08-16 Thread Eric Schulte
Eric Abrahamsen writes: > On Thu, Aug 16 2012, Eric Schulte wrote: > >> Eric Abrahamsen 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: >>>

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 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 coul

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

2012-08-15 Thread Eric Schulte
Eric Abrahamsen 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-15 Thread Eric Schulte
Ista Zahn 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 22:00:

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 n

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 org-ehtml-elnode-serve-a

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

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

2012-08-15 Thread Eric Schulte
Bastien writes: > Hi Eric, > > Eric Schulte 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

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

2012-08-15 Thread Eric Schulte
Eric Abrahamsen 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 files on disk.

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 git

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

2012-08-14 Thread Bastien
Hi Eric, Eric Schulte 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 the hash to someon

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

2012-08-14 Thread Eric Schulte
Bastien writes: > Rasmus 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 to security, eln

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

2012-08-14 Thread Bastien
Rasmus 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 Rasmus
Eric Schulte 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. That's very cool! G

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

2012-08-14 Thread Bastien
Eric Schulte 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 of elnode's auth

[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 https://github.com/esc