New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement FEP-4adb, FEP-2c59 #15
Comments
I think the default should be {
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"xrd": "http://docs.oasis-open.org/ns/xri/xrd-1.0#",
"aliases": {
"@id": "xrd:Alias",
"@type": "@id",
"@container": "@list"
},
}
],
"id": "https://hatsu.local/users/example.com",
"preferredUsername": "example.com",
"aliases": ["acct:example.com@example.com", "acct:example.com@hatsu.local"],
...
} |
Since it has little to do with the HTML, I prefer to add it to the JSON Feed Extension. <!-- "aliases": ["acct:i@example.com", "acct:example.com@hatsu.local"] -->
<meta name="hatsu-aliases" content="i" /> or add it to the JSON Feed Extension: {
"_hatsu": {
"about": "https://github.com/importantimport/hatsu/issues/1",
"aliases": "i"
},
...
} |
FEP-4adb has been implemented and I expect to support customization and close this issue in |
Notably, it is currently in conflict with FEP-ef61. |
I now prefer to use {
"_hatsu": {
"about": "https://github.com/importantimport/hatsu/issues/1",
"aliases": "i"
},
...
} This results in the following output: {
"@context": [
"https://www.w3.org/ns/activitystreams", // AS2
"https://w3id.org/security/v1", // security
"https://purl.archive.org/socialweb/webfinger", // FEP-2c59
{ // FEP-4adb
"xrd": "http://docs.oasis-open.org/ns/xri/xrd-1.0#",
"aliases": {
"@id": "xrd:Alias",
"@type": "@id",
"@container": "@list"
},
}
],
"id": "https://hatsu.local/users/example.com",
"preferredUsername": "example.com",
"aliases": ["acct:i@example.com", "acct:example.com@hatsu.local"],
"webfinger": "acct:i@example.com",
...
} |
https://codeberg.org/fediverse/fep/src/branch/main/fep/4adb/fep-4adb.md
The text was updated successfully, but these errors were encountered: