Skip to content
This repository has been archived by the owner on Aug 10, 2017. It is now read-only.
/ django-emailpost Public archive

Post to Django blogs via email.

License

Notifications You must be signed in to change notification settings

jk0/django-emailpost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-emailpost - Post to Django blogs via email.


Installation

    git clone git://github.com/jk0/django-emailpost.git
    cd django-emailpost
    sudo ln -s /path/to/django-emailpost /usr/bin

    sudo apt-get install postfix
    sudo postconf -e "mailbox_command = django-emailpost --tweet -p <project path> -a <app> -r <recipient>"
    sudo /etc/init.d/postfix restart


DB Model Assumptions

    class Category(models.Model):
        name = models.CharField()

    class Post(models.Model):
        title = models.CharField()
        slug = models.CharField()
        date = models.DateTimeField()
        body = models.TextField()
        published = models.BooleanField()
        categories = models.ManyToManyField(Category)


Twitter Requirements

    The following variables need to be set in settings.py:

        BITLY_LOGIN
        BITLY_APIKEY

        TWITTER_CONSUMER_KEY
        TWITTER_CONSUMER_SECRET
        TWITTER_ACCESS_TOKEN_KEY
        TWITTER_ACCESS_TOKEN_SECRET

About

Post to Django blogs via email.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages