emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: djcb@djcbsoftware.nl
Cc: Christian Egli <christian.egli@sbszh.ch>, emacs-orgmode@gnu.org
Subject: Re: Re: unique id=-values in aggregated html-exported docs
Date: Tue, 11 May 2010 21:11:04 +0200	[thread overview]
Message-ID: <8739xy8d9z.fsf@gmx.de> (raw)
In-Reply-To: <87vdauxsqe.wl%djcb@djcbsoftware.nl> (Dirk-Jan C. Binnema's message of "Tue, 11 May 2010 20:18:01 +0300")

Dirk-Jan C. Binnema <djcb.bulk@gmail.com> writes:
> Hi,
>
>>>>>> On Tue, 11 May 2010 11:07:15 +0200, Christian Egli ("CE") wrote:
>
>   CE> Dirk-Jan C. Binnema <djcb.bulk@gmail.com> 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:

   <table summary="" ...>



Tehom, how far is the HTML-exporter-overhaul?


  Sebastian

  reply	other threads:[~2010-05-11 19:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-07 20:53 unique id=-values in aggregated html-exported docs Dirk-Jan C. Binnema
2010-05-11  9:07 ` Christian Egli
2010-05-11 17:18   ` Dirk-Jan C. Binnema
2010-05-11 19:11     ` Sebastian Rose [this message]
2010-05-11 20:02       ` Dirk-Jan C. Binnema
2010-05-12 17:02         ` Sebastian Rose
2010-05-13 16:46           ` Dirk-Jan C. Binnema

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739xy8d9z.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=christian.egli@sbszh.ch \
    --cc=djcb@djcbsoftware.nl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).