|
In this example, you will build a read-only web view of the latest posts made to the various comp.lang.java.* newsgroups. These groups are shown in Figure 4-4. Figure 4-4. NNTP Group List.
In the next section, you'll look at a simple NNTP browser and compare the simplistic open-and-close approach of the code in Listing 4-2 with a more aggressive caching mechanism. Clicking on the Most Recent Article link shows us an individual message post, as shown in Figure 4-5. An interface is provided to view earlier and later messages (as determined by the server), and a few of the key headers are provided. Figure 4-5. Viewing a NNTP post.
It's easy to imagine additional functionality, such as posting new messages, displaying additional detail, or even showing a threaded view of the conversation, but this is a reasonable start. |
|