进入coolplayer的后台设置页面:http://xxxx/wp-admin/options- general.php?page=coolplayer/options.php,将“RPC 服务器地址”设置为 http://rocky.blog.kingtch.com/wp-content/plugins/coolplayer/rpc.php 即可。
如果你想使用自己的rpc,可以从这里下载coolplayer- youtube-patch.zip,解压后将rpc.php覆盖原来目录/wp-content/plugins /coolplayer/下的rpc.php文件即可。
Coolcode is a cool plugin which is made by andot. Now it is not compatible with WP 2.6.5. Ifix it, and you can download new version from here.
Windows Live Writer (wlw) is a cool blog tool. But sometimes I got a error message from wlw while my post had an image within. My blog system is WordPress 2.1 running on PHP 5.20. Here is a solution:
Modify from line 138 of wp-includes/class-IXR.php as below:
function parse() {
// first remove the XML declaration
$rx = '/<?xml.*encoding=[\'"](.*?)[\'"].*?>/m';
if (preg_match($rx, $this->message, $m)) {
$encoding = strtoupper($m[1]);
} else {
$encoding = "UTF-8";
}
// $this->message = preg_replace('/<\?xml(.*)?\?'.'>/', '', $this->message);
// if (trim($this->message) == '') {
// return false;
// }
$this->_parser = xml_parser_create($encoding);
Now I succeeded in uploading those magnificent pictures which have special characters in its file name.
1. 升级到2.1之后,发现WYSIWYG编辑器有点问题,段落前的空格总是没有
2. 用windows live writer不能发布嵌入的图片
由于有些歌曲的URL并不以mp3等真实后缀名结束,而后缀名正是目前coolplayer判断媒体类型的唯一依据,故修改了一下coolplayer使得可预先指定文件的媒体类型(后缀名)。
点击下载修改后的coolplayer。
使用方法:
[coolplayer width=”400″ height=”70″ charset=”GBK” autoplay=”false” loop=”true” download=”show”
mediatype=”mp3″]
<a href=”http://211.94.188.97:9000/download.php?filepath=L25ldy9tcDMvMDYwOS8wNS9qYXlfY2hvdV8tX3N0aWxsX2ZhbnRhc3kvMTAubXAz&free=N&username=ROCKY” rel=”nofollow”>
菊花台</a>[/coolplayer]