We currently rely on regular expressions to parse Fediverse URLs in the post.js. However, this approach might not be sufficient for accurate detection. To improve URL parsing and ensure correct resolution of actors, we propose enhancing the parsing mechanism to include database checks for actor resolution.
- This would involve fetching the URL from the database and determining whether it's an ActivityPub URL, HTML linking to ActivityPub, or a regular page.
951a612
We currently rely on regular expressions to parse Fediverse URLs in the post.js. However, this approach might not be sufficient for accurate detection. To improve URL parsing and ensure correct resolution of actors, we propose enhancing the parsing mechanism to include database checks for actor resolution.
951a612