+ This is a WebSub Hub service, facilitating content distribution.
+ Authenticated users may view details of any syndications related to their profile.
+
+ `;
+}
+
function aboutSection() {
return `
What
@@ -46,6 +58,15 @@ function usageSection(isPublicHub, hubURL) {
+
+ Ideally, these should be combined in one header.
+
+
@@ -73,15 +94,21 @@ function usageSection(isPublicHub, hubURL) {
Publishing Updates
- Send a POST request to this hub with Form Data:
+ To notify the Hub either of a new topic to syndicate, or that a topic's content has been updated and should be distributed to subscribers, send a POST request with Form Data (application/x-www-form-urlencoded):
hub.mode set to publish
- hub.url set to the self link relation of the content
+ hub.url set to the self link relation of the content (this value may be set multiple times, to update more than one topic)