* @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
* @link http://status.net/
*/
-
class RsdAction extends Action
{
/**
* Optional attribute for the personal rsd.xml file.
*/
-
var $user = null;
/**
*
* @return boolean success flag
*/
-
function prepare($args)
{
parent::prepare($args);
*
* @return nothing
*/
-
function handle($args)
{
header('Content-Type: application/rsd+xml');
*
* @return string date of last change of this page
*/
-
function lastModified()
{
if (!empty($this->user)) {
*
* @return boolean true
*/
-
function isReadOnly($args)
{
return true;
*
* @return string API root URI for this site
*/
-
private function _apiRoot()
{
if (common_config('site', 'fancy')) {