由於之前都在作其他計畫的內容,
所以專題進度稍微停止。
而本週的進度在於修改報告與構想個人化的架構,
目前個人化的部份是暫定使用者於註冊時提供三個喜好分類選項,
而在登入時檢查喜好分類並利用跳出視窗提示,
這部份完成後再考慮e-mail或簡訊自動提醒。
2009年9月19日 星期六
2009年7月25日 星期六
GOOGLE圖表問題
由於一開始圖表中的中文一直都出不來,
我原本以為是資料庫與網頁編碼設成BIG5的問題,
花了一兩天改成測試UTF-8還是無法正常顯示,
後來我開了範例網頁發現範例也無法顯示中文,
上網查了以後才發現要轉成ASCII(像是%0D%0A)格式,
但是這部份要改起來很花時間,
所以到最後我決定使用跟QRCODE一樣的模式,
利用表單GET方法來抓取數值,
跳出視窗來顯示圖表,
以下是GET方法的詳細內容:
<'form action="http://chart.apis.google.com/chart" name="form1" method="get" target="_blank">
<'input type="hidden" size="200x200" maxlengh="8" name="chs" value="600x300"/>
<'input type="hidden" size="200x200" maxlengh="8" name="cht" value="p"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chd" value="t:<%out.print(male);%>,<%out.print(female);%>,<%out.print(other);%>"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chco" value="ff00ff"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chts" value="0000ff,24"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chtt" value="性別"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chxt" value="x,y,r,t"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chxl" value="0:男:(<%out.print(male);%>)女(<%out.print(female);%>)未知(<%out.print(other);%>)"/>
<'input value="性別" type="submit"/>
<'/form>
我原本以為是資料庫與網頁編碼設成BIG5的問題,
花了一兩天改成測試UTF-8還是無法正常顯示,
後來我開了範例網頁發現範例也無法顯示中文,
上網查了以後才發現要轉成ASCII(像是%0D%0A)格式,
但是這部份要改起來很花時間,
所以到最後我決定使用跟QRCODE一樣的模式,
利用表單GET方法來抓取數值,
跳出視窗來顯示圖表,
以下是GET方法的詳細內容:
<'form action="http://chart.apis.google.com/chart" name="form1" method="get" target="_blank">
<'input type="hidden" size="200x200" maxlengh="8" name="chs" value="600x300"/>
<'input type="hidden" size="200x200" maxlengh="8" name="cht" value="p"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chd" value="t:<%out.print(male);%>,<%out.print(female);%>,<%out.print(other);%>"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chco" value="ff00ff"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chts" value="0000ff,24"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chtt" value="性別"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chxt" value="x,y,r,t"/>
<'input type="hidden" size="200x200" maxlengh="8" name="chxl" value="0:男:(<%out.print(male);%>)女(<%out.print(female);%>)未知(<%out.print(other);%>)"/>
<'input value="性別" type="submit"/>
<'/form>
2009年7月16日 星期四
本週進度
由於上週實驗室電腦電源燒毀,
而且忙於其他計畫的提案構想,
所以進度暫時停止。
而本週預計開始看Google chart的相關資料,
並想辦法加進去專題裡。
不過因為實驗室電腦這兩天才修好,
還要把其他計畫的基本環境架起來,
所以進度可能還會稍微延遲一下。
而且忙於其他計畫的提案構想,
所以進度暫時停止。
而本週預計開始看Google chart的相關資料,
並想辦法加進去專題裡。
不過因為實驗室電腦這兩天才修好,
還要把其他計畫的基本環境架起來,
所以進度可能還會稍微延遲一下。
2009年6月17日 星期三
2009年6月9日 星期二
ZIGBEE設備安裝
ZIGBEE設備安裝部分我已經將IP-3200和IP-2220和三角定位程式安裝完成並放上WIKI(還有另一台ZIGBEE設備因為只要插上電源即可動作所以就沒有寫上去),
但由於PDA還沒回實驗室所以沒有將廠商給的偵測TAG範例裝起來。
但由於PDA還沒回實驗室所以沒有將廠商給的偵測TAG範例裝起來。
訂閱:
文章 (Atom)