publisher of pubsubhubbub (PuSH) in Mezzanine.
Project description
mezzanine_pubsubhubbub_pub
==========================
[![Build Status](https://travis-ci.org/kemsakurai/mezzanine-pubsubhubbub-pub.svg?branch=master)](https://travis-ci.org/kemsakurai/mezzanine-pubsubhubbub-pub)
Publisher support of pubsubhubbub for mezzanine's blog
Inspired by [brutasse/django-push: PubSubHubbub support for Django](https://github.com/brutasse/django-push), this package is created.
Requirements
------------
* mezzanine
* requests
* mock (for test)
Installation
------------
```console
pip install mezzanine_pubsubhubbub_pub
```
Usage
======================
### add aplication to settings.py
```python
INSTALLED_APPS = (
"mezzanine_pubsubhubbub_pub",
"mezzanine.boot",
"mezzanine.conf",
"mezzanine.generic",
......
```
### add feed urlpatterns to urls.py
```python
from mezzanine_pubsubhubbub_pub import get_feed_url_patterns
urlpatterns += get_feed_url_patterns()
```
### add PUSH_HUB to settings.py
PUSH_HUB is hub server to be notified
There can be multiple URL set in the Taple.
Default : ```("https://pubsubhubbub.appspot.com/",)```
This setting will not be editable via the admin.
### add PUSH_URL_PROTOCOL to settings.py
Set the protocol of the Feed URL to be notified .
HTTP_ONLY, a HTTPS_ONLY, BOTH can be set ,
BOTH is done the notification in the HTTP / HTTPS both the Feed URL.
Default : ```HTTP_ONLY```
This setting will be editable via the admin.
TODO
====
* Support for the lower version
* Flexible feed URL setting
* Create batch jobs
==========================
[![Build Status](https://travis-ci.org/kemsakurai/mezzanine-pubsubhubbub-pub.svg?branch=master)](https://travis-ci.org/kemsakurai/mezzanine-pubsubhubbub-pub)
Publisher support of pubsubhubbub for mezzanine's blog
Inspired by [brutasse/django-push: PubSubHubbub support for Django](https://github.com/brutasse/django-push), this package is created.
Requirements
------------
* mezzanine
* requests
* mock (for test)
Installation
------------
```console
pip install mezzanine_pubsubhubbub_pub
```
Usage
======================
### add aplication to settings.py
```python
INSTALLED_APPS = (
"mezzanine_pubsubhubbub_pub",
"mezzanine.boot",
"mezzanine.conf",
"mezzanine.generic",
......
```
### add feed urlpatterns to urls.py
```python
from mezzanine_pubsubhubbub_pub import get_feed_url_patterns
urlpatterns += get_feed_url_patterns()
```
### add PUSH_HUB to settings.py
PUSH_HUB is hub server to be notified
There can be multiple URL set in the Taple.
Default : ```("https://pubsubhubbub.appspot.com/",)```
This setting will not be editable via the admin.
### add PUSH_URL_PROTOCOL to settings.py
Set the protocol of the Feed URL to be notified .
HTTP_ONLY, a HTTPS_ONLY, BOTH can be set ,
BOTH is done the notification in the HTTP / HTTPS both the Feed URL.
Default : ```HTTP_ONLY```
This setting will be editable via the admin.
TODO
====
* Support for the lower version
* Flexible feed URL setting
* Create batch jobs
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for mezzanine-pubsubhubbub-pub-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48740cc863a48bc9b8018963daa72b912f18b0b7b18ac57aa6992fe9e55f6821 |
|
MD5 | db742ef4015df0458d84e9fac21849bf |
|
BLAKE2b-256 | c5cbe785cb837fb90c4720f67d50d243df3a659dade0b58cdb8582bfa177350e |