Categories:
about
books
christian
computers
food
gardening
local
misc
music
photography
spain
twittering
Saturday 15 August 2009

Web Design: Sitemap

New Website / Old Website

A few weeks before I started the final stages of work on the new site, I came across SlickMap CSS. This provided a stylesheet that transforms a nested list — a structured way of presenting the information — into a beautifully rendered graphical layout which makes the information very easy to read. Compare the new sitemap with the one I designed for Lewisham Hospital (still extant at present) and I think there is no doubt that this solution is much better.

Behind the scenes, the sitemap is stored in a simple text file. I use a Python script to read the source file in and to spit out the HTML list embedded in the page. The advantages of this approach are two-fold. Firstly, the text file is easier to read and update than the HTML list. Secondly, I can also use the same file to generate an XML sitelist that is available to Google and other search engines as they keep their records up to date.

It proved to be a relatively complex task to write the Python script but, after some head-scratching and scribbling, I figured out the patterns involved and managed it. I'm glad that I had the flexibility to stretch the time I had originally expected the task to take and acheive the final result.

Want to add something? Please join the conversation about this posting (nb. Yahoo! account required to log into Flickr).

Technorati Tags:
blog comments powered by Disqus

Section Index: Home

This is the hub of the web-den.

Home page
Wulf's blog - musings on diverse subjects
Blog Index
Index of recent blog items
Listening
What's been running past my ears
Further Reading
Blogs I watch
Tagroll
Del.icio.us tags

Back to top