equal
deleted
inserted
replaced
55 __regid__ = 'foaf' |
55 __regid__ = 'foaf' |
56 __select__ = is_instance('CWUser') |
56 __select__ = is_instance('CWUser') |
57 |
57 |
58 title = _('foaf') |
58 title = _('foaf') |
59 templatable = False |
59 templatable = False |
60 content_type = 'text/xml' |
60 content_type = 'application/rdf+xml' |
61 |
61 |
62 def call(self): |
62 def call(self): |
63 self.w(u'''<?xml version="1.0" encoding="%s"?> |
63 self.w(u'''<?xml version="1.0" encoding="%s"?> |
64 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
64 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
65 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" |
65 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" |