entities/__init__.py
changeset 3720 5376aaadd16b
parent 3589 a5432f99f2d9
parent 3689 deb13e88e037
child 4147 52fe79a98b21
equal deleted inserted replaced
3678:29f74716fd70 3720:5376aaadd16b
    61         """return a more detailled title for this entity"""
    61         """return a more detailled title for this entity"""
    62         return self.dc_title()
    62         return self.dc_title()
    63 
    63 
    64     def dc_description(self, format='text/plain'):
    64     def dc_description(self, format='text/plain'):
    65         """return a suitable description for this entity"""
    65         """return a suitable description for this entity"""
    66         if self.e_schema.has_subject_relation('description'):
    66         if 'description' in self.e_schema.subjrels:
    67             return self.printable_value('description', format=format)
    67             return self.printable_value('description', format=format)
    68         return u''
    68         return u''
    69 
    69 
    70     def dc_authors(self):
    70     def dc_authors(self):
    71         """return a suitable description for the author(s) of the entity"""
    71         """return a suitable description for the author(s) of the entity"""