2006年11月24日 星期五

CGI

CGI, Common Gateway Interface
(page 188~193 of Text)

URL that sends a request by CGI

http://maps.google.com/maps?q=24.9586,+121.2411

Homework 11/24/2006

1. Take a look at the following site:
HousingMaps
Google Maps Transparencies
Google Maps Nighttime!
Track visitors to your website
Google Map links for Unesco World Heritage Sites
Frappr

List another 5 ideas that you think would be useful. Why?

2. Play around
Zip Code Web Service.
What are the XML files used in the request and response?

3. Reading Assignments

CGI
(page 188~193 of Text)

幸福的人


有人說幸福就是快樂, 無憂與無慮.
也有人說, 幸福就是能夠經常得到你所要的.
我認為, 幸福的人就是能夠在別人的需要上看到自己的責任.

近年來社會與社區參與, 讓我覺得一股隨身隨時的幸福感.

  • 社會參與(志工服務):
  1. 消基會電信傳播委員(2003~)
  2. 消基會3C委員會(委員 2005~2007, 2009~, 召集人 2007~2008),獲得2008年消基會服務獎章

  • 社區課程(志工服務):
  1. 兒童天文學(星際小孩)
  2. 生活中的高科技
  3. Blog 親子營

  • 社區參與(志工服務):
  1. 芳鄰成長園 (社區營造)

  • 推動服務學習與志願服務之成效
  1. 96學年度(2006~2007)

  • 網路無障礙空間公共計畫
  1. 無障礙網路空間建置理念與實務
  2. 身心障礙者就業協助計畫

老師最近的論文

2006全國電信研討會
題目 :
Performance Evaluation of a Novel Distributed Algorithm for Car-to-Car
Communication Location Service over Street Environments


Network Education 2006
In-Classroom Blogs for Improving Teaching Quality at Hands-on Computer Laboratory Classes.

TANet 2006
電子化政府網站網路行銷與效益評估

模範作業

電子二甲9426101柯宜欣
一目瞭然, 說明清楚
合乎 3C (Correct, Clear, Concise) 原則

電子二甲 9426140 施劼岳

Lab Form and Action, Part II

Hand code a 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 Form and Action

"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 Nvu HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.

5. Use Nvu 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. Run your HTML by Firefox. What do you get?

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

Lab XSLT Part II

1. Given the RSS of Yam News, write an XSLT file
and use Xray to generate an HTML that contains the titles of items in the RSS.

2. View the formatted HTML file.

Lab XSLT

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

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

3. View the formatted HTML file.

2006年11月10日 星期五

11/10/2006 Homework

Due 11/24/2006 at 13:00
1. Reading Assignments:
XML (Page 187-188 on the Textbook)

2. Read the blog paper. Explain how blogs are used in network-based education.
Are there any other ways blogs can benefit education?

Lab Writely

1. Go to Google Docs. Google Docs lets you write Word documents through an online web service.
2. Write some words in a Word format.
3. Publish the Word document.
4. What's the URL of your document.

Hint: This is a sample Word document.

11/17 期中考 停課一次

2006年11月8日 星期三

Introduction to XML

Take a look at islandwide temperatures of Taiwan.

What happens if you just want Taoyuan's temperature?

If you want to include Taoyuan's temperature in your Theme
Park homepage, is there any solution?

XML examples:

the need of XML

  • Separation of data from data processor
  • Seperation of data from presentation
    • HTML for machine-human interaction
    • XML can be formatted to HTML according to formartting rules called XSLT. To see it, do Lab XSLT.

  • Automation of data flow across various business systems
    • XML for machine-machine interaction
    • Without human involvement, automation of business systems can be accelerated.
    What kind of language is XSLT?
    • An XSLT style sheet is an XML document.
    • The basic processing paradigm is pattern matching.


    Operation of an XSLT Processor

    Lab Google Mars

    1. Observe how Google Mars loads the map and does the zooming. Is the data downloaded once
    for all or retrieved on demand?

    2. HTML alone cannot perform the functions of Google Mars. So find out which code in the HTML
    source does the map things.

    Hints: You may use Nvu to determine what HTML tags are for what.

    Lab RSS

    Part I
    1. Enter Google Reader

    2. Try the following
    • news.yam.com
    • 中時電子報
    • New York Times
    • Taiwan
    3. What is the RSS feed that Google Reader takes in? List the URL of these RSS feeds.
    (Hint: Examine Yam's RSS feed. )

    Part II

    1. Open Firefox
    2. Enter Ctrl-B to activate Bookmark.
    3. Go to http://news.yam.com
    and look for the subscription button at the right of URL bar.
    4. Subscribe.
    5. Take a look at the Bookmark at your left. Open the Yam News and start browsing news pieces.