Data feed file integration price comparison shopping script

Documentation Wiki - DataFeedFile.com - Online merchant datafeed integration for affiliates : dffDFFConfigPHP

HomePage | Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Home Affiliate FAQ Merchant FAQ Examples Merchants Networks & Programs Forum Blog Wiki Knowledge Base Login

DFF_config.php Detailed Explanation

part of DFF Framework API

$DFF_config['debug'] = 1;
Turn on/off debug + error messages.
0 = turn off / disable
any value greater than 0 will turn on debug.
For now just set value to numeric 1 to turn on debug. In the future we may use certain value greater than 0 to indicate certain debug feature.

$DFF_config['affid'] = '1001';
Enter your DFF Affiliate ID here. DFF Affiliate ID is a numerical number greater than 1000. 1001 is known to be DFF's test affiliate ID. We use 1001 when showing examples.
If you do not have a DFF Affiliate ID, you need to Sign-up free as affiliate here.
If you are already an affiliate of DFF, you will find your affiliate ID #, on the top right corner of web page after you login.

$DFF_config['token'] = 'YTA4ZDkyMDI2MTMyZWU4MWFhN2EwMT';
Enter your DFF Token here. Your DFF Token is a long alphanumeric sequence of characters which serves as lightweight security to properly identify you as the same authorized user of your DFF affiliate ID # / account while performing queries. DFF Token is usually only needed when performing pure data retrieval queries such as JSON / XML queries.
You can set or reset your DFF Token from Affiliate Login > Settings > DFF Token.
NOTE: Reseting your DFF Token to a new value while already using a previous DFF Token value, may cause your scripts to stop working. It is best to always use DFF Token via a Global / Public variable such as this $DFF_config['token'] variable, so that you only have 1 location to update to change all DFF Token value for your whole web site.

$DFF_config['domain'] = 'YourDomainName.com';
Enter your domain name here. Without the sub-domain prefix.
Example if your web site URL is: www.mywebsite.com, just enter 'mywebsite.com' here.

$DFF_config['site_name'] = 'Your Site Name Here';
Enter a short title or short description for your web site. Keep it short about 3 - 6 words only recommended. One single line only.

$DFF_config['site_keyword'] = 'coupon code,coupon saving,coupon site,rebate list,rebate center,deal website,deal site,deal listing';
Enter the keywords relevant to your web site separated by comma. Each keyword can be 1 - 5 words long.

$DFF_config['site_desc'] = 'Daily update listing of coupon codes, rebates, deals, bargains, freebies and free shipping from all over the internet. We have deals from almost all online stores from Amazon to Walmart Online.';
Enter the long description for your web site here.

$DFF_config['site_title_separator'] = '-';
We will use this 'site_title_separator' on HTML <title> tag to separate between the primary title content and the filler or default title which will be appended at the end of every web page title (Website Title Base - 'site_title_base' see below).

$DFF_config['site_title_base'] = 'Website Title Base';
Base HTML title content which will be appended at the end of web page title right after the 'site_title_separator' setting above.

$DFF_config['url_base'] = 'http://www.datafeedfile.com/instant_website/deals_only/simple_green/';
The base / document root URL of your web site. This is the BASE URL where your web site content starts. Usually this is the same URL where your home page (index.php, index.html, default.asp) exists. Please make sure to include '/' at the end

$DFF_config['url_dff'] = 'http://www.datafeedfile.com/';
DataFeedFile.com base URL. You should not need to change this URL. Please make sure to include '/' at the end

$DFF_config['url_image'] = $DFF_config['url_base'].'DFF/image/';
DFF Framework API image files directory URL. Please make sure to include '/' at the end

$DFF_config['url_style'] = $DFF_config['url_base'].'DFF/style/';
DFF Framework API CSS stylesheet files directory URL. Please make sure to include '/' at the end

$DFF_config['url_dffml'] = $DFF_config['url_base'].'DFF/dffml/';
DFF Framework API DFFML files directory URL. Please make sure to include '/' at the end

$DFF_config['url_post'] = 'http://www.datafeedfile.com/rest/';
URL where DFF REST processing script is located at. You should not need to change this URL. Please make sure to include '/' at the end

$DFF_config['dir_base'] = '/data/dff/instant_website/deals_only/simple_green/';
Directory path to your web site document_root directory.
Linux example: '/usr/local/apache/htdocs/'
Most shared hosting: '/home/youraccount/public_html/'
Windows example: 'c:/apache/htdocs/'
if you are using PHP you can use the global variable $_SERVER['DOCUMENT_ROOT'] which probably would be the same value you want to use for dir_base.
Please make sure to include '/' at the end

$DFF_config['dir_include'] = $DFF_config['dir_base'].'DFF/include/';
Directory path to DFF Framework API include files.

$DFF_config['dir_image'] = $DFF_config['dir_base'].'DFF/image/';
Directory path to DFF Framework image files.

$DFF_config['dir_style'] = $DFF_config['dir_base'].'DFF/style/';
Directory path to DFF Framework CSS stylesheet files.

$DFF_config['dir_dffml'] = $DFF_config['dir_base'].'DFF/dffml/';
Directory path to DFF Framework DFFML files.

$DFF_config['style_default'] = $DFF_config['url_style'].'DFF_default.css';
URL to DFF Framework default CSS stylesheet file.

$DFF_config['email_main'] = 'webmaster@'.$DFF_config['domain'];
Webmaster / admin email address for person responsible for this web site content.

$DFF_config['currency_symbol'] = '$';
Country currency symbol.

$DFF_config['currency_decimals'] = 2;
Number of decimal digits normally used when displaying price.

$DFF_config['currency_decimal_symbol'] = '.';
Character / symbol used to separate between decimal digits and whole number when displaying price.

$DFF_config['currency_thousand_symbol'] = ',';
Character / symbol used to separate between thousands (every 3 digits) when displaying price.
Example: 1,000,000

$DFF_config['date_format_short'] = 'n/j/y';
Short version date display format. DFF uses the same date format parameter values as PHP.
'n/j/y' will display a date like: 8/1/08

$DFF_config['date_format_long'] = 'D, M j Y';
Long version date display format. DFF uses the same date format parameter values as PHP.
'D, M j Y' will display a date like: Mon, Sep 1 2008

There are no comments on this page. [Add comment]

Integrate price comparison shopping data feed file from thousands of online merchant product data feeds | Valid CSS

Page was generated in 0.0166 seconds