Skip to content

Commit 9859a73

Browse files
committed
Keep README in markdown format
1 parent 83b6e9d commit 9859a73

1 file changed

Lines changed: 38 additions & 37 deletions

File tree

readme.md

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
=== WebSub (FKA. PubSubHubbub) ===
1+
# WebSub (FKA. PubSubHubbub)
2+
23
Contributors: pfefferle, joshfraz
34
Donate link: https://notiz.blog/donate/
45
Tags: websub, pubsubhubbub, pubsub, indieweb, feed
@@ -11,11 +12,11 @@ License URI: http://opensource.org/licenses/MIT
1112

1213
A WebSub plugin for WordPress that enables real-time publishing and subscription capabilities.
1314

14-
== Description ==
15+
## Description
1516

1617
This plugin implements the [WebSub](https://www.w3.org/TR/websub/) protocol (formerly known as PubSubHubbub) for WordPress. It enables real-time notifications when your blog is updated and provides a subscriber API for other plugins to consume WebSub-enabled feeds.
1718

18-
= Publisher Features =
19+
### Publisher Features
1920

2021
When you publish or update a post, this plugin automatically notifies WebSub hubs, which then distribute the update to all subscribers in real-time.
2122

@@ -25,7 +26,7 @@ When you publish or update a post, this plugin automatically notifies WebSub hub
2526
* Supports all feed formats used by WordPress (Atom, RSS2, RDF)
2627
* Adds `<link rel="hub">` and `<link rel="self">` declarations to feeds and HTML
2728

28-
= Subscriber Features =
29+
### Subscriber Features
2930

3031
The plugin provides a subscriber API that allows other plugins (like feed readers) to subscribe to WebSub-enabled feeds using WordPress hooks.
3132

@@ -34,12 +35,12 @@ The plugin provides a subscriber API that allows other plugins (like feed reader
3435
* HMAC signature verification (SHA1, SHA256, SHA384, SHA512)
3536
* Full lifecycle hooks for integration with other plugins
3637

37-
= Supported Specifications =
38+
### Supported Specifications
3839

3940
* [WebSub W3C Recommendation](https://www.w3.org/TR/websub/)
4041
* [PubSubHubbub 0.4](https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html)
4142

42-
= Default Hubs =
43+
### Default Hubs
4344

4445
By default this plugin will ping the following hubs:
4546

@@ -49,137 +50,137 @@ By default this plugin will ping the following hubs:
4950

5051
Please contact us if you operate a hub that you would like to be included as a default option.
5152

52-
== Installation ==
53+
## Installation
5354

5455
1. Upload the `pubsubhubbub` directory to your `/wp-content/plugins/` directory
5556
2. Activate the plugin through the 'Plugins' menu in WordPress
5657
3. Select custom hubs under your WebSub/PubSubHubbub Settings (optional)
5758

58-
== Frequently Asked Questions ==
59+
## Frequently Asked Questions
5960

60-
= What is WebSub? =
61+
### What is WebSub?
6162

6263
WebSub provides a common mechanism for communication between publishers of any kind of Web content and their subscribers, based on HTTP web hooks. Subscription requests are relayed through hubs, which validate and verify the request. Hubs then distribute new and updated content to subscribers when it becomes available. WebSub was previously known as PubSubHubbub.
6364

64-
= Where can I learn more about WebSub? =
65+
### Where can I learn more about WebSub?
6566

6667
* [W3C WebSub Recommendation](https://www.w3.org/TR/websub/)
6768
* [WebSub on GitHub](https://github.com/w3c/websub)
6869
* [WebSub.rocks - WebSub validator](https://websub.rocks/)
6970

70-
= What is a Hub? =
71+
### What is a Hub?
7172

7273
A WebSub Hub is an implementation that handles subscription requests and distributes content to subscribers when the corresponding topic URL has been updated.
7374

74-
= What is a Publisher? =
75+
### What is a Publisher?
7576

7677
A WebSub Publisher is an implementation that advertises a topic and hub URL on one or more resource URLs. This plugin acts as a publisher for your WordPress site.
7778

78-
= What is a Subscriber? =
79+
### What is a Subscriber?
7980

8081
A WebSub Subscriber is an implementation that discovers the hub and topic URL given a resource URL, subscribes to updates at the hub, and accepts content distribution requests from the hub. This plugin provides a subscriber API for other plugins to use.
8182

82-
= How can I use the Subscriber API in my plugin? =
83+
### How can I use the Subscriber API in my plugin?
8384

8485
The Subscriber API allows other plugins to subscribe to WebSub-enabled feeds using WordPress hooks. See the [Subscriber API documentation](https://github.com/pubsubhubbub/wordpress-pubsubhubbub/blob/main/docs/subscriber-api.md) for detailed examples and usage.
8586

86-
= Where can I find a list of available hooks? =
87+
### Where can I find a list of available hooks?
8788

8889
For a complete list of available actions and filters, see the [Hooks Wiki](https://github.com/pubsubhubbub/wordpress-pubsubhubbub/wiki).
8990

90-
== Screenshots ==
91+
## Screenshots
9192

9293
1. The WebSub Settings page allows you to define which hubs you want to use
9394

94-
== Changelog ==
95+
## Changelog
9596

9697
Project maintained on GitHub at [pubsubhubbub/wordpress-pubsubhubbub](https://github.com/pubsubhubbub/wordpress-pubsubhubbub).
9798

98-
= 4.0.0 =
99+
### 4.0.0
99100

100101
* Complete code refactoring with namespaces
101102
* Added WebSub Subscriber API with hooks for consumer plugins
102103
* Added REST API callback endpoint for subscriptions
103104
* Added hub discovery and HMAC signature verification
104105
* Improved WebSub spec compliance
105106

106-
= 3.2.1 =
107+
### 3.2.1
107108

108109
* fix: empty option on fresh install leads to broken feed links
109110

110-
= 3.2.0 =
111+
### 3.2.0
111112

112113
* improved validating, sanitizing, and escaping
113114
* simplified code
114115

115-
= 3.1.4 =
116+
### 3.1.4
116117

117118
* add Content-Type header to WebSub requests
118119

119-
= 3.1.3 =
120+
### 3.1.3
120121

121122
* update configuration files, fix typos, update dependencies
122123

123-
= 3.1.2 =
124+
### 3.1.2
124125

125126
* add new WebSub Hub
126127

127-
= 3.1.1 =
128+
### 3.1.1
128129

129130
* fix deprecation issue (PHP8)
130131
* add `_deprecated_function` warnings
131132

132-
= 3.1.0 =
133+
### 3.1.0
133134

134135
* update wording (more consequent use of WebSub)
135136
* add category-, tag- and author-feeds support
136137

137-
= 3.0.3 =
138+
### 3.0.3
138139

139140
* update dependencies
140141

141-
= 3.0.2 =
142+
### 3.0.2
142143

143144
* better `self-link` generator
144145

145-
= 3.0.1 =
146+
### 3.0.1
146147

147148
* add donation button
148149

149-
= 3.0.0 =
150+
### 3.0.0
150151

151152
* optimized the DB load
152153
* added help section
153154
* better code encapsulation
154155

155-
= 2.2.2 =
156+
### 2.2.2
156157

157158
* temporarily remove comment-feed support to be more GDPR compliant
158159

159-
= 2.2.1 =
160+
### 2.2.1
160161

161162
* display topic URLs on the settings page
162163

163-
= 2.2.0 =
164+
### 2.2.0
164165

165166
* fixed a discovery bug
166167
* changed http client
167168

168-
= 2.1.0 =
169+
### 2.1.0
169170

170171
* save pinged URLs to add correct headers
171172

172-
= 2.0.0 =
173+
### 2.0.0
173174

174175
* Complete rewrite
175176
* Support WebSub
176177

177-
= 1.0.0 =
178+
### 1.0.0
178179

179180
* First attempt
180181

181-
== Upgrade Notice ==
182+
## Upgrade Notice
182183

183-
= 4.0.0 =
184+
### 4.0.0
184185

185186
Major update with namespace refactoring and new Subscriber API. Review your code if you were using internal functions directly.

0 commit comments

Comments
 (0)