Subscribe to RSS Subscribe to Comments Blog of Roy Chan

Blog of Roy Chan

blog trackback 功能

有人可能留意到這幾年在 DebianHK 的每個日誌 (blog) 項目中偶然多會多了個 trackback url 的連結,現在又消失了。原因是我正想測試 drupal 的 blog trackback module。但想了一陣子,最終還是決定待更新至 Drupal 4.4.0 才開啟這功能。

如果你不知到什麼叫 blog trackback ,我就在此簡單介紹一下:

blog trackbackMovabletype 提出的功能,目的是當你寫一項 blog 時伺服器會幫你通知另一伺服器你寫了一篇她可能有興趣的 blog 。好像很空汎,實際上 trackback 在 blog 界主要用在以下兩項用途:

遙距回應 (Remote Comments)

當你在人家的 blog 看到篇好文章,想作出詳細回應。如果你寫在對方 blog 站的回應功能上,久了你也可能很難找回你的回應。如果你寫在自己的 blog 站,對方或對方 blog 的讀者就很難知道你有這一篇回應。聰明的人可能立即想到一個辨法就是在自己 blog 站貼完,再把自已 blog 的連結及簡短內容貼在人家 blog 站的回應上。而 trackback 功能就是把以上動作交由 blog 軟件自動進行。

方法是當你看見對方 blog 有個 trackback url 時,抄下這網址 。當你寫 blog 回應該文時,將那網址 填入你 blog 軟件的 trackback url 欄中。 (Movabletype 把以上動作編成 bookmarklet ,令使用者只要看對方 blog 站時按一個 bookmark 就可以跳到自己 movabletype 站的新增 blog 頁並自動填上 trackback url 一欄) 當你張貼你的 blog 後, 你的 blog 軟件自動會發送一個 trackback ping 到對方 blog 的 trackback url 通知對方你張貼了一項回應他 blog 的 blog 。正常情況下,你再回到對方 blog 站,將看到多了篇回應寫有你 blog 的網址及你回應的簡短版。

好像很麻煩和用途不多,但你和對方都鍵立了系統自己明白的連結。當有多幾個人對對方的 blog 互相 trackback ,有些軟件就可以用這些資料繪出整編對話的樹狀圖。

有些 blog 站也提供 auto-discover 功能,讓你寫 blog 時不用理 trackback url 。 blog 軟件自動會檢查你 blog 中所有連結有沒有 trackback 連結。有的話,自動會發送 trackback ping 給對方。

內容收集 (Content Aggregation)

有些所謂 Content Aggregation 站專門收站 (如 Internet Topic Exchange)某些特定題目的 blog ,會提供一些 trackback url 。例如你想對一本書寫份書評,可以到 Book Review Repositery 找找相對種類書籍的 trackback url ,填入自己 blog 軟件。那 Book Review 站就收集你及其他 bloggers 的書評,令其他人查閱都方便得多。有些軟件甚至可以為每個 blog 分類 (category) 設定 trackback url ,當你每次在該分類張站 blog 時,自動幫你通知該內容收集站。

其實 trackback 的功能也不止以上兩項,有人用 trackback 功能將自己電腦正在播放歌曲名貼上自己的 blog 站

現時 Drupal 對 trackback 功能的支援還是很有限,就算我啟動了這功能,大家也不要期望過高。 看看誰人有時間改良有關的 trackback 模組。


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


DebianHK in Planet Gnome

Thanks Jeff for mentioning DebianHK and added links on Planet Gnome.

While Anthony and me are not always in HK, I don’t think I can do the same thing as HKLUG in DebianHK. Besides, I really want to take a rest after leaving HKLUG. As what Anthony stated in the slogan, the first step of DebianHK is to unite Debian user in Hong Kong. I even want to unite the Free Software developers and contributors in Hong Kong which is one of my wish when join HKLUG. Planet DebianHK is the first step while I saw people start to use DebianHK for blogging. We will try our best to provide a better environment of Debian users and Free software contributors. Let feel free to write your suggestion to us. ^_^

  <br />

Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


CD-ROM image mirror offline

I’m sorry that I need to offline many ISO Image mirror in ftp://ftp.hk.debian.org/ while 2 harddisk of my server is crashed yesterday. Sad I had try to move some important mirror to remain harddisks but the space is not enought and I have no time to goto the data center to replace the harddisk. While I’m in HK on weekday, the ISO image will not online in these few weeks. Sorry for any inconvenience.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Ok, what happen to hk.debian.org

Ok, may be somebody will notice that *.hk.debian.org, *.debian.org.hk and *.linux.org.hk had down for over 8 hours yesterday. Coz they are the same server and down due to disk crash. (Actually the disk still fine now but I have no time to wrote a detail report on what happen eactlly)

To bring up the server, I had rush to to the datacenter immediately after I back home from Zhuhai without having meal and pay neally HK$200 taxi fee sad, unhappy to back home while I need to back office earlier today. Sigh…… I really hope that I can ask someone to pay the traffic fee for me.

So, what make the disk crash? And did anything find *.hk.debian.org is terrible slow these few month. (ok, it may never be fast for you) But I really find the oversea network performance dropped unresaonablely these few month. When I stop all anon ftp servers, the speed become fast again. With the help of some network monitoring tools, I found FTP service occupied over 90% of the bandwidth and most downloader are not hong kong people but from Mainland and Taiwan. Many of them occupy several connection. Although we can’t prove the disk crashs (it is not the 1st in Feb 2004) is caused by those ftp hammering. (How could network bandwidth is larger then the harddisk bandwidth), we can concluded that those flashgetter had already occupied most oversea bandwidth of my server and strongly affect it’s normal operation.

I didn’t mean that mainland and taiwan people are not welcome to use my server. But I can’t accept somebody abusing my contribution, taken the chance of others and harm my server. I pay over thousands HKD per month for the internet connections of the server voluntary without asking any reward. I’m not rich. But I always try my best to do anything that can help the Free software community.

Apart from my own toys, the major mission of this server is provide a complete Debian mirror for hong kong people (I had pay much for the harddisk to mirror the whole debian archive). Website for HKLUG and DebianHK are also important. I’m not blaming anyone here but I would like to say I’m taking serious on it and will change the policy soon.

Mainland and taiwan people can still access us but HK will have a higher priority. Flashgetter is never been welcome here and will be block without notices. Some limitation will be applied on non Debian official stuff and CD-ROM image file. All is aimed to keep the major service round smoothly.

If you can share some bandwidth to share the bundles of us (I mean those *noppix ISO image), drop me a mail and I can provide a channel for you.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Blogging with gnome-blog

I finally make the gnome-blog can work with the Blogger API of debian.org.hk. And it make the blogging much easier. If you are using gnome-blog, just choose "Self-Run Other" for Blog Type, "BloggerAPI" for blog protocol, "http://www.debian.org.hk/xmlrpc.php" for XML-RPC URL and then your username & password of debian.org.hk.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


debianhk theme

Created a new theme named debianhk based on Interlaced, can display 3 cols on front page, 2 cols in other pages.

Add a new user role translator who can do the translation jobs for DebianHK.

Finish chapter 8 of LoTR Book I - The Fog of Barrow-downs yesterday night. The hobbits have arrived the Prancing Pony Inn. But I try to go back and read the Prologue.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Default theme of Debian HK

I have install 3 more theme, Interfaced, polder and trip. including those installed by YP, which one you prefer for the base to develope our default theme. And what kind of image you would like that Debian HK give others.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Running Linux 2.4.x in Debian potato

Have I mention? www.debian.org.hk (this machine) is runing Linux 2.4.x. Still potato… (compiled by zzzz) if you want to run Linux 2.4 in Potato, read this:


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Back

Ok, as you see. xychen.org, debian.org.hk is back. Sorry for my buzy (busy and lazy). Thanks, zzzz. Thanks dodphen… thanks…………


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


PHP 4.0.1pl2 for Debian Potato

最近呢部 Server 成日有事,主要因為:

  • 加左 HD, 好多野要拾
  • 大枝野 幫手 …, 本站由 Debian GNU/Linux 2.1 (Slink) 升級左去 2.2 (Potato)
  • 因為發現 Potato 中的 PHP4 係 beta 版 .. 個 Perl 兼容 RE 好鑊.. 索性羅 左 Woody 中既 PHP 4.01pl2 .. compile for Potato..

1pl2 for Potato 有興趣.. 可以係 http://www.debian.org.hk/~voidoo/debian/搵 .. MySQL 2.23 都 compile 左 .. 不過我想 check 好 d 先方上唻 .. apt/dselect 可以係 /etc/apt/source.list 加上:

deb http://www.debian.org.hk/~voidoo/debian potato free non-free

Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


HD added

Our big stick - ypwong have just added a 30G HD to this server. Now Slink is back. Hope that it is enough to support the hugh packages of Debian. Happy enjoy it.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Based on Fluidity© 1998-2007 Roy Hiu-yeung Chan