From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Emery Subject: HTML exporter bug? was Re: Inserting some java script Date: Mon, 15 Jan 2007 21:23:04 +0900 (JST) Message-ID: <20070115.212304.118802196.dave@skiddlydee.com> References: <2c75873c0701150244j7edc241an7de6a1084b655631@mail.gmail.com> <20070115.195836.182603650.dave@skiddlydee.com> <2c75873c0701150334y60ceb1e7x57b5aca95643fed8@mail.gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6Qp2-0004Cx-LW for emacs-orgmode@gnu.org; Mon, 15 Jan 2007 07:20:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6Qp1-0004CG-Kc for emacs-orgmode@gnu.org; Mon, 15 Jan 2007 07:20:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6Qp1-0004Bs-FZ for emacs-orgmode@gnu.org; Mon, 15 Jan 2007 07:20:19 -0500 Received: from [128.121.51.168] (helo=newsometer.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H6Qp0-0003tW-UM for emacs-orgmode@gnu.org; Mon, 15 Jan 2007 07:20:19 -0500 Received: from localhost (softbank218176044027.bbtec.net [218.176.44.27]) (authenticated bits=0) by newsometer.com (8.13.6.20060614/8.12.6) with ESMTP id l0FCKGTf049511 for ; Mon, 15 Jan 2007 21:20:17 +0900 (JST) (envelope-from dave@skiddlydee.com) In-Reply-To: <2c75873c0701150334y60ceb1e7x57b5aca95643fed8@mail.gmail.com> 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 On Date: Mon, 15 Jan 2007 11:34:36 +0000, "Graham Smith" wrote: > I don't really want it in every page, but I will look at that as well. > > I did try the @ symbol and it didn't work. In fact I hadn't used it properly, but even using it as you have illustrated, it > still gives me text rather than the link to the webwidget. I just tried it myself and it comes out even weirder than what you described. I get this: @<script type="text/javascript" language="JavaScript" src=" http://webwidget.fleck.com/?v=small_image"></script> It appears that the exporter is confused by the URL within the tags. Here's another example that shows the same problem: @ It gets exported as: @<img src="http://staff.science.uva.nl/~dominik/passfoto.jpg" /> Dave > > Maybe I am doing something silly. > > I shall have another go. > > Thanks, > > Graham > > On 15/01/07, David Emery < dave@skiddlydee.com> wrote: > > On Date: Mon, 15 Jan 2007 10:44:11 +0000, "Graham Smith" < myotisone@gmail.com> wrote: > > To access Fleck I want to insert the following code at the top of the Emacs document before publishing to HTML > > > > > > > > > > > > But I can't work out how to do this - I just get the text rather than the icon. > > I think you could just add the javascript tag line before or after the style > info in the setting for customize->export->html->style. That would automatically > put it into every page. > > To put it right into a particular org file, prepending > an "@" to that line should make the html pass through as is. > > @ > > Dave >