Is there an Internet Media Type for social microsyntax, the plain-text source format that is used to convert @-mentions, hashtags, and URLs into links in HTML5? I've been unable to find one, and have fallen back to text/plain.
@trwnh@knowprose@evan@mastodon.social that's probably true; at-mentions are particularly difficult. We could still standardize them for the fediverse, though.
@evan i don't think this entirely makes sense because the rules for parsing microsyntax are so highly variable and application-specific. so text/plain is the best you're going to get for this.
@knowprose@evan@cosocial.ca i meant more like, for example, whatever follows the @ sign is entirely arbitrary in content and in mapping. i could "@evan" and it wouldn't be immediately clear what "@" means or what "evan" refers to. the same general function of a "mention" was denoted with a "+" on google+. there is also no clear standard on when to terminate such a "mention". can it include spaces or not? on twitter no, on google+ yes. and so on and so forth.
@evan well, that's just one example... if you wanted to look at hashtags, then what is there to actually do with them from a parsing standpoint? they don't translate to links. they're just meant to make searching for them easier as a token. auto-linking to a local filter/search is a courtesy that isn't actually crucial to their function. and you still have to consider the usual "which characters are allowed", "how do you delimit them", "which character starts them" -- what about bangtags? etc