{"action":"created","issue":{"url":"https://api.github.com/repos/buckket/twtxt/issues/109","repository_url":"https://api.github.com/repos/buckket/twtxt","labels_url":"https://api.github.com/repos/buckket/twtxt/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/buckket/twtxt/issues/109/comments","events_url":"https://api.github.com/repos/buckket/twtxt/issues/109/events","html_url":"https://github.com/buckket/twtxt/issues/109","id":138780076,"number":109,"title":"Support linkbacks as in the blogosphere","user":{"login":"archusr","id":14299209,"avatar_url":"https://avatars.githubusercontent.com/u/14299209?v=3","gravatar_id":"","url":"https://api.github.com/users/archusr","html_url":"https://github.com/archusr","followers_url":"https://api.github.com/users/archusr/followers","following_url":"https://api.github.com/users/archusr/following{/other_user}","gists_url":"https://api.github.com/users/archusr/gists{/gist_id}","starred_url":"https://api.github.com/users/archusr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archusr/subscriptions","organizations_url":"https://api.github.com/users/archusr/orgs","repos_url":"https://api.github.com/users/archusr/repos","events_url":"https://api.github.com/users/archusr/events{/privacy}","received_events_url":"https://api.github.com/users/archusr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-06T10:34:05Z","updated_at":"2016-03-06T12:43:34Z","closed_at":null,"body":"Consider two users _foo_ (https://foo.org/twtxt.txt) and _bar_ (https://bar.org/twtxt.txt).\r\n\r\nWhen user _foo_ mentions user _bar_ in her tweet, the client could call the linkback url as defined in _bar_'s metadata (#22 #48), e.g. https://bar.org/twtxt/ping.php?url=https://foo.org/twtxt.txt&name=foo (name optional?)\r\n\r\nping.php would log the request to https://bar.org/twtxt/ping.txt (linkback log) as in:\r\n`   2016-03-06T11:12:25+01:00\t<@foo https://foo.org/twtxt.txt> mentioned you.`\r\n\r\nAs user _bar_ is subscribed to her linkback log she'd see the mention in her timeline.\r\n\r\nSimilar to pingback/trackback as in blogs, cf. https://en.wikipedia.org/wiki/Linkback. Sorry, if you already thought of all this.\r\n\r\nExemplary ping.php to write the linkback log ping.txt\r\n```php\r\n$line = date('Y-m-d\\TH:i:sP').\"\\t\".\"<@$_GET['name'] $_GET['url']> mentioned you.\";\r\n$fh = fopen('ping.txt','a'); fwrite($fh, $line.\"\\n\"); fclose($fh);\r\n```"},"comment":{"url":"https://api.github.com/repos/buckket/twtxt/issues/comments/192884428","html_url":"https://github.com/buckket/twtxt/issues/109#issuecomment-192884428","issue_url":"https://api.github.com/repos/buckket/twtxt/issues/109","id":192884428,"user":{"login":"archusr","id":14299209,"avatar_url":"https://avatars.githubusercontent.com/u/14299209?v=3","gravatar_id":"","url":"https://api.github.com/users/archusr","html_url":"https://github.com/archusr","followers_url":"https://api.github.com/users/archusr/followers","following_url":"https://api.github.com/users/archusr/following{/other_user}","gists_url":"https://api.github.com/users/archusr/gists{/gist_id}","starred_url":"https://api.github.com/users/archusr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archusr/subscriptions","organizations_url":"https://api.github.com/users/archusr/orgs","repos_url":"https://api.github.com/users/archusr/repos","events_url":"https://api.github.com/users/archusr/events{/privacy}","received_events_url":"https://api.github.com/users/archusr/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T12:43:34Z","updated_at":"2016-03-06T12:43:34Z","body":"Ah, registries, thanks for pointing that out. It's a bit opposing the idea of decentralization, though."}}