View Related Documents

Abstract

This chapter builds on the previous one by extending the Pos_XmlExporter class to create an RSS feed. There are several RSS formats, but the one I have chosen is RSS 2.0 (www.rssboard.org/rss-specification). As the specification says, RSS stands for Really Simple Syndication, it’s a dialect of XML, and it’s a format for Web content syndication. The Pos_XmlExporter class does a good job of generating XML from a database, but the content and node names are entirely dependent on the SQL query submitted by the user, making it too generic for RSS. Browsers and newsreaders expect RSS to be in a specific format, so the SQL query needs to be built internally by the extended class.

Fulltext Preview

Image of the first page of the fulltext document