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

Re: Changes to menu package



> When we get more menu entries in there, I would like to be able to
> split the list into a heirarchial multi-page index, much like how
> Yahoo is organized.  I think the best way to do that would be to
> build hooks into the menu package so that it could call a routine
> in dwww that might throw the link into a relational database of
> some form.  Then the web pages could be created from that.

I'm not quite sure I understand what you mean here. Would something
like:

  rootprefix="/var/lib/dwww/html"
  rcfile    =print($section) "menu.html" 

in the /etc/menu-method/dwww script do? Then you'd get different
files in different directories, possibly just what you want.

BTW, this is _not_ going to work in the  menu_1.0 I'm about to release
this week, but if this is what you want, then at least it'll be
relatively easy to add.

-- 
joost witteveen     joostje@debian.org
    
I came, I saw, ..., well, it wasn't free so I left again. (LUA, 1988)


Reply to: