• Home
  • About
  • Articles and Presentations
  • Contact Me
  • Upcoming Presentations

Library Web Chic

Resources for librarians who are interested in the application of web design and technologies in libraries

Feed on
Posts
Comments

RSS of User's Checked out Items

Oct 11th, 2004 by Karen

RSS of User's Checked out Items

After several hours of work this week I got an RSS feed of checked out
books for a user created. It took quite a bit of playing but it is
working quite well now. The difficult part wasn't writing an XSL to
transform the XML I received from my catalog but rather sending the
catalog the proper instructions to send back the XML of a user's
checked out books.

Now
I am working on getting a search page which uses the XML server for our
catalog working. I have most of the code written but need to do some
more testing to before I am ready to go live. It is amazing how many
different applications there are for XML in today's libraries! Each day
I am learning a little bit more. Below is a snippet of code in ASP
which will gather XML from another server and transform it. You can
also get XML from another server and manipulate it with the DOM (which I will talk about in another post).

Dim xmlhttp
Set xmlhttp = Server.CreateObject(”Microsoft.XMLHTTP”)
xmlhttp.Open “POST”, http://www.librarywebchic.net/rss.xml, false
xmlhttp.Send
set xslt =  Server.CreateObject(”MSXML2.XSLTemplate.4.0″)
set xslDoc = Server.CreateObject(”Msxml2.FreeThreadedDOMDocument.4.0″)
set xmlDoc = Server.CreateObject(”Msxml2.DOMDocument.4.0″)
Dim xslProc
xslDoc.async = false
xslDoc.resolveExternals = false
xslDocName = “lstuff.xsl.xsl”
xslDoc.load (Server.MapPath(xslDocName))
xslDoc.validateOnParse = False
set xslt.stylesheet = xslDoc
xmlDoc.async = false
xmlDoc.resolveExternals = false
xmlDoc.loadxml (xmlhttp.ResponseText)
set xslProc = xslt.createProcessor()
xslProc.input = xmlDoc
xslProc.transform()

response.write xslProc.output

set xmlhttp = nothing
set xslt = nothing
set xslDoc = nothing
set xmlDoc = nothing
set xslProc = nothing

I'm pretty happy with what I have developed thus far.
I'll post a more complete demo later this week using a test account on
our development server.

Posted in BLeading Edge Thoughts, RSS | No Comments

Comments are closed.

  • Recent Posts

    • Wordpress as a Content Management System
    • Serendipity
    • What I like best about my job
    • Building an Open WorldCat app for the iPhone
    • Interview at LibGig
    • Each one teach one
  • Categories

    • AJAX (1)
    • BLeading Edge Thoughts (4)
    • Blogging (23)
    • Chat (3)
    • Coldfusion (2)
    • CSS (14)
    • Digital Libraries (3)
    • Findability (2)
    • General Thoughts (417)
    • Library Systems (16)
    • Linux (3)
    • LITA Top Tech Trends (1)
    • Mac (5)
    • Nifty Tools (6)
    • Notes from the Field (105)
    • Ongoing Projects (7)
    • open source software (6)
    • OpenURL (8)
    • Podcasting (1)
    • Presentations (1)
    • RSS (32)
    • Social Software (5)
    • Tech Configuration Tidbits (1)
    • Tech Demons (11)
    • Usability (11)
    • Web 2.0 (5)
    • Web Services (3)
    • Web Standards (1)
    • Wikis (7)
    • XHTML (3)
    • XML (19)
  • Archives

    • 2008
      • September
      • August
      • July
      • June
      • May
      • April
      • March
      • February
      • January
    • + 2007
      • December
      • November
      • October
      • September
      • August
      • July
      • June
      • May
      • April
      • March
      • February
      • January
    • + 2006
      • December
      • November
      • October
      • September
      • August
      • July
      • June
      • May
      • April
      • March
      • February
      • January
    • + 2005
      • December
      • November
      • October
      • September
      • August
      • July
      • June
      • May
      • April
      • March
      • February
      • January
    • + 2004
      • December
      • November
      • October
      • September
      • August
      • July
      • June
      • May
      • April
      • March
  • Pages

    • About
      • CV
    • Articles and Presentations
      • AJAX Presentation
      • Incorporating Web 2.0 into Library Websites
      • Library 2.0 and Web 2.0, Changing the Face of Professional Development
      • Next Stop Blogging
      • Observing and Analysing Library Website User Behavior (CIL 2006 Postconference)
      • Open Source Software for Library Websites Presentation
      • Social Software for Reference Services Presentation
      • TLA 2006 Presentation
      • Upcoming Presentations
      • Using Blogs for Internal Communications
      • WorldCat Wordpress Widget
    • Contact Me
    • Stories - Tutorials and Code Demonstrations
      • Feedburner
      • Incorporating XML Content Into Your Web site (ASP)
      • Making your blog friendly to mobile devices
      • Print Style sheets
      • Server-side and Client-side includes, explanations, applications, and examples
      • Web Server Log Analysis Tools and Tips
      • Wordpress and Tags
    • Tag Cloud
  • Meta

    • Log in
    • Valid XHTML
    • Powered by Wordpress
    • Get Firefox!
    • I See Blog People
    • AIM Status
  • Creative Commons License

    MistyLook made free by Web Hosting Bluebook