From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Javascript Export Issue Date: Sat, 07 Mar 2009 11:14:02 +0100 Message-ID: <871vt97i8l.fsf@kassiopeya.MSHEIMNETZ> References: <49B1DC36.1020505@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LftUl-0000ch-6e for emacs-orgmode@gnu.org; Sat, 07 Mar 2009 05:11:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LftUi-0000ay-RT for emacs-orgmode@gnu.org; Sat, 07 Mar 2009 05:11:02 -0500 Received: from [199.232.76.173] (port=40409 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LftUi-0000ao-GP for emacs-orgmode@gnu.org; Sat, 07 Mar 2009 05:11:00 -0500 Received: from mail.gmx.net ([213.165.64.20]:38382) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LftUh-0008Iu-VH for emacs-orgmode@gnu.org; Sat, 07 Mar 2009 05:11:00 -0500 In-Reply-To: <49B1DC36.1020505@gmail.com> (srandby@gmail.com's message of "Fri, 06 Mar 2009 21:30:14 -0500") 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: srandby@gmail.com Cc: "[Orgmode]" Hi Scott, True. Safari needs this one here (note the two additional slashes in the second last line): Sorry. I'll search the org sources and compile a patch for this issue. srandby@gmail.com writes: > Greetings, > > When I export (using org-mode 6.23) to html an org file that has options for > org-info.js, the html file contains this: > > > > Earlier versions of org-mode exported scripts this way: > > > > Today, I discovered that the first script listed above will work with Firefox, > but not with Safari (I don't know about IE). After some research, I discovered > several fixes, including the old way of exporting, the easiest being: > > This is not valid XHTML because of the missing ` > I realize there are issues here with the differences between html browsers and > xml browsers, so I've decided that I would like to have scripts (and styles) > exported as separate files. Is this possible? > > When I export my org file to html, the html file contains one style section and > two script sections. If these three were instead exported to separate files, > that would eliminate the need to worry about how to enclose styles and scripts > with comments in a way that works for all browsers. Of course, then org-mode > would be creating four files instead of one, but I would like to have this > option. Everything I've read about this matter recommends keeping styles and > scripts as external files. > > When I create the three files manually and edit the html file appropriately, the > html file lacks all the style and script code which is replaced by: > > > > > > Good idea. But this should be valid XHTML too: Regards, -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.rose@emma-stil.de, sebastian_rose@gmx.de Http: www.emma-stil.de