Roundup Tracker - Issues

Issue 2551154

classification
Support adding webmention to links
Type: rfe Severity: minor
Components: Versions:
process
Status: new
:
: : rouilj
Priority: :

Created on 2021-08-21 19:23 by rouilj, last changed 2024-04-30 01:42 by rouilj.

Messages
msg6942 Author: [hidden] (rouilj) Date: 2020-08-13 04:14
Maybe consider adding webmention for embedded urls?

It should be possible to create a reactor that handles
the notification by scanning a new changenote for url's.

If it finds a rel=webmention at the URL it can link from the issue 
(possibly with a fragment to the message) 
Provide a link to the issue.

Details: https://www.w3.org/TR/2017/REC-webmention-20170112/
msg7431 Author: [hidden] (rouilj) Date: 2022-01-02 02:01
Also: https://www.ctrl.blog/entry/setup-webmention.html
msg8018 Author: [hidden] (rouilj) Date: 2024-04-30 01:42
Reading a little more about this. I see sending and receiving both being useful.

We add an external link in an issue. Generate a webmention to the target site
listing the issue as the source url.

Somebody on some random web site mentions an issue URL on their web site. We get a
webmention sent to:

   https://example.com/tracker/?@action=webmention

it takes the payload:

 1) verified that the target url exists/is valid (e.g.issue223 exists).
 2) GET's the source url and scrapes it looking for the target url and gathers metadata
 3) does one of two things:
    1) create a new msg of subtype webmention that will be displayed in the message
       thread (probably with different styling via css and a webmention class) with
       the metadata and maybe an excerpt/summary.
    2) create a new webmention class instance with metadata which will be
       displayed in some other section of the issue.

We will need a webmention discovery link added to the page.html template.

Also this could be (ab)used to link two trackers together. Consider an internal tracker
and an external tracker. The external tracker has conversations with customers
and a link (in a webmention_to property) to the internal tracker's matching issue.
Updates to the external tracker could become webmentions on the internal tracker.

Similarly closing/resolving a ticket on the internal tracker could result in a
webmention on the external tracker.

These wouldn't be exactly kosher webmentions as the message that updates/triggers the
webmention may not include the target URL. The target URL would be at the issue level
in a "webmention_to" property but...

This is kind of along the lines of using activity pub to federate trackers.
History
Date User Action Args
2024-04-30 01:42:19rouiljsetmessages: + msg8018
2022-01-02 02:01:19rouiljsetmessages: + msg7431
2021-08-21 19:25:13adminsetnosy: + rouilj
messages: + msg6942
2021-08-21 19:23:13rouiljcreate