def METHOD_NAME(self, **kwargs):
    response = HttpResponse(content_type="text/html;charset=utf-8")
    content = """<title>%s</title><a href="%s">%s</a>""" % (escape(self.component.title), escape(self.url), escape(self.url))
    response.write(content.encode('utf-8'))
    return response