From f47ddf0758f120dfb26f03fb36be5cd897a10f23 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 22 Nov 2013 21:32:06 +0100 Subject: first work on remote fork notifications with linkback (webmention/pingback) --- www/display.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'www/display.php') diff --git a/www/display.php b/www/display.php index ae29b87..a41f4a8 100644 --- a/www/display.php +++ b/www/display.php @@ -9,6 +9,12 @@ require_once 'www-header.php'; $repo = new Repository(); $repo->loadFromRequest(); +header('X-Pingback: ' . $repo->getLink('linkback', null, true)); +header( + 'Link: <' . $repo->getLink('linkback', null, true) . '>;' + . 'rel="http://webmention.org/"' +); + render( 'display', array( -- cgit v1.2.3