'Parse the URL of the RDF link from the <head> of ``page``.'

def parse_rdf_link(self, page, mime_type='application/rdf+xml'):

    soup = BeautifulSoup(page)
    link = soup.head.find('link', rel='alternate', type=mime_type)
    return ((link and link['href']) or None)
