[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Dave Winer" <dave@u...>
  • To: <xml-dev@i...>
  • Date: Fri, 17 Dec 1999 10:52:11 -0800

We've found another pragmatic use for XML.
 
On our Weblog Monitor site we allow people who have registered sites to specify how they'd like the sites to be categorized. This results in a hierarchy of categories and nodes. This hierarchy is browsable thru the web, and it's also mirrored in XML. The XML file is here:
 
http://static.userland.com/weblogMonitor/categories.xml
 
You can browse the structure thru HTML here:
 
http://subhonker2.userland.com/weblogMonitor/categories/
 
If you register a weblog, you enter the Categories string on your Prefs page:
 
http://subhonker2.userland.com/weblogMonitor/prefs/
 
The levels are slash-delimited, you can specify as many paths as you want, they're comma-separated.
 
Here's the categories string I entered for Scripting News:
 
/computers/software/scripting,/culture/web,/humor,/Geography/USA/California
 
The structure evolves in real-time, if a member changes his or her listing so that a category is emptied, it's no longer in the structure.
 
A Frontier script that reads the XML into an outline.
 
http://samples.userland.com/discuss/enclosures/view$64
 
A screen shot of the outline:
 
http://www.outliners.com/images/frontier6/weblogMonitorCategoriesOutline.gif
 
Dave Winer
 
 
 
 
 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member