*/
function asString()
{
- $this->doc['generator'] = 'StatusNet ' . STATUSNET_VERSION; // extension
+ $this->doc['generator'] = 'GNU social ' . GNUSOCIAL_VERSION; // extension
$this->doc['title'] = $this->title;
$this->doc['url'] = $this->url;
$this->doc['totalItems'] = $this->count;
{
parent::__construct($url, $rel, $mediaType);
$this->linkDict = array(
- 'width' => $width,
- 'height' => $height,
- 'duration' => $duration
+ 'width' => intval($width),
+ 'height' => intval($height),
+ 'duration' => intval($duration)
);
}