equal
deleted
inserted
replaced
45 for i in xrange(self.cw_rset.rowcount): |
45 for i in xrange(self.cw_rset.rowcount): |
46 self.cell_call(i, 0) |
46 self.cell_call(i, 0) |
47 self.w(u'</rdf:RDF>\n') |
47 self.w(u'</rdf:RDF>\n') |
48 |
48 |
49 def cell_call(self, row, col): |
49 def cell_call(self, row, col): |
50 entity = self.complete_entity(row, col) |
50 entity = self.cw_rset.complete_entity(row, col) |
51 self.w(u'''<foaf:PersonalProfileDocument rdf:about=""> |
51 self.w(u'''<foaf:PersonalProfileDocument rdf:about=""> |
52 <foaf:maker rdf:resource="%s"/> |
52 <foaf:maker rdf:resource="%s"/> |
53 <foaf:primaryTopic rdf:resource="%s"/> |
53 <foaf:primaryTopic rdf:resource="%s"/> |
54 </foaf:PersonalProfileDocument>''' % (entity.absolute_url(), entity.absolute_url())) |
54 </foaf:PersonalProfileDocument>''' % (entity.absolute_url(), entity.absolute_url())) |
55 self.w(u'<foaf:Person rdf:ID="%s">\n' % entity.eid) |
55 self.w(u'<foaf:Person rdf:ID="%s">\n' % entity.eid) |