Tags: html

John Hodgman is using software that I helped to write

Originally published at The Pædantic Programmer. Please leave any comments there.

A recent blog post by The Hodg Man mentions that he uses (AND ENJOYS) a product I’ve helped to build. Yay.

***

FULL DISCLOSURE NUMBER TWO

FAITHFUL READERS OF THIS IMITATION BLOG know that, having crashed my own website repeatedly while linking to it Twitterphonically, I experimented with NEW INTERNET TECHNOLOGY to try to fix this problem.

SPECIFICALLY, my host, LiquidWeb, called and offered their cloud computing solution STORM ON DEMAND. I think this means that instead of being stored on a single regular computer, my whole website is instead stored on dozens of semi-mechanical, murderous black clouds on various uncharted islands.

Cloud Computing at Work

THIS EXPERIMENT WAS SUCCESSFUL. So, in the spirit of full disclosure,

I AM USING STORM ON DEMAND FOR A REDUCED PRICE, and unless it grabs me and pulls me in to the woods to murder me, I will continue to USE AND ENJOY IT.

***

Docbook XHTML generation with tidy, chapter the second

In Chapter the First, we presented a set of commands you could run to install HTML Tidy on your system.

In this chapter, we will present a script that you may run on your Linux or OS X system to install the most recent version of HTML tidy.

You may use subversion, wget, or your favorite browser to retrieve the most recent version of this tidy installer.

I'm writing a perl script using Commands::Guarded to automate what I did in the first article.

You may retrieve the source with wget, so:
$ wget -r http://colliertech.org/svn/genDocbook

Or subversion, so:
$ svn co svn://colliertech.org/genDocbook

You may also get the most recent version of the individual files in the distribution using your favorite browser from here:

http://colliertech.org/svn/genDocbook

Thanks to one Mr. Schwern for helping me get that set up!

Docbook XHTML generation with tidy, chapter the first

So I'm getting the new version of the MaxDB FAQ ready for production. We used Microsoft Word to create the document and manage corrections. And then I exported to HTML. Word did a terrific (note that the root word here is "terror") job of translating to HTML, and Tidy won't touch it unless I fix some issues manually.

So here I go.

Getting most recent build from cvs:

$ cd ~/src/
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tidy login
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tidy co tidy


Building said code:

$ cd tidy/build/gmake
$ make

ld: archive: ../../lib/libtidy.a has no table of contents, add one with ranlib(1) (can't load from it)
make: *** [../../bin/tidy] Error 1

$ ranlib ../../lib/libtidy.a
$ make


Running code:

$ cd ../../bin
$ ./tidy -h
$ open ../htmldoc/faq.html
$ open http://tidy.sourceforge.net/docs/quickref.html


More after I eat some food.