'Generates iterations, but as a URL instead of a path.'

def GenerateURL(self, instance, root_url):

    prefix = (root_url + self._prefix)
    retval = None
    if (type(instance) == types.IntType):
        if instance:
            retval = ('%s%d%s' % (prefix, instance, self._suffix))
        else:
            retval = (prefix + self._suffix)
    else:
        retval = (prefix + instance)
    return URL.Canonicalize(retval)
