def get_uri(self, action, obj=None, date=None):
        """
        Returns an RFC3987 IRI ID for the given object, action and date.
        """
        if date is None:
            date = action.timestamp
        date = date.strftime('%Y-%m-%d')
        return 'tag:{},{}:{}'.format(Site.objects.get_current().domain, date,
                                     self.get_url(action, obj, False))

        Returns an RFC3987 IRI ID for the given object, action and date.
        
actstream/feeds.py