Mac OS Xのアウトラインプロセッサ OmniOutliner で保存したOPMLをHTMLに変換するもの。汎用性はない。 opml2html.pl, (c) Jeremy Zawodny -- http://jerermy.zawodny.com/blog/ をいじった。
OmniOutliner には以下のようなHTML出力方法がすでにいくつかあるが、 どれも希望にあわなかったため作成:
use XML::Simple; use Data::Dumper; use HTML::Entities;
って感じなので、必要なものを CPAN なり apt-get なり perl -MCPAN -e shell なりしてインストール
omnioutliner-opml2html < sample.opml > sample.html
元のopml2html.plに沿う:
# opml2html.pl, (c) Jeremy Zawodny -- http://jerermy.zawodny.com/blog/ # # Updated by Michael Radwin (http://www.radwin.org/michael/blog/) # on Dec 26th, 2003 to include image size attributes and link # titles. # # You may distribute this code freely. It's not rocket science.
morimoto@mrmt.net
$Id: index.html,v 1.2 2006-03-25 14:07:16 morimoto Exp $