From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Html Export and Containers Date: Fri, 18 Sep 2009 20:50:26 +0200 Message-ID: <8763bgulxp.fsf@gmx.de> References: <4AB3908C.7010505@manor-farm.org> <87my4sf8pl.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoiXT-0003pE-9y for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 14:50:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoiXO-0003hS-FY for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 14:50:34 -0400 Received: from [199.232.76.173] (port=45863 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoiXO-0003hE-0w for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 14:50:30 -0400 Received: from mail.gmx.net ([213.165.64.20]:57988) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MoiXN-0000RD-4H for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 14:50:29 -0400 In-Reply-To: <87my4sf8pl.fsf@gmx.de> (Sebastian Rose's message of "Fri, 18 Sep 2009 19:45:10 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Sebastian Rose writes: > > Carsten Dominik writes: > >> On Sep 18, 2009, at 2:52 PM, Ian Barton wrote: >> >>> As part of my "Using org on Mobile Devices" worglet, I want to try and explain >>> how to use style sheets to present different formatting depending on a mobile >>> device. >>> >>> However, I can't find any documentation about org's default export format, in >>> terms of how the html is contained in divs, etc. There was a disussion a >>> while back at http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11661.html >>> , but I can find anything in the org manual. >>> >>> If the documentation doesn't exist and someone can point me at the relevant >>> bit of lisp code where it's defined, I promise to submit a patch documenting >>> it:) >> >> Hi Ian, >> >> the lisp code is in org-html.el, but it may be hard to find the relevant pieces. >> >> Maybe the easiest is to make a file with all elements you care >> about, export it and look at the resulting html..... > > > Yes, it's quite self-explanatory. > > > After removing all text content, you'll stay with the bare XHTML and > everything should be obvious. > > > This is the skeleton of a basic file without the information not needed > like styles, JavaScript. I indented the text for readability. But note, > that the contents of such a file vary a lot, depending on the export > options and the files contents: Hrrrmmhrm, second try, now as attachment... Sebastian --=-=-= Content-Type: text/html Content-Disposition: attachment; filename=org-export-structure.html example-org-export

example-org-export

1 One    vogonian

;; A code comment here.
      
     

2 Two

Content of `Two.

2.1 Example

This was done using beginquote.

3 TODO A task

Content of `A task'.

4 DONE A done task

CLOSED: 2009-09-18 Fr 19:29

Content of a done task.

Author: Arthur Dent <arthur_dent@hartofgold.cos>

Date: 2009-09-18 19:33:45 CEST

HTML generated by org-mode 6.30trans in emacs 23

example-org-export

example-org-export

1 One    vogonian

;; A code comment here.
      
     

2 Two

Content of `Two.

2.1 Example

This was done using beginquote.

3 TODO A task

Content of `A task'.

4 DONE A done task

CLOSED: 2009-09-18 Fr 19:29

Content of a done task.

Author: Arthur Dent <arthur_dent@hartofgold.cos>

Date: 2009-09-18 19:33:45 CEST

HTML generated by org-mode 6.30trans in emacs 23

--=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--