Web Deployment Using Atom
In this chapter we will look at how to deploy onto the Web using the Atom Syndication Format and Publishing Protocols. As described in Chapter 18, Atom provides both a feed format for enabling clients to subscribe to fre- quently updated content, as well as a publishing protocol, to allow an author to edit and create new content that clients can receive.
We are going to create an Atom version of the Event service that we made in the Web Services Deployment chapter. This is partly for comparative rea- sons, and also to show how Atom can be used for more than just a traditional syndication service. We will be able to reuse some of the container classes we dened for theWeb Service, specically the VEvent and VCard classes.We will also create a class that can generate HTML content from them. In doing this, we will convert these classes into their microformat equivalents of hCalendar and hCard. This will make our data types available for machine processing, as well as humanly readable in a browser. The code and scripts that we create here, along with pointers to required libraries, can also be downloaded in zip form from: http://www.p2pgridbook.com
KeywordsServer Class Event Service Public Class String Content Container Class
Unable to display preview. Download preview PDF.