« Transmetaリストラ案発表 | メイン | ヤフードーム »
2005年01月25日
[ blog ]
MTBlogTimes
Blogの今月の更新時刻を数直線上に表したpngファイルを生成するMTBlogTimesを導入してみた。
如何に生活リズムが乱れているかということが一目瞭然になってしまうな。
以下導入メモ。
公式サイトからmtblogtimes-1.0.tar.gzをダウンロードして展開。blogtimes.plをMTをインストールしたディレクトリのpluginディレクトリに入れておく。パーミッションは644あたりで。
GD本体だけだとperlモジュールの構築に失敗したので、yumでGD周りのrpmを全てインストール。(gd-debuginfoとgd-progsのどちらかは要らないのかもしれないがまとめて入れてしまったので不明)
$ sudo yum install gd-devel gd-debuginfo gd-progs
CPANでGDのperlモジュールを構築しつつ導入。
$ sudo perl -MCPAN -e shell > install GD (中略) > exit
MovableTypeのMain Indexテンプレートの適当な場所に下記のタグを記述。
<MTBlogTimes fillcolor="#666666" textcolor="#666666" linecolor="#ffffff" bordercolor="#666666" width="160" height="20" save_dir="images" show_text="on" > <a href="http://nilesh.org/mt/blogtimes/"> <img src="<$MTBlogTimesFileURL$>" width="<$MTBlogTimesWidth$>" height="<$MTBlogTimesHeight$>" border="0" alt="B L O G T I M E S" title="B L O G T I M E S" /> </a> </MTBlogTimes>
Main Indexの再構築をして完成。
ISP等のブログサービスだとGDのperlモジュール導入に関してバージョンの統一など厄介なようだが、自宅サーバーならyumで一発で導入できるのが楽だな。
投稿者 散財人 : 2005年01月25日 18:59
Google Search Result
-
MTBlogTimes : Movable Type : Nilesh.org : When you rebuild a page containing <MTBlogTimes> tag, an image is generated and
stored on your server. You can link the image on the page or somewhere else. ... -
MTBlogTimes : Nilesh's Weblog : MTBlogTimes creates a chart which plots the time of your posts(in a specified
period) on a bar of the 24 hours of the day. I haven't found any apparent ... -
MTBlogTimes - A Geek in Beantown : MTBlogTimes. By Lisa on January 29, 2003 9:34 PM | techie stuff | Permalink ...
Oh, the archive page was done using MTOtherBlog and MTBlogTimes together. ...
Trackback Pings
このエントリーのトラックバックURL:
http://www.sanzai.net/mt-tb.cgi/333