網頁上顯示自己的 MSN/ICQ/AIM.. 狀態

這主要是看到 Dokuwiki Pluging - imstatus 所開始瞭解的設定與原理,
不過實際安裝後發現很多的 User 狀態無法正確顯示,可能和 IM Server 的通訊協定有關。

提供主要的系統元件網站 Online Status Indicator 已經恢復運作!
現在已可正確下載到 status.jar蔡宗融 2008/09/17 16:25

相關網站

架設 IM status 方式

  • 只需下載 status.jar 來執行就可以 1)
  • 因為系統環境問題以下安裝是採下圖所示的架構:

concept

  • Web Server 的設定: 只要是網址 /imstatus/ 就轉到本機的 Port 9999 ← status.jar Listen Port

vi /etc/httpd/conf.d/proxy_ajp.conf

LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
ProxyPass /imstatus http://127.0.0.1:9999
  • 下載並建立 imstatus 目錄

執行過程

mkdir /opt/imstatus
cd /opt/imstatus
wget http://www.onlinestatus.org/files/status.jar
java -jar status.jar <- 第一次設定會開啟 XWin 設定畫面來產生設定參數檔

看設定後的 status.conf

#Auto-generated config file, read readme.txt before editing!
#Mon Jan 14 00:38:16 GMT+08:00 2008
name=Jonathan IM status
jabbercount=0
port=9999
aimcount=0
msnpwd=xxx@xxx
msnusr=xxx@xxx.xxx
skypecount=0
version=6.1
msncount=5
email=tryweb@ichiayi.com
icqcount=6
trilliancount=0
link=http\://mail.ichiayi.com/imstatus/
yahoocount=0
irccount=0
message=msn jtsai@ichiayi.com
hostname=192.168.11.250
  • 之後的運作處理:
    • 啟動語法 :
      java -jar status.jar &

    • 關閉語法 :

      java -jar status.jar stop

    • 在啟動後,輸入原本啟動的語法,就會出現 XWin 的參數設定視窗..

範例

ICQ 917778 ICQ Online Status Indicator MSN jonathan@ichiayi.com MSN Online Status Indicator MSN jtsai@ichiayi.com MSN Online Status Indicator
1) 當然需要 java JVM 來執行
 
回到頁頂
tech/onlinestatus.txt · 上一次變更: 2008/09/17 16:25 來自 jonathan
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0