[WM] re: sitemap grep

Justin Mason jm.jmason.org
Mon Jan 22 14:41:22 GMT 2001


alex canady said:

> as for enhancements, i think this dynamic sitemap (yes
> i know that is a confusing term as there is already a
> dynamic attribute - u come up with another name) would
> be useful as i have found it implemented with server
> side code  and javascript on a lot of sites.  i expect
> if the site is large or complex it would beg more of
> this sort of sitemap versus the complete sitemap.

Yep, agreed -- I think it is something that should be provided as part of
the basic WebMake package, it's definitely a nice piece of functionality.
The only reason it wasn't there is because it hadn't occurred to me ;)

A good name is needed though... maybe "sitetree" -- 'cos it's like a tree,
displaying the site structure in the style of the Windows Explorer
interface's file tree, with one "directory" open.

Agh, that's terrible ;)  Anybody got any other suggestions?


> one thing i thought about was creating a sitemap for
> *each* page to be output ... something like 
> 
> <sitemap name=${content_name}sitemap ...>
> 
> or some such and use the prune and skip features of
> grep to make individually custom and named sitemaps.  

That would work, but would be very memory hungry and slow, so not
recommended ;) I'd say a <{perl}>-based implementation, as described in
the previous mail, would be much more efficient.

cheers,

--j.




More information about the Webmake-talk mailing list