Archive

XSLT

NB. These comments refer to XSLT 1.0 and may not be applicable to the recently ratified XSLT 2.0 languages.

XSL (The Extensible Stylesheet Language) is a W3C recommendation for a formatting language for converting XML documents from one format to another. This is useful in a variety of software applications, but is particularly useful on the web. (Strictly speaking XSL refers to everything, including the process, and XSLT refers to the language).

By separating the underlying content from the presentational code, you can arrange that a much smaller amount of data is transferred for each [continued…]

Photo Stitchers

http://www.hants.lug.org.uk/images/flav.sized.jpg

One of the advantages of using a digital camera is the ability to manipulate images on a computer without messing around with scanners and negatives. Many digital cameras have modes to help take many individual photos that can be digitally joined later to create a larger composite. (You don't need a camera with such a mode to take photos for stitching – any sequence of photographs with at least 33% overlapping material will do!) Some digital cameras come supplied with software (usually for Windows) that can stitch images together but the Linux solutions are still [continued…]

Exim SMTP Auth

Configuring Exim for SMTP AUTH using PAM

Software used

The following was written for exim4 on Debian Sarge, although the principles should apply to other Linux distributions. You must install exim4-daemon-heavy, which supports PAM, rather than exim4-daemon-light (which is installed by default). Testing was performed using Mozilla Thunderbird on an Ubuntu Dapper client.

Exim configuration

Exim can be configured from a single config file (/etc/exim4/exim4.conf.template), or a series of smaller files within a directory structure (/etc/exim4/conf.d/). Check for the following line in /etc/exim4/update-exim4.conf.conf:

 dc_use_split_config='true'

If [continued…]