subject_guid); $object = get_entity($vars['item']->object_guid); $url = $object->getURL(); $contents = strip_tags($object->excerpt); $url = "getURL()}\">{$performed_by->name}"; $title = elgg_echo('blog:river:create', array($url)); $string .= $title . " getURL()}\">{$object->title} " . elgg_view_friendly_time($object->time_created); if (isloggedin()) { $string .= '' . elgg_echo('generic_comments:text') . ''; $string .= elgg_view('likes/forms/link', array('entity' => $object)); } $string .= ""; $string .= '
'; $string .= '
'; if (strlen($contents) > 200) { $string .= substr($contents, 0, strpos($contents, ' ', 200)) . '…'; } else { $string .= $contents; } $string .= '
'; echo $string;