PleromaFE notice HTML should include a AP json and Atom XML <link>
HTML pages should include a application/activity+json
and application/atom+xml
<link rel=alternate>
, and the frontend JS should keep this element up to date when moving to other pages.
For example, the page returned by https://cathoderay.tube/notice/45021 should include this HTML element:
(option A, if #206 is implemented)
<link href='https://cathoderay.tube/notice/45021' rel='alternate' type='application/atom+xml'>
<link href='https://cathoderay.tube/notice/45021' rel='alternate' type='application/activity+json'>
(option B)
<link href='https://cathoderay.tube/objects/f2feb28f-56d9-4000-a719-561831dfa487' rel='alternate' type='application/atom+xml'>
<link href='https://cathoderay.tube/objects/f2feb28f-56d9-4000-a719-561831dfa487' rel='alternate' type='application/activity+json'>
Upon navigation away from the status, the link should be removed. Upon navigation to a status page, the link should be updated to point to the currently viewed status.
Purpose: I want to create a browser extension that will be able to recognize that you are on a AP/OStatus-enabled page, and let you reply nearly-inline.