'Provides custom notification data that is used by the transport layer
when the feed is updated.'

def get_notification_data(self):

    notification_data = dict()
    if (self.track_unseen and self.track_unread):
        (unseen_count, unread_count) = self.feed_markers.count('unseen', 'unread')
        notification_data['unseen_count'] = unseen_count
        notification_data['unread_count'] = unread_count
    elif self.track_unseen:
        unseen_count = self.feed_markers.count('unseen')
        notification_data['unseen_count'] = unseen_count
    elif self.track_unread:
        unread_count = self.feed_markers.count('unread')
        notification_data['unread_count'] = unread_count
    return notification_data
