On 9/30/07, Nuno Lopes <[EMAIL PROTECTED]> wrote: > > There is only one missing feature; Auto-generated (and translated) > > titles/inline texts. > > I.e. generating titles for the <warning>s, <tip>s, <abstract> > > elements, title for TOCs, inline text for <note>s... > > Why not fetch that data from the docbook entities? (probably that's what you > though already..)
Its not entities, <warning><para>This is a warning</para></warning> should create <div class="warning"><p>Warning</p><p>This is a warning</p></div> I.e. the "<p>Warning</p>" needs to be injected before the actual content. If these rules were consistent it would be a piece of cake, however the TOC, for instance, is created totally out of thin air, no markup surrounding it or anything. We could use their data (I've already converter their XSL templates for this into PHP files for testing), but IIRC its licensed under GPL which causes us lot of useless pain. However, the actual data is not the problem. The problem is how to inject it automatically into correct places. > > If there are no critical bugs found within couple of weeks of the > > release I'd like to release 0.1-final and deploy PhD-renderer on the > > rsync box replacing Docbook-XSL for the phpweb and html builds. > > Maybe we could deploy it already in a separate folder and get a broader test > audience. And only after a few weeks of "wild testing", replace the current We could, but that would add extra 1.7 GB of data to the mirrors just out of the blue. Also, we would need to hack the error handler to check if the user wants the phd version or not. Not to mention the confusion for the user when all his bookmarks (php.net/manual/en/page.php) keep displaying the old style... I think its to much of a hassle to be worth it. However, I had planned to register http://docs.php.net as a "special mirror" in the mirroring system and put a news entry on php.net "If you want to help out testing our cool new docbook renderer then choose "doc.php.net" as your preferred mirror on http://php.net/my.php" during the RC phase... For what its worth, I had a quick chat with the php.net webmaster about it few days ago and he really liked the idea. -Hannes