The affCAFF Manager Data Generator

General Links
General Sections
affCAFF Manager - The Basics
affCAFF Manager - Advanced
affCAFF Content Providers
The affCAFF Data Generator
The affCAFF Data Generator is installed within the affCAFF Manager and is an easy way to generate the two bits of code you need to display the data streams within your webpages. The Data Generator page should be fairly self-explanatory: login to affCAFF Manager on your own server, go to the Data Generator page and follow the two simple steps to add the code to your page.

affCAFF Data Generator

If you already run a PHP site and have a functions file you "include" in your pages, you can add the "include_once" code shown in STEP 1 on your Data Generator page to the file you already include. This will save you having to add it to each page on your site where you run affCAFF content.

The Property Selection Menu
The Properties that you are able to select from in the Data Manager are those that have active data streams only - ie: they have one or more news items to display. You may wonder why that the affCAFF website shows more properties than you can access in the Data Manager - this is because some content providers have more properties registered but have yet to add any live items. The list of properties will update automatically when you log into affCAFF Manager.

The Display Style
The display styles are eiher pre-configured options installed with affCAFF (probably all you need) or your own mini-templates you create yourself. Creating and editing these are explained in the Creating Display Templates section.

Number Of Items
You are asked to select the maximum number of items for each data stream. This should be fairly self-explanatory. The maximum supported value is 10, however you can increase this exponentially if you are "merging" data streams (see below).

Merging Properties
There are tow boxes that create "Merge" parameters for you. Select as many properties from the left hand box as you like, and remove them using the right hand dropdown menu.

Example Code
A number of the more popular code configurations are available to copy and paste to save some time. To get hold of these, go to the Code Examples page.

Advanced Options
There is also some information on advanced data generation here in the manual which explains how to achieve a number of other more complex examples, including defining your own parameters, outputting as RSS, scheduling CRON to pick up the data streams and a load more functionality.

Copyright © 2008-2019