forked from wgroeneveld/go-jamming
parent
ceabec241a
commit
8779eb01ee
@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
|
||||
<title>Webmention Rocks!</title>
|
||||
<link href="/assets/semantic.min.css" rel="stylesheet">
|
||||
<link href="/assets/style.css" rel="stylesheet">
|
||||
<link href="/assets/test.css" rel="stylesheet">
|
||||
|
||||
<script src="/assets/jquery-1.11.3.min.js"></script>
|
||||
<script src="/assets/semantic.min.js"></script>
|
||||
<script src="/assets/script.js"></script>
|
||||
|
||||
<link rel="webmention" href="22/webmention">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
This post's Webmention endpoint is relative to the page rather than relative to the host.
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,11 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
This is a cool blog post.
|
||||
Let's add a link to send stuff to: <a href="https://brainbaking.com/link-discover-test-single.html">here</a>.
|
||||
|
||||
GG!
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"link": "</test/1/webmention?head=true>; rel=webmention"
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
|
||||
<title>Webmention Rocks!</title>
|
||||
<link href="/assets/semantic.min.css" rel="stylesheet">
|
||||
<link href="/assets/style.css" rel="stylesheet">
|
||||
<link href="/assets/test.css" rel="stylesheet">
|
||||
|
||||
<script src="/assets/jquery-1.11.3.min.js"></script>
|
||||
<script src="/assets/semantic.min.js"></script>
|
||||
<script src="/assets/script.js"></script>
|
||||
|
||||
<link rel="webmention" href="">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
|
||||
<div class="post-container h-entry">
|
||||
<div class="post-main has-responses">
|
||||
<div class="left p-author h-card">
|
||||
<a href="/">
|
||||
<img src="/assets/webmention-rocks-icon.png" width="80" class="u-photo" alt="Webmention Rocks!">
|
||||
</a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h1 class="p-name"><a href="/test/15">Discovery Test #15</a></h1>
|
||||
<div class="e-content">This post has a <link> tag where the href value is an empty string, meaning the page is its own Webmention endpoint. This tests the relative URL resolver of the sender to ensure an empty string is resolved to the page's URL.</div>
|
||||
<div class="meta">
|
||||
<a href="/test/15" class="u-url">
|
||||
Published:
|
||||
<time class="dt-published" datetime="2016-04-14T23:26:48+02:00">
|
||||
Thursday April 14, 2016 11:26pm +02:00 </time>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<p>Responses are stored for 48 hours and may be deleted after that time.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="test-num" data-num="15"></div>
|
||||
<script src="/assets/streaming.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"link": "</test/11/webmention>; rel=\"webmention\""
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
|
||||
<title>Webmention Rocks!</title>
|
||||
<link href="/assets/semantic.min.css" rel="stylesheet">
|
||||
<link href="/assets/style.css" rel="stylesheet">
|
||||
<link href="/assets/test.css" rel="stylesheet">
|
||||
|
||||
<script src="/assets/jquery-1.11.3.min.js"></script>
|
||||
<script src="/assets/semantic.min.js"></script>
|
||||
<script src="/assets/script.js"></script>
|
||||
|
||||
<link rel="webmention" href="/test/11/webmention/error">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
|
||||
<div class="post-container h-entry">
|
||||
<div class="post-main has-responses">
|
||||
<div class="left p-author h-card">
|
||||
<a href="/">
|
||||
<img src="/assets/webmention-rocks-icon.png" width="80" class="u-photo" alt="Webmention Rocks!">
|
||||
</a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h1 class="p-name"><a href="/test/11">Discovery Test #11</a></h1>
|
||||
<div class="e-content">This post advertises its Webmention endpoint in the HTTP Link header, HTML <link> tag, as well as an <a href="/test/11/webmention/error" rel="webmention"><a> tag</a>. Your Webmention client must only send a Webmention to the one in the Link header.</div>
|
||||
<div class="meta">
|
||||
<a href="/test/11" class="u-url">
|
||||
Published:
|
||||
<time class="dt-published" datetime="2016-04-14T17:05:16+02:00">
|
||||
Thursday April 14, 2016 5:05pm +02:00 </time>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<p>Responses are stored for 48 hours and may be deleted after that time.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="test-num" data-num="11"></div>
|
||||
<script src="/assets/streaming.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
|
||||
<title>Webmention Rocks!</title>
|
||||
<link href="/assets/semantic.min.css" rel="stylesheet">
|
||||
<link href="/assets/style.css" rel="stylesheet">
|
||||
<link href="/assets/test.css" rel="stylesheet">
|
||||
|
||||
<script src="/assets/jquery-1.11.3.min.js"></script>
|
||||
<script src="/assets/semantic.min.js"></script>
|
||||
<script src="/assets/script.js"></script>
|
||||
|
||||
<link rel="webmention" href="">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
|
||||
<div class="post-container h-entry">
|
||||
<div class="post-main has-responses">
|
||||
<div class="left p-author h-card">
|
||||
<a href="/">
|
||||
<img src="/assets/webmention-rocks-icon.png" width="80" class="u-photo" alt="Webmention Rocks!">
|
||||
</a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h1 class="p-name"><a href="/test/15">Discovery Test #15</a></h1>
|
||||
<div class="e-content">This post has a <link> tag where the href value is an empty string, meaning the page is its own Webmention endpoint. This tests the relative URL resolver of the sender to ensure an empty string is resolved to the page's URL.</div>
|
||||
<div class="meta">
|
||||
<a href="/test/15" class="u-url">
|
||||
Published:
|
||||
<time class="dt-published" datetime="2016-04-14T23:26:48+02:00">
|
||||
Thursday April 14, 2016 11:26pm +02:00 </time>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<p>Responses are stored for 48 hours and may be deleted after that time.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="test-num" data-num="15"></div>
|
||||
<script src="/assets/streaming.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"link1": "<https://webmention.rocks/test/18/webmention/error>; rel=\"other\"",
|
||||
"link2": "<https://webmention.rocks/test/18/webmention?head=true>; rel=\"webmention\""
|
||||
}
|
@ -0,0 +1 @@
|
||||
test!
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"link": "<https://webmention.rocks/test/19/webmention/error>; rel=\"other\", <https://webmention.rocks/test/19/webmention?head=true>; rel=\"webmention\""
|
||||
}
|
@ -0,0 +1 @@
|
||||
test!
|
@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
|
||||
<title>Webmention Rocks!</title>
|
||||
<link href="/assets/semantic.min.css" rel="stylesheet">
|
||||
<link href="/assets/style.css" rel="stylesheet">
|
||||
<link href="/assets/test.css" rel="stylesheet">
|
||||
|
||||
<script src="/assets/jquery-1.11.3.min.js"></script>
|
||||
<script src="/assets/semantic.min.js"></script>
|
||||
<script src="/assets/script.js"></script>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
|
||||
<div class="post-container h-entry">
|
||||
<div class="post-main has-responses">
|
||||
<div class="left p-author h-card">
|
||||
<a href="/">
|
||||
<img src="/assets/webmention-rocks-icon.png" width="80" class="u-photo" alt="Webmention Rocks!">
|
||||
</a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h1 class="p-name"><a href="/test/20">Discovery Test #20</a></h1>
|
||||
<div class="e-content">This post has a <link> tag <link rel="webmention"> which has no href attribute. Your Webmention client should not find this link tag, and should send the webmention to <a href="/test/20/webmention" rel="webmention">this endpoint</a> instead.</div>
|
||||
<div class="meta">
|
||||
<a href="/test/20" class="u-url">
|
||||
Published:
|
||||
<time class="dt-published" datetime="2016-04-15T11:03:35+02:00">
|
||||
Friday April 15, 2016 11:03am +02:00 </time>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<p>Responses are stored for 48 hours and may be deleted after that time.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="test-num" data-num="20"></div>
|
||||
<script src="/assets/streaming.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue