$msg['guessed_source']]);
$info=$parsed['info'];
$info['added_by']=$msg['user']['id'];
$info['keywords']=array_map ('get_or_add_keyword',$info['keywords']);
$info['source']=get_or_add_source ($info['source']);
$id=add_event ($info);
echo 'Added #'.$id.': '.$info['title'].'
';
mail_mark_seen ($msg_id);
} catch (Exception $e){
$exceptions[]=$e->getMessage();
}
}
if (count ($exceptions)>0){
echo 'Exceptions:
';
foreach ($exceptions as $e)
echo $e.'
';
}
?>
Back to the list of new events or the homepage?