Skip to main content

Aweber API integration for Plone.

Project description

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.

Changelog

0.1 (2013-02-09)

  • Initial release. [matejc, zupo]

License (3-clause BSD)

Copyright (c) 2013, NiteoWeb Ltd. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of NiteoWeb Ltd. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NITEOWEB LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

niteoweb.aweber-0.1.zip (45.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page