@register.tag
def ssi(parser, token):
    bits = token.split_contents()
    parsed = False
    if len(bits) not in (2, 3):
        raise TemplateSyntaxError("'ssi' tag takes one argument: the path to"
                                  " the file to be included")
    if len(bits) == 3:
        if bits[2] == 'parsed':
            parsed = True
        else:
            raise TemplateSyntaxError("Second (optional) argument to %s tag"
                                      " must be 'parsed'" % bits[0])
    filepath = parser.compile_filter(bits[1])
    return SsiNode(filepath, parsed, legacy_filepath=False)
Record a node number to emulation server mapping.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/templatetags/future.py/ssi--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/broker.py/CoreBroker.addnodemap