[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTML exporter bug? was Re: [Orgmode] Inserting some java script
From: |
David Emery |
Subject: |
HTML exporter bug? was Re: [Orgmode] Inserting some java script |
Date: |
Mon, 15 Jan 2007 21:23:04 +0900 (JST) |
On Date: Mon, 15 Jan 2007 11:34:36 +0000, "Graham Smith" <address@hidden> 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=" <a
href="http://webwidget.fleck.com/?v=small_image"">http://webwidget.fleck.com/?v=small_image"</a>></script>
It appears that the exporter is confused by the URL within the tags. Here's
another example that shows the same problem:
@<img src="http://staff.science.uva.nl/~dominik/passfoto.jpg" />
It gets exported as:
@<img src="<a
href="http://staff.science.uva.nl/~dominik/passfoto.jpg"">http://staff.science.uva.nl/~dominik/passfoto.jpg"</a>
/>
Dave
>
> Maybe I am doing something silly.
>
> I shall have another go.
>
> Thanks,
>
> Graham
>
> On 15/01/07, David Emery < address@hidden> wrote:
>
> On Date: Mon, 15 Jan 2007 10:44:11 +0000, "Graham Smith" <
> address@hidden> wrote:
> > To access Fleck I want to insert the following code at the top of the
> Emacs document before publishing to HTML
> >
> > <!-- Start of Fleck WebWidget Code -->
> > <script type="text/javascript" language="JavaScript" src="
> http://webwidget.fleck.com/?v=small_image"></script>
> > <!-- End of Fleck WebWidget Code -->
> >
> > 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.
>
> @<script type="text/javascript" language="JavaScript" src="
> http://webwidget.fleck.com/?v=small_image"></script>
>
> Dave
>