Skip to content

jasongwartz/PelicanReceiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PelicanReceiver

Post to a Pelican blog by email.

Installation

Place the "/receiver" folder in your Pelican directory.

Config

Place a config.json file in the receiver directory. Lay out the receiver/config.json file as follows:

{
  "login": {
    "imap_server":"_SERVER_",
    "imap_port":993,
    "smtp_server":"_SERVER_",
    "smtp_port":465,
    "username":"_USERNAME_",
    "password":"_PASSWORD_"
  }
}

Usage

Send an email to the email address provided in the config file. The script will automatically filter the beginning of the subject line and process the content accordingly.

For a location update, the subject of the email should read:

Location: LOCATION NAME

For a new post, the subject of the email should read:

Post: POST NAME HERE

Currently, one photo can be included in a post. The photo will be placed in content/images and placed at the top of the blog post.

About

Post to a Pelican blog by email.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published