Re: [xsl] Ideal XML Site tree layout

Subject: Re: [xsl] Ideal XML Site tree layout
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Tue, 20 Apr 2004 15:43:08 -0700
John Hamman wrote:

Large = IBM.com or Sun.com
Medium = Typical College or University site.

I would use multiple site 'maps' and break them out into logical units that perhaps reuse some XML configs and all(?) XSL.


I have a pretty comprehensive system that includes a slim site.xml that looks like:

<site xmlns="http://livestoryboard.com/schemas/lsb"; generate="1" label="Home"
id="demo_root" css="default.css" xsl="default" name="DEMO" index_page="site_ind">
<page generate="1" label="Welcome" id="site_ind" name="Welcome.html"/>
<folder generate="1" label="Destinations" id="f1034364271" onnav="1"
name="Destinations" index_page="p1958461133">
<page label="Destinations" id="p1958461133" name="destinations.html" generate="1"/>
</folder>
<topic label="content_root" id="t339321861" xsl="topics" name="t339321861">
<content label="homepromo" id="c682201793" name="tester.html"/>
<content label="placeholder" id="c780459541" name="placeholder.html"/>
<content label="right" id="c807589041" name="c807589041.html"/>
</topic>
</site>


I also create a metadata file for each element. For example, here is the the metadata for the page with id site_ind:

<md-page xmlns="http://livestoryboard.com/schemas/lsb"; status="editorial"
created="2004-02-17T12:25:42" modified="2004-03-28T09:52:20" last_mod_by="Iva Koberg">
<title>Welcome </title>
<description>This is a demo site that shows off sample setup and commonly used
features of liveSTORYBOARD CMS. For more info, visit www.livestoryboard.com.</description>
<regions>
<region name="wideCol">
<content ref="c682201793"/>
</region>
<region name="narrowCol">
<content ref="c807589041"/>
</region>
</regions>
</md-page>



So you get a site.xml with as little as possible and then put extra (any, I qualify it with a project schema) info in the metdata.


best,
-Rob







-----Original Message-----
From: Robert Koberg [mailto:rob@xxxxxxxxxx] Sent: Tuesday, April 20, 2004 6:27 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Ideal XML Site tree layout


John Hamman wrote:


Any use in large sites?


What is large?

-Rob



john

-----Original Message-----
From: Jeffrey Moss [mailto:jeff@xxxxxxxxxxxx] Sent: Tuesday, April 20, 2004 5:37 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Ideal XML Site tree layout


http://www.binarycloud.com

I think this is what you're looking for. I personally maintain my own
"sitemap" file that turns into a "sitemap.html", and I use it for some

other


things like navigation menus, page grouping/sequencing, but that is more
suited to my needs and shouldn't be very hard for you to implement.

-Jeff

----- Original Message ----- From: "John Hamman" <John@xxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, April 20, 2004 2:50 PM
Subject: [xsl] Ideal XML Site tree layout





I ask this in xsl because I need a xml file that will list an entire
(enterprise size) site in one file and be easily sorted via xsl.
Do anyone have any ideas on a good framework for this?
john

Current Thread