Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

Portlet AdSense README

A Plone3 style portlet to use Google AdSense in a Plone site.

Features

Portlet AdSense allows to easily insert Google AdSense code in a Plone site using a dedicated portlet.

It also provides configuration options to:

use a pre-built Google AdSense slot code customize Ad colors customize PSA behaviour set test mode on

Requirements

  • zope 2.10.x

  • plone 3.x

Release notes

Tested on Plone 3.1. It should run on any Plone 3.x

Installing

Installing without buildout

You can install this package in either your system path packages or in the lib/python directory of your Zope instance. You can do this using either easy_install or via the setup.py script.

After installing the package it needs to be registered in your Zope instance. This can be done by putting a collective.portlet.adsense-configure.zcml file in the etc/pakage-includes directory with this content:

<include package="collective.portlet.adsense" />

or, alternatively, you can add that line to the configure.zcml in a package or Product that is already registered.

Installing with buildout

If you are using buildout to manage your instance installing collective.portlet.adsense is even simpler. You can install it by adding it to the eggs line for your instance:

[instance]
eggs = collective.portlet.adsense
zcml = collective.portlet.adsense

The last line tells buildout to generate a zcml snippet that tells Zope to configure collective.portlet.adsense.

If another package depends on the AdSense portlet egg or includes its zcml directly you do not need to specify anything in the buildout configuration: buildout will detect this automatically.

After updating the configuration you need to run the ‘’bin/buildout’’, which will take care of updating your system.

Usage notes

AdSense code and Size are always mandatory. AdSense slot code is optional; if an ad sense slot code is used its size and format should match the one choosen in the Size field.

Custom colors will override other choices

Alternate color and Alternate URL fields can be used to customize the Ad space behaviour in the event that Google is unable to serve targeted ads.

Full information on Google AdSense can be found in the Google AdSense documentation: https://www.google.com/adsense/support

Known bugs

No known bugs

Credits

Portlet AdSense developement by Francesco Merlo - francesco.merlo@reflab.com Portlet AdSense contributions by Eleonora Borelli - eleonora@reflab.com

License

See docs/LICENSE.txt

Metadata

Release files for collective.portlet.adsense 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for collective.portlet.adsense 0.5
File Size Uploaded
collective.portlet.adsense-0.5.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for collective.portlet.adsense 0.5
File Interpreter ABI Platform
collective.portlet.adsense-0.5-py2.4.egg Legacy Egg format - - Details

Total release size: 29.8 kB

Release files / collective.portlet.adsense-0.5.tar.gz

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL collective.portlet.adsense-0.5.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dc7132fc814bf41741d9fc8c8d4fd38ff276055b6be2f0fef1c755ae7babd2e7
BLAKE2b-256 checksum
How to use checksums
6cc63c230ff0db5811e78e62898d7dba68b1e1873bd0b858ee64343f26fa0f47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / collective.portlet.adsense-0.5-py2.4.egg

Download URL collective.portlet.adsense-0.5-py2.4.egg
Size 18.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
0b062ad7e249a9c7d73aaa2f73aaa9547560ae5ccbd7d2d7996dbd93c8989803
BLAKE2b-256 checksum
How to use checksums
7512828be2d3133544b1beab91c74d20d78272d5c430f5431253388d8a20bc1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page