Skip to content

Commit

Permalink
doku
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Jun 6, 2017
1 parent 582486f commit a6581b1
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
21 changes: 20 additions & 1 deletion Gruntfile.js
Expand Up @@ -10,6 +10,24 @@ module.exports = function(grunt) {
screenshot_url: 'https://ps.w.org/pubsubhubbub/trunk/{screenshot}.png'
},
},
replace: {
dist: {
options: {
patterns: [
{
match: /^/,
replacement: '[![Build Status](https://travis-ci.org/pubsubhubbub/wordpress-pubsubhubbub.svg?branch=master)](https://travis-ci.org/pubsubhubbub/wordpress-pubsubhubbub) [![Issue Count](https://codeclimate.com/github/pubsubhubbub/wordpress-pubsubhubbub/badges/issue_count.svg)](https://codeclimate.com/github/pubsubhubbub/wordpress-pubsubhubbub) \n\n'
}
]
},
files: [
{
src: ['readme.md'],
dest: './'
}
]
}
},
makepot: {
target: {
options: {
Expand All @@ -24,7 +42,8 @@ module.exports = function(grunt) {

grunt.loadNpmTasks('grunt-wp-readme-to-markdown');
grunt.loadNpmTasks('grunt-wp-i18n');
grunt.loadNpmTasks('grunt-replace');

// Default task(s).
grunt.registerTask('default', ['wp_readme_to_markdown']);
grunt.registerTask('default', ['wp_readme_to_markdown', 'replace']);
};
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -9,7 +9,8 @@
"devDependencies": {
"grunt": "^0.4.5",
"grunt-wp-i18n": "^0.5.0",
"grunt-wp-readme-to-markdown": "^0.8.0"
"grunt-wp-readme-to-markdown": "^0.8.0",
"grunt-replace": "^1.0.1"
},
"license": "GPL",
"keywords": [
Expand Down
6 changes: 5 additions & 1 deletion readme.md
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/pubsubhubbub/wordpress-pubsubhubbub.svg?branch=master)](https://travis-ci.org/pubsubhubbub/wordpress-pubsubhubbub) [![Issue Count](https://codeclimate.com/github/pubsubhubbub/wordpress-pubsubhubbub/badges/issue_count.svg)](https://codeclimate.com/github/pubsubhubbub/wordpress-pubsubhubbub)

# WebSub/PubSubHubbub #
**Contributors:** pfefferle, joshfraz
**Donate link:** http://14101978.de
Expand All @@ -18,7 +20,9 @@ This plugin:
* Supports multi-user installations (Wordpress MU)
* Supports multiple hubs
* Supports all of the feed formats used by WordPress, not just ATOM and RSS2
* Supports latest spec ([Version 0.4](https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html))
* Supports latest specs
* PubSubHubbub [Version 0.4](https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html)
* WebSub [Dev Version](https://www.w3.org/TR/websub/)
* Announces which hubs you are using by adding `<link rel="hub" ...>` declarations to your template header and ATOM feed
* Adds `<atom:link rel="hub" ...>` to your RSS feeds along with the necessary XMLNS declaration for RSS 0.92/1.0

Expand Down
4 changes: 3 additions & 1 deletion readme.txt
Expand Up @@ -18,7 +18,9 @@ This plugin:
* Supports multi-user installations (Wordpress MU)
* Supports multiple hubs
* Supports all of the feed formats used by WordPress, not just ATOM and RSS2
* Supports latest spec ([Version 0.4](https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html))
* Supports latest specs
* PubSubHubbub [Version 0.4](https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html)
* WebSub [Dev Version](https://www.w3.org/TR/websub/)
* Announces which hubs you are using by adding `<link rel="hub" ...>` declarations to your template header and ATOM feed
* Adds `<atom:link rel="hub" ...>` to your RSS feeds along with the necessary XMLNS declaration for RSS 0.92/1.0

Expand Down

0 comments on commit a6581b1

Please sign in to comment.