s/pubsubhubbub/websub/
authorChristian Weiske <cweiske@cweiske.de>
Sat, 7 Mar 2020 20:57:47 +0000 (21:57 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sat, 7 Mar 2020 20:57:47 +0000 (21:57 +0100)
README.rst
www/feed.php
www/index.php

index 8b739572b67a57e030f20821be68c3ef8ded1f9c..47d5a342852a17f8dc350f7ef0241b923063e075 100644 (file)
@@ -1,6 +1,6 @@
-*******************
-PubSubHubbub tester
-*******************
+*************
+WebSub tester
+*************
 
 Simulates a blog with an atom and an h-feed.
 Sends a publish notification to the hub when a new article has been created.
 
 Simulates a blog with an atom and an h-feed.
 Sends a publish notification to the hub when a new article has been created.
index 04bead9fa31e4a0e126dac8cb8730615655c8ac3..e3e1ac0088da60e74b6491693254a256d3120ce1 100644 (file)
@@ -11,7 +11,7 @@ $lastUpdate = key($articles);
 ?>
 <?xml version="1.0" encoding="utf-8" ?>
 <feed xmlns="http://www.w3.org/2005/Atom">
 ?>
 <?xml version="1.0" encoding="utf-8" ?>
 <feed xmlns="http://www.w3.org/2005/Atom">
- <title>PubSubHubbub tester</title>
+ <title>WebSub tester</title>
  <author>
   <name>Someone</name>
   <email>someone@example.org</email>
  <author>
   <name>Someone</name>
   <email>someone@example.org</email>
index 6a98ad05e37ff6af492657c4bf2b1803808bf22f..9be78bc1289bca6816b25953ec3b5683c287eb02 100644 (file)
@@ -8,14 +8,19 @@ $articles = loadArticles();
 ?>
 <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
 ?>
 <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
-  <title>PubSubHubbub tester</title>
-  <link rel="alternate" type="application/atom+xml" title="PubSubHubbub tester" href="feed.php" />
+  <title>WebSub tester</title>
+  <link rel="alternate" type="application/atom+xml" title="WebSub tester" href="feed.php" />
  </head>
  <body class="h-feed">
   <p>
    <a href="add-article.php">create new article</a>
    | <a href="feed.php">atom feed</a>
   </p>
  </head>
  <body class="h-feed">
   <p>
    <a href="add-article.php">create new article</a>
    | <a href="feed.php">atom feed</a>
   </p>
+  <p>
+   This is a tool to test your <a href="https://www.w3.org/TR/websub/">WebSub</a>
+   subscriber.
+   With one click, a new post gets published and the hub gets notified.
+  </p>
   <h1>Articles</h1>
   <?php foreach ($articles as $article) { ?>
    <article class="h-entry">
   <h1>Articles</h1>
   <?php foreach ($articles as $article) { ?>
    <article class="h-entry">