Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

  Tuesday, September 16, 2003 

Kimbro Staken's XPath-searchable blog

Kimbro Staken's new blog software, built on top of Sleepycat's Berkeley DB XML, echoes a theme I've been working with myself for a while. A collection of well-formed weblog entries is, implicitly, an XML database whose contents can be searched and intelligently recombined. I've been toying with a simple file-based solution that creates an XPath search interface to my blog content. Kimbro's approach takes the next step:

Now the really interesting feature of this system is that it's really an XML database Web Service. I exposed an XPath query facility through the URL so that the database can be queried via HTTP GET. [Inspirational Technology]

Kimbro gives this example:

http://www.xmldatabases.org/WK/blog/item//a (all links)

But I can change it to, for example:

http://www.xmldatabases.org/WK/blog/item//table[contains(.,'Annie Lennox')] (tables containing 'Annie Lennox')

Very cool! As Kimbro points out:

The possibilities of this are endless, especially as you add more meaningful markup to your posts.
I just love this idea of incorporating XPath into RESTian URLs. With Kimbro's approach, you get immediate use of the markup you create -- just the kind of incentive that's needed.

 


Recent Entries


















































Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist