constant ADSENSE_INJECTOR_MODULE_VERSION in Content Injector (formerly AdSense Injector) 5
Inject adsense ads into node content automatically.
Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights Reserved. Licensed under the terms of the GNU Public License (GPL) version 2. Please see LICENSE.txt for license terms. Posession and use of this code signifies acceptance of license terms.
Visit Exodus Development at http://exodusdev.com exodusdev@gmail.com
Project homepage: http://exodusdev.com/drupal/4.7/modules/adsense_injector.module
The purpose of this module is to provide a simple method of automatically placing 'inline' adsense module content into a full-page view of selected node types. It does this by intercepting node rendering using hook_nodeapi during 'page' rendering, and injecting selected text into the $node->body field.
It uses a very simple scheme at present (just string concatenation) and could be enhanced greatly by using regular expressions, templates, or other techniques in a later revision.
1 use of ADSENSE_INJECTOR_MODULE_VERSION
- _adsense_injector_get_banner in ./
adsense_injector.module - Get settings 'banner'
File
- ./
adsense_injector.module, line 28
Code
define('ADSENSE_INJECTOR_MODULE_VERSION', '$Id$');