Cd Chen's Services

ba ba ba la~~

WordPress

XMLRPC 與 PHP 5.2.2

唉,Fedora 7 真是難搞。剛處理完 sasl2 的問題後,又發現了 XMLRPC 與 F7 中內建的 php-5.2.2 彼此間不願意相親相愛的問題。

之所以會發現這個問題,是因為剛剛發佈 "Fedora 7 的 sasl2 錯誤訊息" 這篇文章,是利用 ecto 來貼的。但貼文章時,ecto 卻跟我抱怨:

無法分析 "metaWeblog.newPost" 的回應。請檢查監視記錄以取得更多資訊。

雖然說還是可以選擇利用 WordPress 的後台直接貼新文章 (會不會有問題,我倒是沒有測試過),但我還是希望不要浪費花了一些 $$ 買來的 ecto

KBlogWriter 1.0 Features

KBlogWriter 是我無聊時用來打發時間,並且訓練腦筋的一個小玩意。KBlogWriter 的主要功能,係作為 KDE 環境中一個編輯部落格文章的編輯器,其功能類似 ecto 這個著名的 Blog Editor 工具。

我是在我的小銀 (PowerBook G4) 與家中的 Fedora Core 4KDE 環境開發這個小東西。

我希望在 KBlogWriter 1.0 版時,能夠提供下列的功能:

WordPress 2.0.1 Release

今天起床,才看到 GSLin 在他的部落格中發表 "WordPress 2.0.1" 的新聞,隔不到十分鐘,candyz 大大也說了 "WordPress 2.0.1 Release"。WordPress 的動作真快!!

以下是來自 WordPress 官方的正式發佈公告。

WordPress Development Blog › 2.0.1 Release

It’s been exactly one month since we released the well-received WordPress 2.0 release. In the past 4 weeks we’ve been listening closely to feedback, squashing bugs wherever we find them, and watching how 2.0 handled under different loads.
We’ve rolled up all the most important fixes into a 2.0.1 release, which is now available for download.

All in all we’ve closed 114 bugs in the 2.0.1 release, which you’re welcome to check out if you’re curious about every fix. To summarize:

  • You can now specify an upload directory, and whether to use date-based storage or not.
  • Caching has been fixed under certain PHP enviroments.
  • Permalinks have been fixed for weird enviroments as well.
  • XML-RPC uploading works.
  • Compatibility with older versions of PHP.
  • Several WYSIWYG fixes and cleanups.
  • Imports now use much less memory.
  • Now works with MySQL 5.0 in strict mode.

Happy blogging!

出處:WordPress.org Development Blog

PHP Blogger API « Projects « Dented Reality

這個 "PHP Blogger API « Projects « Dented Reality" 文章中,介紹了 Blogger 這個著名的部落格系統的 API,而旁邊的連結中,提供了幾個著名的 XMLRPC API 連結。這篇文章對於開發 KBlogWriter 系統極具參考價值,所以收錄起來。

出處:PHP Blogger API

讓 WordPress 自動將連結開啟在新的視窗

最簡單的方法,在 Theme 的 header.php 中的 <head></head> 間,加入:

<base target="_blank">

這樣就可以了。

*Update(2006/01/10 19:41):經過實驗,發現這樣的方法雖然簡單,但卻會造成新視窗到處飛。所以,還是找找看其他的解決方法吧。

Editing WordPress “Pages” Via XML-RPC « MaisonBisson.com

剛剛看到這篇文章,等一下再來實作吧。 :)

Editing WordPress “Pages” Via XML-RPC « MaisonBisson.com:

WordPress’s Pages open the door to using WP as a content management system. Unfortunately, Pages can’t be edited via XML-RPC blogging apps like Ecto. This might be a good thing, but I’m foolhardy enough to try working around it.

出處:http://maisonbisson.com/blog/post/10834/

WordPress 2.0 strip some tag

最近把我的部落格升級到 WordPress 2.0 後,發現 WordPress 2 會自動刪除文章中的 target 這個 tag。本來以為是我的 ecto 搞鬼,後來找到 ecto 的論壇上也有人有類似的狀況,查了一下才知道是 WordPress 2 搞的鬼。於是我參考 ecto 提供的方法,略作修改便解決了這個問題。

我的解決方法如下:

  • 在 WordPress 的後端管理介面中,Options->Miscellaneous,選擇 "Use legacy my-hacks.php file support"。
  • 在 WP_ROOT_DIR/ 中建立一個 my-hacks.php 檔案。
  • 然後把 wp-includes/kses.php 的 $allowedposttags 以及 $allowedtags 複製到 my-hacks.php 中。
  • 修改 my-hacks.php 中的 $allowedposttags$allowedtags 兩個變數,將允許使用的 tag 加入這兩個變數中。
  • 完成。

如果您有遇到類似的狀況,可以試試看我的解決方法。

今天更換了 K2 Theme!!

為了迎接新的一年,我決定更換我的部落格系統的 Theme。試過幾種方案後,最後選擇 gslin 大大使用的 K2,希望您會喜歡。

WordPress 2.0 出版!

來自 gslin 大大的報導,可能是最多人使用的 Blog 系統 -- WordPress,已經發佈了 2.0 版了!!

可惜今天白天要上課,晚上回家後,再來考慮要不要更新當白老鼠。 :)

WordPress 2.0 出版!:

ryan 剛剛在 WordPress Repository 上 tag 了:Changeset 3363。而 Matt 也正在幫 換機器:

出處:http://blog.gslin.org

Technorati Tags:

cdchen’s Blog

今天收到了來自 WordPress.com 的邀請函:cdchen’s Blog,嘿嘿,終於有自己的 WordPress.com 帳號了!!

You are here