Rants and Ruminations 3 of 3 articles InfoSyndicate: full/short
Website2Go first stories implemented   24 Mar 05
[print link all ]
Monday afternoon, I finished the first round of stories for website2go. It could add a header, with a title based on a subversion property, and a footer to pages. Working with ruby, the first few stories were a matter of a few hours. I had to install some libraries, which is fairly easy as most of them are available as debain packages. Using
apt-cache search
these are fairly easy to find.

Once the first page worked in a test directory, I wondered how to convert my old site to the new. I did not want to destroy my existing site, but do a piecemeal transition. That's a case of eating my own dogfood - when moving to a new content management system, I advocate changing over one part of an existing site at a time.

Making sure the pages still looked the same was a bit painful though. I didn't start the next story on the list put pages through html tidyyet. With this story, only pages conforming to html specification can be generated.

Maybe I should have - preventing errors downstream, before pages go public would have saved me time. Now I had the homepage and other pages close to it done well, only I didn't remove enough of the table layout from the new partial pages (remember, previously every page contained all html, now part of it comes from website2go). So, some pages missed table cells, or had one too many, so their layout was out of whack. The html tidy story could have prevented this.

Manually converting the pages was not so pleasant work, but there weren't that many either, and I only have to do it once. I'll write more on making the tidy story later, as that proved a bit more difficult than I hoped it would be.

Website2go and Wiki2go   22 Mar 05
[print link all ]
I got a reaction from Pascal van Cauwenberghe, author of wiki2go on my entry on website2go. He wondered if and what features of website2go would be useful for wiki2go. Let me tell you, that the naming of website2go is not accidental :-). From wiki2go, I liked the 2go aspect the most. 2go meaning you can take the wiki anywhere on your laptop, and merge updates once you get back online.

Subversion support is planned for wiki2go, and I hope to feed what I learn from making website2go in to wiki2go. Pascal told me the next version of wiki2go will have support for multiple layouts in one site, as well as plugins and ruby code within pages, so both layout and content generation are very flexible. A few differences to what I need for my site and sites like it remain, I guess we'll have to see how we could fit it in wiki2go:

  • the site works as static html only (so no need to run a cgi or webrick server)
  • the site has a hierarchical nature
  • easy to mix html pages with other content (e.g. images and pdf files), and keep the html together with the other files.
  • recently published (instead of recent changes - if I spellcheck a page or fix a link, I do not necessarily want the rss feed updated)
So far, I see website2go as a small experiment to make it easier to maintain my website, as well as to experiment with subversion as the basis for a wiki or a nimble content management system. Managing versions is difficult enough to warrant some set based development - we need multiple perspectives to understand issues of versioning, publishing and showing changes.

In a previous life, while developing the i-tor content management system, we got a serious headache from trying to build-in our own flavour of version management. Eventually, versioning didn't make it. After a disaster, where a colleague accidentally deleted a lot of my writing, and we were unable to recover it, I'm absolutely convinced versioning is a must, even if it is to only provide a linear undo. I'm not in the habit of losing data, and I'm not going to adopt it :-)

Website2Go   21 Mar 05
[print link all ]
I'm starting a nimble project to generate the pages for willemvandende.com, which is currently a small flyer-like website, intended to give an indication of my company's services. I decided to do the site by hand until it would start to be to unwieldy to do everything by hand.

Since I wanted to change the layout, and it has gotten a bit annoying to do that by hand, I decided to create a simple script, called website2go that would enable me to continue creating the site as I have so far, with the added benefit of automatic page generation

So far, I've maintained my website as individual html pages, edited with a text editor. Some of the reasons for this, I've documented some of my experiences and wishes before. What it boils down to right now is:

  • header, footle and page title of my site are to be automatically generated
  • With the remainder of the page, I want to be able to have a flexible layout
  • the remainder of the page contains mostly basic html, so I want to edit html directly
  • I want links to other websites automatically generated from a list of favourite sites, like I do for my weblog
  • as I'm automating stuff anyway, I'd like to add an RSS feed to the site as well
  • a way to easily incorporate script-generated content
  • the ability to easily undo changes
  • being able to easily use existing tools such as text-editors, scripts, version control system and html validators
  • The ability to easily add metadata as time goes by

Where it goes from there, I'll see. Some of my friends are having the same problems as I have, so this might evolve into a simple solution to maintain one person consultancy-firm websites. The system will depend heavily on other open source stuff like Ruby and Subversion, so if there is interest from others, I might open source it. I just noticed a blog entry by Martin Fowler, open source research that captures some of the spirit in which website2go is developed

a fair number of them are taking an idea and programming around it to see where it goes and whether it has value. That's a notion that sounds strange if you believe that design and programming are separated, but makes a lot of sense if you accept that they are tied together [....] A successful R&D isn't measured by what proportion of their ideas turn into products, but rather by how many great products they generate and how great they are. Someone who starts three projects and turns them all into mediocre products isn't as good as someone who starts a dozen projects and turns only one of them into a killer app.

I wrote the first screen of code today, and hope to keep notes on the development in the new category Nimble Programming.

Copyright © 2008 Willem van den Ende