This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Clone https://github.com/campaignmonitor/createsend-php into packages/campaignmonitor | |
require_once MODX_BASE_PATH . 'packages/campaignmonitor/csrest_subscribers.php'; | |
//require_once MODX_BASE_PATH . 'packages/campaignmonitor/csrest_general.php'; | |
// API key for CampaignMonitor | |
$auth = array('api_key' => 'YOUR_API_KEY'); | |
// Initialize subscribers | |
$wrap = new CS_REST_Subscribers('YOUR_CLIENT_ID', $auth); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* xPDO Wordpress to MODX Migration Code | |
* | |
* Original author: James Ehly | |
* Original source: http://devtrench.com/posts/first-impressions-of-xpdo-wordpress-to-modx-migration-tool | |
* | |
* This script uses xpdo to connect to modx and wordpress packages to migrate | |
* data from a wordpress database to a modx database. | |
* |