some feed aggregators (eg sage) show dc:creator tag, so we show it insteed of author tag
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Wed, 22 Apr 2009 15:40:58 +0200
changeset 1430 708233d644da
parent 1429 1d2a05685233
child 1431 07614fd4722a
some feed aggregators (eg sage) show dc:creator tag, so we show it insteed of author tag
web/views/baseviews.py
--- a/web/views/baseviews.py	Wed Apr 22 14:56:31 2009 +0200
+++ b/web/views/baseviews.py	Wed Apr 22 15:40:58 2009 +0200
@@ -734,11 +734,7 @@
            
     def render_entity_creator(self, entity):
         if entity.creator:
-            email = entity.creator.get_email()
-            if email:
-                self._marker('author', email + ' (%s)' %  entity.creator.name())
-            else:
-                self._marker('dc:creator', entity.creator.name())
+            self._marker('dc:creator', entity.creator.name())
        
                 
     def _marker(self, marker, value):