diff --git a/pages.py b/pages.py index ac182be..e7c2004 100644 --- a/pages.py +++ b/pages.py @@ -225,11 +225,11 @@ def serve_feed(*, objects, format, title, as_snippets=False, quiet=False): 'content': f'{obj.actor_link(image=False)} {obj.phrase} {obj.content}', 'content_is_html': True, 'updated': obj.updated.isoformat(), + 'url': as1.get_url(obj.as1) or as1.get_url(as1.get_object(obj.as1)), } for obj in objects] else: activities = [obj.as1 for obj in objects] - # hydrate authors, actors, objects from stored Objects fields = 'author', 'actor', 'object' gets = []