| Home | Lecture Notes | Homework | Resources | Syllabus | Jen's Home | INFM 743: Development of Internet Applications | |||||||||
Homework 5If you are creating output files, use the same prefixes you use for your file names, but save them as .txt files. You may create at most one output file for each exercise, though it is not necessary for all exercises.Exercise 1Start with our RSS code from class. Then, modify it so a * is displayed next to any article the user has NOT read. If the user types a number to see an article, when the menu is displayed again the * should not appear next to that article.The user should be able to quit your program and then run it again, and the program should remember which articles they have seen and which they have not. Please use http://www.cs.umd.edu/~golbeck/INFM743/xkcd.rss as your rss feed URL. We will test this manually. Exercise 2Last week, you created a program that printed out the To and From pairs for each email in the file from Ken Lay's inbox. Now, modify that to print out an XML representation instead of a comma seaprated file. You should include the to, from, and subject of each message. Contain each of these data as part of a message which, in turn, is part of a mailbox. Here is a sample XML file: |