From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Links to id:xxxxxx don't work in exported html Date: Thu, 8 Jan 2009 22:43:10 +0100 Message-ID: References: <20090108144916.GB5649@taupan.ath.cx> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LL2eq-0005bA-Fz for emacs-orgmode@gnu.org; Thu, 08 Jan 2009 16:43:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LL2eo-0005aT-NY for emacs-orgmode@gnu.org; Thu, 08 Jan 2009 16:43:16 -0500 Received: from [199.232.76.173] (port=33082 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL2eo-0005aO-JW for emacs-orgmode@gnu.org; Thu, 08 Jan 2009 16:43:14 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]:64233) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LL2eo-0003Zd-2q for emacs-orgmode@gnu.org; Thu, 08 Jan 2009 16:43:14 -0500 Received: by ug-out-1314.google.com with SMTP id 36so2424458uga.17 for ; Thu, 08 Jan 2009 13:43:12 -0800 (PST) In-Reply-To: <20090108144916.GB5649@taupan.ath.cx> 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: friedel@nomaden.org Cc: Emacs-orgmode mailing list Hi Friedrich, thanks for bringing this up. Yes, this should work. Back when I did the id links, I thought it would be very hard, but fortunately I did put the basic framework for additional targets in place already a while ago, in response to a request by Matt for hard targets that are good for permanent HTML links. Now you can use the ID's. The advantage is that, as you move links around, they will continue to work. So this is really great for Notes that you might want to re-organize. On the other hand, when building a website, explicit targets may be more self-explanatory: #<> * Headline that should be linked to HTH - Carsten On Jan 8, 2009, at 3:49 PM, Friedrich Delgado Friedrichs wrote: > Hi! > > I really like org-link-to-org-use-id, however it breaks links to > org items in html export for me. > > I have the following test file: > > ** Test [[id:45c4a467-b6ee-497c-9ed7-40342738e1c2][Item in a > different org-file]] > - [[id:frz5htg0rhe0][Yet another item in a different org file]] > > [[id:8611fa8f-7460-47b6-8edd-67e1ec25c5ce][Local Item]] > > ** Local Item > :PROPERTIES: > :ID: 8611fa8f-7460-47b6-8edd-67e1ec25c5ce > :END: > > The two external links have the mentioned ids and the links work in > org, > however html export gives me the following html snippet: > >
>

1.1 Test <id:45c4a467- > b6ee-497c-9ed7-40342738e1c2>

>
> > >
> >
> >
>

1.2 Local Item

>
> >
>
> > i.e. only the internal link works, the links to different org files > are only displayed by their ids. > > > -- > Friedrich Delgado Friedrichs > TauPan on Ircnet and Freenode ;) > > > _______________________________________________ > 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