private function setguid()
{
if (!isset($this->newfields['guid']) || $this->newfields['guid'] == '' || $this->newfields['guid'] == '//?p=') {
$result = 'tag:' . Site::get_url('hostname') . ',' . date('Y') . ':' . rawurlencode($this->setslug()) . '/' . time();
$this->newfields['guid'] = $result;
}
return $this->newfields['guid'];
}