Fumito Mizuno
ounzi****@gmail*****
2011年 10月 13日 (木) 10:21:44 JST
水野です。 折り返しに対応するようにしました。 $maxlength_array を 1. 自分で指定する 2. 最も長い項目に合わせる(折り返し無) 選べるようにしました。 https://github.com/ounziw/CSV2rst/wiki > 水野さんのコードを使って、HTML ユーザガイドからテーブルの RST を作成するスクリプトを作りました。 > ちょっと Notice が出てますが。 > > https://github.com/codeigniter-jp/html2sphinx/blob/master/get_table.php > > $ php get_table.php ../ci-ja/user_guide_ja/libraries/email.html > PHP Notice: Undefined offset: 3 in /home/kenji/work/codeigniter/repos/github.com/html2sphinx/max_length.php on line 42 > PHP Notice: Undefined offset: 3 in /home/kenji/work/codeigniter/repos/github.com/html2sphinx/makerst.php on line 51 Notice は配列の一部を $array[$i] で指定して取ってくると出るのですが、まずいですかね。 -- Fumito Mizuno Standing on the Shoulder of Linus http://ounziw.com/