This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A collection of useful, non-WordPress extensions for django-wordpress (the real one).

pip install the-real-django-wordpress-extras

Add wordpressext to INSTALLED_APPS in settings.py.

Be sure to put wordpressext above wordpress in urls.py:

urlpatterns += patterns('',
    ...
    url(r'^blog/', include('wordpressext.urls')),
    url(r'^blog/', include('wordpress.urls')),
    ...
)

Email sender is determined in the following order:

  1. settings.WPEXT_SENDER email address
  2. settings.POSTMARK_SENDER if Postmark settings are configured and WPEXT_SENDER does not exist
  3. settings.ADMINS the first admin email address, if POSTMARK_SENDER does not exist

Features

Parse.ly Meta Template Tag

Generate a Parse.ly meta tag:

{% parselymeta post %}

Disqus Comment Notifications

It’s the only feature for now! And it’s only half implemented!

If you use Disqus for comments, you can provide a post-comment JavaScript hook to notify post authors of the new comment. Here is some example JavaScript you can do enable comment notifications:

var newComment = function(comment) {
    var url = window.location.href + "disqus/";
    var params = {
        id: comment.id,
        text: comment.text,
        csrfmiddlewaretoken: csrftoken  // you'll have to get this from somewhere
    };
    $.post(url, comment, function(data) {
        // don't really need to do anything
    });
};

var disqus_config = function() {
    this.callbacks.onNewComment = [function(comment) { newComment(comment); }];
};

The comment endpoint is located at <path_to_blog>/<year>/<month>/<day>/<slug>/disqus/. It accepts the following POST parameters:

  • id the Disqus ID of the comment
  • text the text of the comment
  • csrfmiddlewaretoken a CSRF token, if protection is enabled

Refer to the onNewComment callback on how to implement your own.

Future versions will connect with the Disqus API to do various things.

Release History

Release History

0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
the-real-django-wordpress-extras-0.4.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Apr 8, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting