Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
AWeber.com integration for Plone
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
buildout.d
docs
src/niteoweb
.gitignore
.travis.yml
MANIFEST.in
Makefile
README.rst
bootstrap.py
buildout.cfg
setup.py

README.rst

AWeber.com integration for Plone

A Plone add-on that integrates AWeber email autoresponder system with Plone.

Installation

Within virtualenv from PyPI

$ virtualenv --no-site-packages myproject
$ cd myproject
$ bin/pip install niteoweb.aweber

With buildout from PyPI

Add niteoweb.aweber to buildout.cfg under eggs section and then run bin/buildout.

Installation with mr.developer

Modify buildout.cfg to install this package with mr.developer:

[buildout]
extensions = mr.developer
auto-checkout = niteoweb.aweber

[sources]
niteoweb.aweber = git git://github.com/niteoweb/niteoweb.aweber.git

Configuration

AWeber

Get a free account at AWeber Labs to create an application. You are going to need an App ID.

You will also need an AWeber account.

Plone

  1. Go to Site Setup -> Configure Aweber control panel form.
  2. Enter App ID into the correct field.
  3. Click Get auth code.
  4. A message will appear on top of the page. Visit the link in the message.
  5. Fill out the form on the page with your AWeber account.
  6. Click Allow Access.
  7. Copy authorization code to Authorization Code field in Plone control panel form.
  8. Click Parse auth code and update lists to get fill in four necessary fields and to update list names field choices.
  9. Choose desired List name.
  10. Click Save to save App ID and List Name choice.

Usage

Subscribe a new user from Python code

After successful configuration in Plone control panel for AWeber you can use the following snippet to subscribe a new user.

>>> from niteoweb.aweber.aweberapi import subscribe_to_aweber_mailinglist
>>> email = "some.one@xyz.xyz"
>>> fullname = "Some One"
>>> subscribe_to_aweber_mailinglist(email, fullname)

Manually subscribe a new user

After successful configuration in Plone control panel for AWeber you can manually subscribe a new user to your mailing list.

  1. Go to Site Setup -> Configure Aweber control panel form.
  2. Make sure that value of List Name field is selected.
  3. Fill out the Subscriber's full name and Subscriber's email.
  4. Click Subscribe new user.
  5. On success, subscriber's fields will be emptied.

Update lists

After successful configuration in Plone control panel for AWeber you can also update mailing lists only, without parsing of authorization code.

  1. Go to Site Setup -> Configure Aweber control panel form.
  2. Click Update lists only.
Something went wrong with that request. Please try again.