def METHOD_NAME(self):
    try:
        context = self.context
        if ISiteRoot.providedBy(context):
            try:
                context = context[get_default_page(context)]
            except AttributeError:
                pass
        tags = {
            'modificationDate': _date(context, 'modified'),
            'publicationDate': _date(context, 'effective'),
            'expirationDate': _date(context, 'expires'),
            'generator': CASTLE_VERSION_STRING,
            "distribution": "Global",
        }
        ldata = ILocation(context, None)
        if ldata is not None:
            if ldata.locations:
                location = ldata.locations
                if type(location) in (list, tuple, set):
                    location = location[0]
                tags['location'] = location
        search = ISearch(context, None)
        if search is not None:
            robot_configuration = self._get_robot_config(search)
            config = robot_configuration[:]
            if 'index' not in config:
                config.append('noindex')
            if 'follow' not in config:
                config.append('nofollow')
            tags['robots'] = ','.join(config)
        return ''.join([u'<meta name="{}" content="{}">'.format(name, value)
                        for name, value in tags.items()])
    except Exception:
        return u''