From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: unique id=-values in aggregated html-exported docs Date: Tue, 11 May 2010 21:11:04 +0200 Message-ID: <8739xy8d9z.fsf@gmx.de> References: <87wrvf302y.wl%djcb@djcbsoftware.nl> <87vdaueri4.fsf@saadawi.sbszh.ch> <87vdauxsqe.wl%djcb@djcbsoftware.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=46163 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBut2-00007e-MR for emacs-orgmode@gnu.org; Tue, 11 May 2010 15:13:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBust-0006Uz-EI for emacs-orgmode@gnu.org; Tue, 11 May 2010 15:12:53 -0400 Received: from mail.gmx.net ([213.165.64.20]:39718) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OBust-0006UY-0Z for emacs-orgmode@gnu.org; Tue, 11 May 2010 15:12:51 -0400 In-Reply-To: <87vdauxsqe.wl%djcb@djcbsoftware.nl> (Dirk-Jan C. Binnema's message of "Tue, 11 May 2010 20:18:01 +0300") 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: djcb@djcbsoftware.nl Cc: Christian Egli , emacs-orgmode@gnu.org Dirk-Jan C. Binnema writes: > Hi, > >>>>>> On Tue, 11 May 2010 11:07:15 +0200, Christian Egli ("CE") wrote: > > CE> Dirk-Jan C. Binnema writes: > >> I found a small issue when aggregating multiple org-exported-to-html > >> entries into one page. The problem is that some of the html-elements have > >> id=... attributes, which are supposed to be unique in a html document; > >> however, this fails when aggregating different elements into one. > > CE> Can you list which html elements are the problem? > CE> Does it help if you use the BODY-ONLY option (C-h f org-export-as-html)? > > Actually, that's what I'm doing already (through org-publish). The final > (aggegated) result is at: > http://www.djcbsoftware.nl/changelog/index.html > I got warned by tidy. I think it wouldn't be too hard easy to fix this by > adding a per-document random cookie to these ids. Can you verify, that those are clashing IDs? I get an error from PHP's DOMDocument, that an ID is already defined. But it is not. There's still that old compatibility `name' attribute left with the same value as the ID attribute. That's all. I would through out. The decision to keep it is two years old. And it was point of discussion even by then. > BTW, tidy also warned me about missing summary= attributes for tables; is > there some way to add those? Yes, summary is required. We all forgot to add it. It's meant to take a description of the table's content and some browsers use it for accessability purposes (I guess the summary is read aloud then). A quick fix would be to just add `summary=""' to the table definition: Tehom, how far is the HTML-exporter-overhaul? Sebastian