equal
deleted
inserted
replaced
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) |