CSC 350 Assignment #5B — Another Web-based System

To be worked on in class on Monday, April 7.

D. Create a Web form, and the corresponding template, to achieve the following.

  1. The form presents the user with 5 inputs. Each accepts one term.
  2. When the user fills in the inputs and clicks submit, an HTML page is returned which contains links to a Google search on the terms, each ANDed with the words "computational linguistics".

    For example:
    http://www.google.com/search?hl=en&q=flowers+computational+linguistics&btnG=Search
    http://www.google.com/search?hl=en&q=butter+computational+linguistics&btnG=Search
    http://www.google.com/search?hl=en&q=guns+computational+linguistics&btnG=Search
    http://www.google.com/search?hl=en&q=wine+computational+linguistics&btnG=Search
    http://www.google.com/search?hl=en&q=bread+computational+linguistics&btnG=Search

  3. Note that the template you make — the file with the <storytag or {{storytag elements needs to have FIVE href anchors and they must be of the form:

    
    <a href=http://www.google.com/search?hl=en&q={{storytag value="1"}}+computational+linguistics&btnG=Search
    >
    
    

    Again, note that A) there are no quotes around the URL; B) you have to use the special {{ brackets on the storytag; and C) the > needs to be on a line by itself.