|
You will build a special purpose web client for this assignment. Your web client will connect to the Google images server, download the URLs of at least ten images, and then arrange them in a collage. Your collage will be specified as a table in HTML and your web client will be programmed in the programming language Perl.
You should work in groups of two for this assignment. For this assignment you will learn something about the programming language Perl and the formatting language HTML. To learn the basics of HTML and Perl, I suggest that you (a) look at the www.w3.org site (for HTML) specifically here: www.w3.org/MarkUP/#tutorials; and/or, (b) look at the code samples you can find at the O'Reilly site (a book publisher), www.oreilly.com (the code samples for O'Reilly books can be found here: examples.oreilly.com); and/or (c) the code samples you can find at the Peachpit Press site (another book publisher). At the publishers' sites you should look for their books on HTML. Also, for both HTML and Perl it is rather efficient to search Google with the phrase "Perl tutorial" or "HTML tutorial." You will find several sites with step-by-step instructions on how to write HTML and Perl.
For this assignment you will need to learn specifically about TABLES in HTML. Search Google with the phrase "tables in HTML" and it should point you to a good page on the www.w3.org site that explains tables. You will also need to learn something about how to program special purpose web clients in Perl. O'Reilly has an entire book on this that you can download for free here: www.oreilly.com/openbook/webclient.
To start this assignment you should first go to an artwork created by Sawad Brooks that you can find at the Whitney's online gallery: www.whitney.org/artport/commissions/codedec/brooks.html. Copy Brooks' code and run it either on your CATS account and/or one of the networked machines at Porter. I suggest that you take this code and progressively modify it until you have the collage machine necessary. Your collage machine should be able to connect to Google, download some images, assemble them into a collage specified in HTML (probably with tables), and output a web page that when viewed in a browser on a networked computer shows the assembled images of the collage.
|