Re: docs chunking status



On Fri, Apr 12, 2002 at 12:50:01PM +0200, Mikael Hallendal wrote:
> fre 2002-04-12 klockan 12.43 skrev Sander Vesik:
> > 
> > Ok, so after a crash dive into xslt and docbook stylesheet customisation:
> > 
> > 	* I have a customisation that does it all - except for needing
> > 	  some amount of tweaking when it comes to prev/next links
> 
> >From what I understand chunking has been working for a long time (at
> least gnome2-db2html have returned just the section asked for as long as
> I can remember).
> 

It did this by simply using the rootid parameter to tell the
stylesheet to return a single section, and not by excercising NW's
chunking code, which is a quite different thing involving the more
detailed parsing required to generate navigational links.

> > 	* we need a change to the way gnome2-db2html does things
> > 	  internaly slightly
> 
> s/slightly/pretty much/
>  
> > 	* yelp is presently making assumptions that need to change -
> > 	  Hallski doesn't like it because it will make things less
> > 	  efficent
> 
> Yes, what I don't like is the fact that using chunking with the current
> implementation of gnome2-db2html makes the gain from caching the
> documents much less interesting.
> 
> Yelp used to use the chunking-stuff so that only the section asked for
> was displayed. I changed this a while back since it was more-or-less
> unusable because of the speed at which you could view the documents.
> 
> > 	* The efficency problem largely comes from the fact that presently
> > 	  we are just executing and external program and then pulling the
> > 	  data back. The initial "make things faster" fix would be to have
> > 	  yelp intercept a special "we just want to repapply the stylesheet 
> > 	  on the doc" uri so we don't continously reload docbook dtd and
> > 	  stylesheet.
> 
> Before anyone rewrite gnome2-db2html to do some internal caching or
> comes up with a scheme that solves this I think that we need to rethink
> the usage of chunking, because at current it would be totally unusable.
> 

So do either of you have more specific suggestions for the changes
necessary to gnome2-db2html to make this all work?

Cheers,
John
-- 
John Fleck
jfleck inkstain net (h) jfleck abqjournal com (w)
http://www.inkstain.net http://www.abqjournal.com

"You don't want to die with the music still in you."
 - John Gardner



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]