↑日記で日々積み重ねた情報をトップの「わんこのページ」にまとめています。

おのたく日記 [RDF] YouTubeも始めました→


2009-04-20(Mon) MT4でPodcast出来るようした [長年日記]

[Podcast][MovableType]MT4でPodcast出来るようした

昨日で、結構MT4への移行は終わったつもりでいたけど、ポッドキャスト用のフィードが出ていないことに気がついた。

MT4ではatomが本流と言うことで、atomにも対応している「MovableType用EasyPodcasting Plugin Ver.0.60」を使ってみることにした。

インストールは

$ cd /usr/local/movabletype

$ mkdir EasyPodcasting

$ cd EasyPodcasting

$ tar xvfz /tmp/EasyPodcasting.tar.gz

# cd /usr/share/movabletype/plugins

# ln -s /usr/local/movabletype/EasyPodcasting/plugins/* .

# cd ../static/plugins

# ln -s /usr/local/movabletype/EasyPodcasting/mt-static/plugins/EasyPodcasting .

プラグインとして認識されたみたいなので、早速テンプレート「RSS 2.0 Index」に中に入れてみる

<MTEntries lastn="500">

<item>

<title><$MTEntryTitle remove_html="1" encode_xml="1"$></title>

<link><$MTEntryLink encode_xml="1"$></link>

<description><$MTEntryExcerpt remove_html="1" encode_xml="1"$></description>

<guid isPermaLink="false"><$MTEntryID$>@<$MTBlogURL$></guid>

<dc:subject><$MTEntryCategory remove_html="1" encode_xml="1"$></dc:subject>

<dc:date><$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></dc:date>

<$MTEasyPodcasting$>

</item>

</MTEntries>

しかし、

テンプレート「RSS 2.0 Index」の再構築中にエラーが発生しました: <mtEntries>タグでエラーがありました: <mtEasyPodcasting>タグでエラーがありました: You used an <MTEasyPodcasting> tag outside of the context of an entry

となって、だめ… 確かにブログのプラグインにはEasyPostcastingが出ていないけど…

ってことで、「2005-11-05(Sat) MovableTypeでプラグインを使ってビデオキャスティング」の時に使っていた。「MT-Enclosures: A Movable Type Plugin」でトライしてみることにする。最新版の2005-12-14 1.4.5.0でもドキュメントには、「This plugin works with Movable Type version 2.x and 3.x.」と書いてあるので、MT4ではダメかと思っていたけど、とりあえず入れてみたら動いた(^_^)v

ということで、まだPodcast用のフィードはRSS 2.0にしてEnclosures.pl 1.4.5.0を使うことにした。

本日のPingbacks(全0件)

Google Web検索 on-o.com内を検索