[2017-07-24 11:38:52]exception 'Error' with message '[Mongo] connect failed 127.0.0.1 : Failed to connect to: 127.0.0.1:27017: Connection refused' in /data_local/us/dff2_prod/inc/db_mongo.class.php:42 Stack trace: #0 /data_local/us/dff2_prod/inc/DataObj.class.php(72): db_mongo->__construct(0, false, false) #1 /data_local/us/dff2_prod/inc/DataObj/DataObj_aff.class.php(74): DataObj->__construct(Array) #2 /data_local/us/dff2_prod/inc/Data.class.php(14): DataObj_aff->__construct() #3 /data_local/us/dff1/functions/aff.func.php(80): Data::obj('aff') #4 /data_local/us/dff1/functions/aff.func.php(196): get_aff_info_all(1001) #5 /data_local/us/dff1/examples/xml.php(26): get_aff_token_ip(1001) #6 {main}[2017-07-24 11:38:52]exception 'Error' with message '[Mongo] connect failed 127.0.0.1 : Failed to connect to: 127.0.0.1:27017: Previous connection attempts failed, server blacklisted' in /data_local/us/dff2_prod/inc/db_mongo.class.php:42 Stack trace: #0 /data_local/us/dff2_prod/inc/DataObj.class.php(72): db_mongo->__construct(0, false, false) #1 /data_local/us/dff2_prod/inc/DataObj/DataObj_aff_site.class.php(75): DataObj->__construct(Array) #2 /data_local/us/dff2_prod/inc/Data.class.php(14): DataObj_aff_site->__construct() #3 /data_local/us/dff1/functions/aff.func.php(86): Data::obj('aff_site') #4 /data_local/us/dff1/functions/aff.func.php(196): get_aff_info_all(1001) #5 /data_local/us/dff1/examples/xml.php(26): get_aff_token_ip(1001) #6 {main} DataFeedFile.com Sample Website for Data Feed File Price Comparison Shopping Script Integration Examples

XML + Dynamic Scripting

When using XML data, most of the time you must process the data using a dynamic web scripting language such as PHP, ASP, ASP.net, Ruby, Python, JSP, etc...

Basicaly the concept of the process are:
  • Make a call to DFF server to request XML data
  • Parse returned XML data (in a string) to an Array in whatever language you use
  • Use the newly generated Array data to fill in HTML content on you web page

NOTE: You must specify your AFFID (affiliate ID) and DFF XML Token in the query string to use our RSS Feeds.

Please select and click on the links above to choose the different types of XML web services provided.



< Back to DataFeedFile.com