
sorenpeter (darch.dk)
In reply to: #ot56hla
3 months ago
@prologic I say we should find a way to support mentions with only url, no nick, as per the original spec.
- For
<a href="/profile?url=url">@nick</a>
we already got support - For
<a href="/profile?url=the posting client should expand it to
@<nick url">@nick></a>
, if not then the reading client should just render it as@nick
with no link. - For
<a href="/profile?url=the sending client should try to expand it to
@<nick url">@url></a>
, if not then the reading client should try to find or construct a nick base on:- Look in twtxt.txt for a
nick =
- Use (sub)domain from URL
- Use folder or file name from URL
- Look in twtxt.txt for a