芳鄰成長園

2011/12/19

Lab 39 製作一個報名網站

社團,學校,公司舉辦各種活動,少不了一個報名網站。利用
免費的Google 文件加上Google 部落格,就可以製作一個乾淨
俐落的報名網站。

請參考以下範例,製作一個報名網站。
http://eecscycu.blogspot.com/2010/12/99.html

Lab 38 Syndication with RSS 2.0



1. 進入你的部落格,登入,選擇設計
2. 新增小工具
3. 選取
資訊提供 新增
將 RSS 或 Atom 資訊提供的內容加入您的網誌。
Blogger 製作

4. 撰寫或貼上所需連結(範例)

Lab 37 匯出部落格

1. 將你的部落格匯出為 XML,請使用blogspot 已經提供的匯出工具
2. 在blogspot 新建一個空白部落格。
3. 將剛才匯出部落格匯入到新的部落格
4. 檢查匯出情況,是否有出現異常,資料遺失或被變更?

Lab 36 XML (2)

1. Register and Download Xray, an XML, XSLT editor and processor.

2. Given the
Listing 1. An XML document representing the results of a soccer tournament
Listing 2. A basic style sheet for the soccer results

use the XSLT as in the Listing 2 to transform the XML file as in the Listing 1.
(archive)

3. View the formatted HTML file.
4. Given the
Listing 1. An XML document representing the results of a soccer tournament
Listing 3. A style sheet that computes team standings


compute the team standings in a table.

5. View the formatted HTML file.

Lab 35 XML

1. Register and Download  Xray , an XML, XSLT editor and processor. (安裝X-Ray需要權限)


2. Before you do this lab,all the first you must know is
what is XML?
what is XSLT?
please write down your answer.

3. Given the the  XML file and  XSLT file ,
use Xray to do the transformation of the XML into HTML.
You have to replace [ with <.

4. View the formatted HTML file.

2011/12/05

Lab 34 Programming in DOM

1. Open KompoZer
2. Based on the code as in
http://www.scottandrew.com/weblog/articles/dom_4 ,
write a code to generate the table of 9*9 products. (九九乘法表)

Hint: The javascript code should be enclosed by script tags.

Lab 33 Create Image using DOM

1. Open KompoZer
2. Hand code a javascript that loads an image from Internet based on
the DOM model.
3. Take a look at the sample code that shows how window.onload to load the image.
4. Use a button to load the image. Try how onclick works.

Lab 32 Hand code a form

Before you do this lab, you must understand what is CGI(Common Gateway Interface) and Form.

1. So please search the answer and post your opinion in your blog.

通用網關介面(Common Gateway Interface/CGI)是一種重要的網際網路技術,可以讓一個客戶端,從網頁瀏覽器向執行在 Web 伺服器 上的程序,請求數據。CGI 描述了客戶端和這個程序之間傳輸數據的一種標準。

2. Hand code a HTML or use KompoZer to edit an HTML so that the webpage can send a request to Google like
http://maps.google.com/maps?q=24.9586,+121.24114

Use Form CGI that includes action, input, and submit.
Try a few different coordinates.




Lab 31 Lab Form and Action

Dynamic pages, content generated by server-side programs.
CGI, Common Gateway Interface, for sending requests to server-side programs.


static page
Ex:
http://www.google.com/

dynamic page
Ex:
http://www.cna.com.tw/

URL that sends a request by CGI
Ex:
http://maps.google.com/maps?q=24.9586,+121.2411
"logic will get you from A to B - imagination will take you anywhere"

How to use Form to invoke a remote service through CGI.

1. Copy the search box of this search page,
inlcuding radio buttons, text input, and submit button.
2. Open your KompoZer HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.

5. Use KompoZer to add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.

6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get"
(See Hint if it does not work.)
7. Save your file on your computer. Run your HTML by Firefox. What do you get?

8. Set method as "post"
9. Run your HTML by Firefox. What do you get?






2011/11/28

Lab 29 Mash-up 3 (Blogs)

部落格與相本的結合運用。透過部落格分享你的照片集,省去傳送大量照片的缺點,自由書寫照片中的故事。

Create a slide show of your album. Embed the album in your blog.

Hint: 挪威奧斯陸之行
album

Lab 30 Mash-Up 4 (Calendars)

建立你的行事曆,並與學校行事曆合併

Google日曆-中原大學服務學習活動行事曆-html版本
進入後按右下角+Google日曆即可訂閱



Lab 28 Mash-up 2 (Maps)

真實案例
96年度全人關懷獎 -崔媽媽科技服務工作團隊


For housing services, compare the following two websites
http://www.housingmaps.com

http://yungching.housefun.com.tw/

List the differences in the user interface design and usability. Make comments
by your use experiences.

比較: 美感,直覺性,流暢,預期反應

美感:
HousingMaps 顏色單調,較無趣
永慶房屋 顏色豐富,較有美感

直覺性:
HousingMaps 較細緻的街道圖
永慶房屋 台灣的縣市鄉鎮大圖示

流暢:
HousingMaps 範圍較大,地圖標示跑得比較慢
永慶房屋 彈跳視窗,也要等待顯示

預期反應:
HousingMaps 分類簡單比較好下手
永慶房屋 內容較複雜,較細緻

Lab 27 Mash-up 1 (Publish)

1. Upload a sample ppt  to Google Docs.
2. Publish the uploaded ppt.
3. Embed the online ppt to your blog.

The reason to do so is that the readers don't have to have ppt to view your presentation. For example, some users work with Linux or Unix, and others work with MacOS. They will appreciate you for doing so.

範例:
如何活用 Gmail 工作坊

2011/11/21

Lab 26 navigation bar


1. 進入你的部落格,登入,選擇設計
2. 新增小工具
3. 選取
HTML/JavaScript
4. 撰寫或貼上所需連結(範例)

Lab 25 Making images accessible

1. Study what an ALT tag is.
2. Use KompoZer to edit the following homepage
at http://bloggercamp.blogspot.com/2007/01/2007.html


You can copy and paste the content to your KompoZer.

3. Save your editings and preview your webpage using Firefox

4. Make the webpage accessible by
adding ALT text to the images.

5. Go to the Firefox Add-ons site for Firefox Accessibility Extension


6. Click the "Install now" button on the add-ons website


7. Check whether you can see the ALT text for the images by selecting the "Show Text Equivalent" function.

2011/11/07

Lab 24 Firefox Accessibility Extension

Use Firefox Accessibility Extension to check the accessibility of three sites that you visit most.
Report the summary of all the errors and warnings for each site.

Reference:
http://dia.z6i.org/ (中文) 在 30 天內打造更具親和力的網站



Lab 23 Making web pages accessible

1. Use Firefox Accessibility Extension to identify the accessibility failures and warnings in http://google.com
2. Fix the failures you found.

Reference:
http://dia.z6i.org/ (中文) 在 30 天內打造更具親和力的網站






































Lab 22 More on HTML

Headings
1. Copy and paste the Headings example at http://www.w3schools.com/html/html_primary.asp

2. Enter http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic

3. What kind of effects can you see?

Lists
4. Copy and paste the Headings example at http://www.w3schools.com/html/html_lists.asp
5. Enter http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic
6. What kind of effects can you see?




















區別標題的字體大小(H1最大,H6最小)






















條列式排列

Lab 21 HTML

HTML

Tutorial

Accessibility

What is web accessibility?
Accessible search engine
Use accesskeys


Preparation

1. Using Microsoft Notepad, Copy and paste the HTML example at Introduction to HTML

2. Save the file as myfile.html
3. Open the file using Firefox.

New editor
4. Enter http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic

5. Copy and paste the HTML example at Introduction to HTML

6. Verify your results on the screen.


2011/10/31

Lab 20 Google Accessibility

1. Google Search Keys Numbers the results in a Google search page and you can type the corresponding number to follow the link.
2. Google Access Keys Enables navigation through Google search results.

Reference:
http://dia.z6i.org/ (中文) 在 30 天內打造更具親和力的網站

Lab 19 AccessBar

AccessBar: displays defined accesskeys in a fixed-position bar along the bottom of the window. Added 2005-04-01 (not a joke). Find how many access keys have been defined at
www.ocac.gov.tw www.epa.gov.tw


Continued from the above, use google to find 3 more government sites in Taiwan that enable access keys.





Lab 18 Clean Language

1. Save the JavaScript file of Clean Language to your desktop. Make changes to the script with self-defined bad words. To do this, save the JavaScript on your desk top. Use Notepad editor to make changes. Install the modified script as Greasemonkey.

2. Use Google to search webpages that contains some bad words.

3. Try whether the filtering take effects.


Lab 17 Greasemonkey

1. Please read the information about Greasemonkey and cookie before you start the lab.

2. Install Greasemonkey 0.9.1. Check the lower right corner of your Firefox and you should find a monkey at the right.

3. Cookie Monster - Show cookie contents: Shows the contents of the current page cookie. Just mouse over the "Cookie" text on the bottom left. Check what cookies http://www.nytimes.com writes to you. Does our class blog use cookie or not? Does Google use cookie?






















4. You can turn off Greasemonkey by clicking on the monkey face at the URL bar of Firefox. Click again to activate Greasemonkey.

Lab 16 Using Google PageRank

在Firefox上安裝 PageRank , 然後使用 PageRank 量測以下網站的 PageRank (0~10分)


紐約時報 http://www.nytimes.com



















CNN http://www.cnn.com/



















台灣雅虎 http://tw.yahoo.com



















蕃薯藤 http://www.yam.com



















PCHome 購物 http://shopping.pchome.com.tw/



















接著,以PageRank量測你常用的三個網站。


FACEBOOK http://www.facebook.com/



















You Tube http://www.youtube.com/



















 中原大學全球資訊網 http://www.cycu.edu.tw/



















參考資料:
PageRank-Google 決定搜尋排名的關鍵技術
PageRank 的論文