Add XMLRCFeedFormatter
authorKunal Mehta <legoktm@gmail.com>
Sat, 4 Jan 2014 08:44:50 +0000 (00:44 -0800)
committerKunal Mehta <legoktm@gmail.com>
Sat, 11 Jan 2014 01:50:41 +0000 (17:50 -0800)
commitc1bc3607f85e62b65a3f17fdd02fb670517f2ea5
tree9cf9f799d09ab62f79fc5891319475b7279c388d
parentabd5daddfefb0ec89e3308be3ac21f439c2e914f
Add XMLRCFeedFormatter

Endpoints like XMPP natively support sending XML,
which can be advantageous in some cases.

Since most of the logic is the same as the existing
JSONRCFeedFormatter, it was moved into an abstract
MachineReadableRCFeedFormatter class, which simply
creates the array and lets the implementations format
it.

Change-Id: I44f22777cb55fc1ca6527b79ef40b340e2afbd58
includes/AutoLoader.php
includes/rcfeed/JSONRCFeedFormatter.php
includes/rcfeed/MachineReadableRCFeedFormatter.php [new file with mode: 0644]
includes/rcfeed/XMLRCFeedFormatter.php [new file with mode: 0644]