* @link http://status.net/
*
* @see PublicrssAction
- * @see PublicxrdsAction
*/
class PublicAction extends SitestreamAction
{
}
}
- function extraHead()
- {
- parent::extraHead();
- $this->element('meta', array('http-equiv' => 'X-XRDS-Location',
- 'content' => common_local_url('publicxrds')));
-
- $rsd = common_local_url('rsd');
-
- // RSD, http://tales.phrasewise.com/rfc/rsd
-
- $this->element('link', array('rel' => 'EditURI',
- 'type' => 'application/rsd+xml',
- 'href' => $rsd));
-
- if ($this->page != 1) {
- $this->element('link', array('rel' => 'canonical',
- 'href' => common_local_url('public')));
- }
- }
-
function showSections()
{
// Show invite button, as long as site isn't closed, and
$ibs->show();
}
- $p = Profile::current();
-
- if (!common_config('performance', 'high')) {
- $cloud = new PublicTagCloudSection($this);
- $cloud->show();
- }
$feat = new FeaturedUsersSection($this);
$feat->show();
}