Pelican Hot Plugin is a plugin for pelican to show hot posts on your blog. These hot posts will be selected based on the social media score. Now, you can choose it from Twitter or Facebook (also both.)
Installation
This plugin is not registered on PyPI. You should clone this repository and install through pip:
git clone git@github.com:wutali/pelican_hot.git cd pelican_hot pip install -e .
Configuration
Put this code on your pelicanconf.py and customize it:
HOT_POSTS_DUMMY = False # Insert dummy articles as a hot posts for the development environment. HOT_POSTS_MAX = 7 # Show hot posts limited by this. HOT_POSTS_INCLUDE_FACEBOOK = True # Weight which post is hot based on Facebook shares. HOT_POSTS_INCLUDE_TWITTER = True # Weight which post is hot based on Twitter tweets. HOT_POSTS_SHUFFLE = True # Shuffle the hot posts before showing it.
License
Pelican hot is released under the MIT License. http://www.opensource.org/licenses/mit-license
Release files for pelican_hot 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pelican_hot-0.1.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pelican_hot-0.1-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 5.7 kB
Release files / pelican_hot-0.1.tar.gz
| Download URL | pelican_hot-0.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28931ea338b12554cca48139e0675781af6428d265739d8057d418bbdfd89b67
|
|
BLAKE2b-256 checksum How to use checksums |
b42c76097923362d44df37f91c35338ecf53970b8b14b662794ea62c5e22656f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pelican_hot-0.1-py2.7.egg
| Download URL | pelican_hot-0.1-py2.7.egg |
|---|---|
| Size | 3.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
1345f306a3b7ffa06af6d1aa3c1394a7b96348a0d47e134c100839d32e59a7f4
|
|
BLAKE2b-256 checksum How to use checksums |
fc3d251d8dcff6c473ba5a49e561a9ba170f44e1d677dcaf1cffebfae4aadc6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |