X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fapiaction.php;h=2de513cbb1ab71431ce0d2918e3d054352144625;hb=cff14c7e10b5125874438215fb799bccaa9337ea;hp=d5023f7c55b17b22678f7a3bdb7e6ad6355f29b2;hpb=b6159983099e40444ef552b78870e13f60f33545;p=quix0rs-gnu-social.git diff --git a/lib/apiaction.php b/lib/apiaction.php index d5023f7c55..2de513cbb1 100644 --- a/lib/apiaction.php +++ b/lib/apiaction.php @@ -726,6 +726,12 @@ class ApiAction extends Action $this->endDocument('xml'); } + function showSingleAtomStatus($notice) + { + header('Content-Type: application/atom+xml; charset=utf-8'); + print $notice->asAtomEntry(true, true, true, $this->auth_user); + } + function show_single_json_status($notice) { $this->initDocument('json');