Skip to main content

Aweber API integration for Plone.

Project description

================================
AWeber.com integration for Plone
================================

A Plone add-on that integrates `AWeber <http://www.aweber.com>`_ email
autoresponder system with `Plone <http://plone.org>`_.

* `Source code @ GitHub <https://github.com/niteoweb/niteoweb.aweber>`_
* `Continuous Integration @ Travis-CI <http://travis-ci.org/niteoweb/niteoweb.aweber>`_


Installation
============

Within virtualenv from PyPI
---------------------------

.. sourcecode:: bash

$ 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 <https://labs.aweber.com>`_ to create an
application. You are going to need an ``App ID``.

You will also need an `AWeber`_ account.


Plone
-----

#. Go to ``Site Setup`` -> ``Configure Aweber`` control panel form.
#. Enter ``App ID`` into the correct field.
#. Click ``Get auth code``.
#. A message will appear on top of the page. Visit the link in the message.
#. Fill out the form on the page with your `AWeber`_ account.
#. Click ``Allow Access``.
#. Copy authorization code to ``Authorization Code`` field in ``Plone`` control
panel form.
#. Click ``Parse auth code and update lists`` to get fill in four necessary
fields and to update `list names` field choices.
#. Choose desired ``List name``.
#. 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.

.. sourcecode:: python

>>> 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.

#. Go to ``Site Setup`` -> ``Configure Aweber`` control panel form.
#. Make sure that value of ``List Name`` field is selected.
#. Fill out the ``Subscriber's full name`` and ``Subscriber's email``.
#. Click ``Subscribe new user``.
#. 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.

#. Go to ``Site Setup`` -> ``Configure Aweber`` control panel form.
#. 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 details)

Uploaded Source

File details

Details for the file niteoweb.aweber-0.1.zip.

File metadata

  • Download URL: niteoweb.aweber-0.1.zip
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for niteoweb.aweber-0.1.zip
Algorithm Hash digest
SHA256 43fe7553eaecd3fd2a80fb0e024c43410e42d8ffe1bafe18da8fcb39ad6fd556
MD5 8ef6b9380c6f86fccf52fff6e03b1b2a
BLAKE2b-256 3799cce85a4fa707e92353dd60ae1111b5b6da5be2d30c9787f4b6e1d94d03ed

See more details on using hashes here.

Supported by

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