From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nitin Agarwal Subject: Re: [ANN] Editable HTML export of Org-mode files Date: Mon, 29 Oct 2012 13:29:17 +0500 Message-ID: References: <87pq6ua0kk.fsf@gmx.com> <50843E8D.4010305@gmx.de> <877gqitf70.fsf@gmx.com> <50883F59.10907@gmx.de> <87625utyi7.fsf@gmail.com> <508D50DF.7020200@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6d9ad21d8e1804cd2e7766 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSkir-00016C-EA for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 04:29:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSkik-0006H0-B7 for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 04:29:25 -0400 Received: from mail-qc0-f169.google.com ([209.85.216.169]:58054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSkik-0006Gn-6V for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 04:29:18 -0400 Received: by mail-qc0-f169.google.com with SMTP id t2so2900555qcq.0 for ; Mon, 29 Oct 2012 01:29:17 -0700 (PDT) In-Reply-To: <508D50DF.7020200@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org --047d7b6d9ad21d8e1804cd2e7766 Content-Type: text/plain; charset=ISO-8859-1 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 content of the subheadings or headings of the document. So we have to modify the org-ehtml to inculcate this feature. thanks Nitin Agarwal On Sun, Oct 28, 2012 at 8:35 PM, Simon Thum wrote: > 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 the HTML is >> displayed, until the [edit] button is pushed at which point JavaScript >> is used to hide the HTML and to expose the raw Org-mode text in an edit >> box. When edits are committed they are committed one portion (edit-box) >> at a time. >> >> Does this make sense? >> >> Why would something need to change for "this" to be reliable? >> > No, that sounds correct in principle. But my whitespace got eaten > nonetheless ;( > > I'll be investigating further. > > Cheers, > > Simon > > > -- *Nitin Agarwal* Computer Science and Engineering Student International Institute of Information Technology Gachibowli, Hyderabad 500 032 Andhra Pradesh, India Phone : +91-9573572831 E-mail: nitinagarwal3006@gmail.com *nitin.agarwal@students.iiit.ac.in* --047d7b6d9ad21d8e1804cd2e7766 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The edit option comes only for the content of the headings. We can't ed= it 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 content of the subheadings or headings= of the document.
So we have to modify the org-ehtml to inculcate this f= eature.

thanks
Nitin Agarwal


On Sun, Oct 28, 2012 at 8:35 PM, Simon Thum <simon.thum@gmx.de> wrote:
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 the HTML is
displayed, until the [edit] button is pushed at which point JavaScript
is used to hide the HTML and to expose the raw Org-mode text in an edit
box. =A0When edits are committed they are committed one portion (edit-box)<= br> at a time.

Does this make sense?

Why would something need to change for "this" to be reliable?
No, that sounds correct in principle. But my whitespace got eaten nonethele= ss ;(

I'll be investigating further.

Cheers,

Simon





--
Nitin Agarwal
Computer Science and Engineering St= udent
International Institute of Information Technology
Gachibowli, Hyderabad 500 032
Andhra Pradesh, India
Phone : +91-9573572831
E-mail: nitinagarwal3006@gmail.com<= /a>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
nitin.agarwal@students.iiit.ac.in<= /u>

--047d7b6d9ad21d8e1804cd2e7766--