$seconds = '0' .
$seconds;
} $time .=
$minutes.':';
$time .=
$seconds;
return $time;
} public static function absolutize_url($relative,
$base) { $iri = SimplePie_IRI::
absolutize(new SimplePie_IRI($base),
$relative);
if ($iri === false
) { return false;
} return $iri->
get_uri();
} /**
* Get a HTML/XML element from a HTML string
*
* @deprecated Use DOMDocument instead (parsing HTML with regex is bad!)
* @param string $realname Element name (including namespace prefix if applicable)
* @param string $string HTML document
* @return array
*/