web/views/euser.py
branchtls-sprint
changeset 822 e3d8db01f3f5
parent 791 00f7f6adcf91
child 985 6a25c58a1c23
equal deleted inserted replaced
821:78cc1682c3a4 822:e3d8db01f3f5
    57     title = _('foaf')
    57     title = _('foaf')
    58     templatable = False
    58     templatable = False
    59     content_type = 'text/xml'
    59     content_type = 'text/xml'
    60 
    60 
    61     def call(self):
    61     def call(self):
    62         self.w('''<?xml version="1.0" encoding="%s"?>
    62         self.w(u'''<?xml version="1.0" encoding="%s"?>
    63 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    63 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    64          xmlns:rdfs="http://www.w3org/2000/01/rdf-schema#"
    64          xmlns:rdfs="http://www.w3org/2000/01/rdf-schema#"
    65          xmlns:foaf="http://xmlns.com/foaf/0.1/"> '''% self.req.encoding)
    65          xmlns:foaf="http://xmlns.com/foaf/0.1/"> '''% self.req.encoding)
    66         for i in xrange(self.rset.rowcount):
    66         for i in xrange(self.rset.rowcount):
    67             self.cell_call(i, 0)
    67             self.cell_call(i, 0)