Lab 3
Due 9:40AM October 1, 2007
- Examine the RSS feed from
http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml.
Create a class FeedItem to store relevant information about
the item elements of the feed. Include (at least) the general
title of the feed, the title of the item, the description of the
item, the author of the item, and the publication date.
-
Implement one or more methods to download the New York Times
feed specified above and generate an ArrayList of FeedItem objects.
For the single NYTimes feed, you will have several items, all
with the same feed title. Maintain your ArrayList sorted, by
the pubDate of the items. In order to accomplish this, you will
need to extract and store each piece of information from the
pubDate (month, day, etc) separately.
Sami Rollins