普段、Dreamweaver を使ってWebサイトを作ることが多いのだけども、PHP でいうSmarty だとかPerl でいうTemplateToolkit だの各種動的言語のテンプレート技術と組み合わせて使いたいときに、パスの階層が違うことなどに起因した面倒な問題が起きることがある。 そういうときに予めDWでいうところのサイトルート相対パスでWebページを記述しておけば問題が起きないことが多いので、一からサイトを作るときは大体サイトルート相対パスを選択することが多いのですが、すでに作ってあるものを変換しなくてはいけないときなど、手作業で面倒なので、そういうときのためにDreamweaver 拡張でドキュメント相対パスをサイトルート相対パスへと変換する拡張モジュール、というのを作ってみた。 mxi パッケージ ソース 一応、手元では、そこはかとなく役立っているものの、そもそも、DW 拡張