Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Reply to @silverpill@mitra.social
Mike Macgirvin@mike@macgirvin.com (2026-06-10 05:50:05)
I get exactly one "post", but the collection metadata was incorrect and said it was a collection of 3, and a collectionOf 'activity'. Are you seeing actual activities, or just incorrect metadata? Might need to DM a snippet if the former. If the latter, that should be resolved now.
---Reply---
silverpill@silverpill@mitra.social (2026-06-10 06:23:02)
@mike I see activities, but I figured out why. The URL is normalized before fetching and ?posts=true parameter is removed during the normalization.
This is because query parameters are not significant in 'ap' URIs:
https://codeberg.org/fediverse/fep/src/branch/main/fep/ef61/fep-ef61.md#comparing-ap-uris
Not sure how to deal with this. I think collections shouldn't have query parameters in their IDs, but query parameters should be allowed in collection views (when filtering is applied).
Reply
---Replies---
Mike Macgirvin@mike@macgirvin.com (2026-06-10 09:04:43)
I might argue that what this represents is quite literally a "filtered view"...
But I could use a path instead.
My normalised-comparison function doesn't alter the original. Will review the portable objects implementation shortly and make certain I got that part right.