Re: XML navigation tree



On Tue, Sep 25, 2001 at 02:50:37PM +0100, Jeff Waugh wrote:
> Hey all,
> 
> I'm CC'ing Daniel and Liam here because they are Wise and Knowledgable Men.

I'm not wise and only slightly knowledgable but here's my thoughts;

Using a combination of the current d.g.o. and Thomas' sute structure (as 
an example to play with) I would say,

<branch href="http://www.gnome.org/";>
   <title>Home<title>
   <icon>images/menu/home.png</icon>
   <branch href="general/"></branch>
   <branch href="software"/></branch>
   <branch href="docs/"></branch>
   <branch href="contribute/">
     <title>Contribute</title>
     <icon>images/menu/contribute.png</icon>
     <page href="pow.php">
       <title>Project of the week</title>
     </page>
     <page href="todo.html">
       <title>TODO List</title>
     </page>
     <branch href="projects/">....</branch>
   </branch>
   <branch href="http://developer.gnome.org/";>
     <title>Development</title>
     <branch href="news/">...</branch>
     <branch href="dotplan/">....</branch>
     <branch href="projects/">
         <branch href="gap/"></branch>
         <branch href="gdp/">
             <page href="news/"></branch>
             <page href="status/"></branch>
             <page href="joining/"></branch>
             <page href="tasks/"></branch>
             <page href="resources/"></branch>
         </branch>
         <branch title="Packaging" href="gpp/"></branch>
         <branch title="Translation" href="gtp/"></branch>
         <branch title="Usability" href="gup/"></branch>
         <branch title="Webhackers" href="gwh/"></branch>
     </branch>
  </branch>
  <branch href="community/">...</branch>
</branch>

I would try to keep attributes to a minimum an keep most stuff as tags as 
it allows more to be added in future without harming readability (IMHO). 

Looking at our mockups, each top level branch (general, software, docs, 
developer, cimmunity in the above, or whatever we agree) is a link in the 
top bar (over the trees and hills) and the branches / pages below that 
appear in the menu on the left. Also I'm not suggesting that each section 
should have an icon just using it as an example of extra things we might 
stick in there.

Paul

> Here's an initial idea:
> 
> <branch title="Home" href="/">
>     <branch title="News" href="news/"></branch>
>     <branch title="dotPlan" href="dotplan/"></branch>
>     <branch title="Projects" href="projects/">
>         <branch title="Accessibility" href="gap/"></branch>
>         <branch title="Documentation" href="gdp/">
>             <branch title="News" href="news/"></branch>
>             <branch title="Status Reports" href="status/"></branch>
>             <branch title="Joining" href="joining/"></branch>
>             <branch title="Tasks" href="tasks/"></branch>
>             <branch title="Resources" href="resources/"></branch>
>         </branch>
>         <branch title="Packaging" href="gpp/"></branch>
>         <branch title="Translation" href="gtp/"></branch>
>         <branch title="Usability" href="gup/"></branch>
>         <branch title="Webhackers" href="gwh/"></branch>
>     </branch>
>     <branch title="Sitemap" href="sitemap/"></branch>
> </branch>
> 
> Other bits and pieces that can be popped in include modification date, DC
> metadata, etc. Hopefully we'd be able to get a lot out of this structure,
> not just a simple navigation interface. This would be blatted out to the
> html client like this:
> 
> Home
>   News
>   dotPlan
>   Projects
>     Accessibility
>     Documentation
>       News
>       Status Reports
>       Joining
>       Tasks
>       Resources
>     Packaging
>     Translation
>     Usability
>     Webhackers
>   Sitemap
> 
> Is there a 'standard' for doing this? Perhaps someone can suggest a better
> schema?
> 
> - Jeff
> 
> -- 
>                     The Unix Way: Everything is a file.                     
>                  The Linux Way: Everything is a filesystem.                 
> 
> _______________________________________________
> gnome-web-list mailing list
> gnome-web-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-web-list

-- 
-----------------------------------------------------------------
Paul Cooper                             |  Tel: 0121 331 7858
Senior Programmer and Database Engineer |  Fax: 0121 331 7859
UCEcom                                  |  mailto:pgc ucecom com
University of Central England           |  http://www.ucecom.com
Birmingham, B4 7DX                      |
-----------------------------------------------------------------




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