Skip to main content

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

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pelican_hot-0.1-py2.7.egg (3.5 kB) Copy SHA256 hash SHA256 Egg 2.7 Mar 8, 2014
pelican_hot-0.1.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None Mar 8, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page