Skip to content

ActiveCampaign/example-recent_campaigns_rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

ActiveCampaign Custom API Script: Fetch recent campaigns and format it as an RSS feed, with each item showing the message HTML and a link to the web copy of the campaign.

Requirements

  1. Our PHP API library
  2. A web server where you can run PHP code

Installation and Usage

You can install example-recent_campaigns_rss by downloading (or cloning) the source.

Input your ActiveCampaign URL and API Key. Example below:

define("ACTIVECAMPAIGN_URL", "YOUR ACTIVECAMPAIGN URL");
define("ACTIVECAMPAIGN_API_KEY", "YOUR ACTIVECAMPAIGN API KEY");

Make sure the path to the PHP library is correct:

require_once("../../activecampaign-api-php/includes/ActiveCampaign.class.php");

To specify what list the script uses (to find recent campaigns from), set the listid parameter in the URL:

http://example.com/script.php?listid=10

(If you don't set the listid parameter, it will try using list ID 1 by default.)

Copy the URL of the script to load it in an RSS reader.

Documentation and Links

Reporting Issues

We'd love to help if you have questions or problems. Report issues using the Github Issue Tracker or email help@activecampaign.com.

About

Recent Campaigns formatted as RSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages