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

An idea...





       Thinking about org charts, and the navbar.

       Imagine defining an employees as:

       <employee 
         orgchart=main
         id=web1
         title=webmaster 
	 reportsto=president
	 name="William Master"
	 img=w_master.jpg
	 phone="555-1214"
	 email="webmaster">

       <employee
         orgchart=main
         id=web2
         title="Member of Technical Staff"
	 reportsto=web1
	 name="Billy Master"
	 img=b_master.jpg
	 phone="555-1215"
	 email="bill">

	 ...

       <employee
         orgchart=main
         id=president
         title="President"
	 name="Fred Flintsone"
	 img=f_flintsone.jpg
	 phone="555-1201"
	 email="fred">
	 

	 And then saying:

	 <page title="Company Orgchart">
	 <body>
	 <orgchart main start=president>
	 </body>
	 </page>	 


and have it spit out a page that starts with the employee with id
specified by start (in this case "president"), with direct reports
listed underneath (likely using navbar:prolog and navbar:epilog type
specifications so that folks can lay it out left to right, or
vertical)

Each direct report, if they have direct reports, has a link to a page
that magically gets made which lists their direct reports.  Everyone's
email has a <a href="mailto:email"></a> tag around it. And so on.

Just an idea for those idle hackers out there...

-- 
    /\     Michael McNamara             <mac@surefirev.com>
   /\//    SureFire Verification        408-374-4100 x 100
  /\///\   <http://www.surefirev.com>   408-374-4174 FAX
 _\///\/        Formerly Silicon Sorcery
  \//\/    Get my verilog emacs mode from
    \/     <http://www.surefirev.com/verilog-mode.html>
                                     

______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com