how to get the enclosure' url value when reading the rss feed

how to get the enclosure' url value when reading the rss feed? I
define a help method to judge if there is a enclosure in a rss
item,and use it in a view,the codes are following: