Archive

Archive for the ‘Wiki’ Category

寫 Blog 好幫手 TD-Post!

April 25th, 2009

為了方便寫 Blog,寫了個小程式讀 wiki code 產生 WordPress 吃的格式,順便藉機練習 TDD,沒想到寫了十小時才完成。剛好最近在看虎x龍的動畫,就將它命名為TD-Post (Tiger x Dragon Post) 吧。

( Read more… )

fcamel All, Blog, Programming, Python, Testing, Web, Wiki

如何啟動 TWiki Debug 模式

February 5th, 2009

這篇的另一個標題是「TWiki Plugin 讀取和設定 Preference 的方法」,因為要成功地啟動 TWiki Debug 模式,得弄清楚 Preference 設值和讀值的方式才行。

( Read more… )

fcamel All, Web, Wiki

Oh my god, TWiki 分家了!

January 14th, 2009

最近剛架好 TWiki ,學會 WikiForm + Template + Search 的技巧後(見 ChangeRequest 的 source code),覺得 TWiki 實在太威了!正想深入了解 TWiki 架構並加裝新功能時,才發現 TWiki 分家了

( Read more… )

fcamel All, Web, Wiki

MoinMoin、PmWiki和DokuWiki editor比較

July 21st, 2007

整理一下最近用Wiki的心得。MoinMoin的GUI editor超威,特別是table的編輯,還可以按右鍵選table/cell property,包含 text/border/background color,text alignment等設定,而且速度很快,GUI editor和text editor之間的切換也很快。有GUI editor後語法也不用查,先用GUI editor產生後再切到text editor看,很方便 ,基本上除表格外,我都用text editor,自由度較高,比較習慣(個人偏好)。

( Read more… )

fcamel All, Web, Wiki

MoinMoin Wiki心得

July 6th, 2007

簡介

MoinMoin官網

聽老光頭說,在他接觸的open source project裡,用MoinMoin當Wiki的居多,看到Fedora官網做得如此精緻,想來試看看MoinMoin,適合的話可以用來做lab首頁。

( Read more… )

fcamel All, Web, Wiki

PmWiki:顯示最近更新列表

April 23rd, 2007

最近讀了《資訊架構學》,覺得即使是Wiki,也可以構思如何將頁面以更豐富的方式呈現,比方加上最近更新的頁面。

( Read more… )

fcamel All, Web, Wiki

PmWiki Plugin:ShowHide (=Fold)

April 5th, 2007

官網:ShowHide

注意事項

如果裝完ShowHide沒作用的話,大概是用的Theme不標準,參照作者的回答修改pub/skins/THEME/THEME.tmpl,在</body>前加上<!–HTMLFooter–>。

( Read more… )

fcamel All, Web, Wiki

DokuWiki推廣

January 30th, 2007

兩個半月前寫了這篇”Wiki推廣,安裝PmWiki”,近來學Ruby時要貼些表格和example code,發現PmWiki不夠方便,評估了一下,決定改用DokuWiki

( Read more… )

fcamel All, Web, Wiki

Wiki推廣,安裝PmWiki

November 7th, 2006

我第一個試用的Wiki是PmWiki,用起來滿順手的,不知道其它家Wiki如何。PmWiki的特色是小巧實用,它用自訂文字檔當DB存資料,解壓縮就能完成安裝,壓縮就能完成備份,適合個人使用,系統門檻最低。經眾人實測結果,千頁規模的Wiki不會太慢,最新的PmWiki支援utf-8,下面是極速安裝攻略。

( Read more… )

fcamel All, Web, Wiki

PmWiki hack:加入本頁最後更新時間

October 20th, 2006

Goal

在每一頁wiki page上顯示本頁最後更新日期

Solution

我懶得切到history頁面看最後修改日期,又沒外掛可用,只好自己試,作法很簡單

  1. modify local/config.php,add:


    $LastUpdate = "

    last updated at ”
    . @strftime(”%Y/%m/%d”, filectime(”$WorkDir/$pagename”)) . “

    “;

  2. modify template(pub/skins/XXX/XXX.tmpl),add the following code before

    $LastUpdate

  3. modify your CSS(pub/skins/XXX/XXX.css),我是設為靠右占一行空間:


    #last_udpate {
    display: block;
    text-align: right;
    font-weight: bold;
    }

2006-10-23 udpated:strftime()之前補上’@',新增頁面時才不會因找不到檔案輸出錯誤訊息。FALSE = 0 -> 時間顯示1970/01/01,a bad but easy way to fix this.

fcamel All, Web, Wiki