function shorten_via_jmp($url, &$shorturls)
 {
     // if we already evaluated the shorturl, stop here
     if (!empty($shorturls['jmp'])) {
         return;
     }
     $short_url = trim(UrlShortener::_make_bitly_api_url($url, 'xml', 'j.mp'));
     if (!empty($short_url)) {
         $shorturls['jmp'] = $short_url;
     }
 }