revive-adserver/revive-adserver — pull request #144 by sschenke (2013-11-12 14:42:35+00:00)
Title: Json delivery

This way you can use JSON and JSONP (here with the define({...}) Syntax for require.js) as output of your ads.
Works with one zone (zoneid=xxx) and multiple zones (zoneids=x|y|z) aswell.
Of the generated PHP Array $aBanner I am only using the "html", "logUrl", "clickUrl" and "zoneid" attributes as those are all we needed. Of course any ther $aBanner value can be added there aswell.
Hope you find it as useful as we do.