A Pelican plugin to make a list of hot posts by social media.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pelican_hot-0.1.tar.gz.
File metadata
- Download URL: pelican_hot-0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28931ea338b12554cca48139e0675781af6428d265739d8057d418bbdfd89b67
|
|
| MD5 |
ca5564e5c44f52e991031e4527c97b42
|
|
| BLAKE2b-256 |
b42c76097923362d44df37f91c35338ecf53970b8b14b662794ea62c5e22656f
|
File details
Details for the file pelican_hot-0.1-py2.7.egg.
File metadata
- Download URL: pelican_hot-0.1-py2.7.egg
- Upload date:
- Size: 3.5 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1345f306a3b7ffa06af6d1aa3c1394a7b96348a0d47e134c100839d32e59a7f4
|
|
| MD5 |
2d2c41966100646809308a607fd3c7ba
|
|
| BLAKE2b-256 |
fc3d251d8dcff6c473ba5a49e561a9ba170f44e1d677dcaf1cffebfae4aadc6b
|