最終更新:2012-06-26 (火) 08:48:28 (4294d)
PukiWiki/自作プラグイン/handsOut
PukiWikiでhandsOutのスライドを表示するプラグイン→サービス終了のお知らせ
<?php // PukiWiki - Yet another WikiWikiWeb clone. // // Inline-handsout plugin by tokkyo function plugin_handsout_convert() { $args = func_get_args(); $url = $args[0]; $slideNo=substr($url,strrpos($url,"/")+1); return <<<EOD <div class="handsout"> <iframe marginwidth='0' marginheight='0' width='478' height='430' src='http://blog.handsout.jp/player/{$slideNo}' frameborder='0'></iframe> </div> EOD; } ?>
例
#handsout(http://handsout.jp/slide/1009)