Store the title with it already linked or you have to parse the individual activity and alter its display like CB Gallery and CB GroupJive do. To parse the activity and alter its display you need to use a code action on activity_onDisplayActivity then specify variables 1 - 8 as Reference Variables under the Parameters tab of your action. You can then modify them as needed in your code action using PHP. Specifically the variables for that trigger are as follows.
&$row, &$title, &$date, &$message, &$insert, &$footer, &$menu, &$extras, $stream, $output
To modify the title for example you'd do the below.
Code:
$vars['var2'] = 'MY NEW TITLE!';
Use conditions to limit what activity is modified by conditioning against [var1_type], [var1_subtype], etc..