Data feed file integration price comparison shopping script

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

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

Revision [637]

Last edited on 2009-05-05 11:54:17 by admin
Additions:
if you are getting errors using remote URL include such as:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in ...
[function.include]: failed to open stream: no suitable wrapper could be found ...
Warning: include() [function.include]: Failed opening 'http://www.datafeedfile.com
Please read: [[dffRemoteInclude]]


Revision [609]

Edited on 2009-03-17 10:38:51 by admin
Additions:
===Using JSP===
coming soon... or somebody would like to contribute here?
===Using Ruby===
coming soon... or somebody would like to contribute here?


Revision [608]

Edited on 2009-03-17 10:16:13 by admin
Additions:
We are not Python programmers, the following code is untested as of 3/16/2009, if you are testing it and found that it does not work, please let DFF staff know.
urlStr = 'http://www.datafeedfile.com/some_dff_script.php?affid=....&' + os.environment('QUERY_STRING')
print 'Error getting content from DFF:'
Deletions:
urlStr = 'http://www.datafeedfile.com/some_dff_script.php?affid=....&'
print 'Error getting content from DFF:' % urlStr


Revision [607]

Edited on 2009-03-17 10:11:25 by admin
Additions:
===Using PHP===
===Using ASP===
We are not ASP programmers, the following code is untested as of 3/16/2009, if you are testing it and found that it does not work, please let DFF staff know.
%%(asp)
<%
set XmlObj = Server.CreateObject("Microsoft.XMLHTTP")
XmlObj.open "GET", "http://www.datafeedfile.com/some_dff_script.php?affid=....&" & Request.QueryString, false
XmlObj.send
formatdata = XmlObj.responseText
Response.write(formatdata)
Set XmlObj = nothing
%>
===Using Python===
%%(python)
import urllib2
urlStr = 'http://www.datafeedfile.com/some_dff_script.php?affid=....&'
try:
fileHandle = urllib2.urlopen(urlStr)
DFF_output = fileHandle.read()
fileHandle.close()
print DFF_output
except IOError:
print 'Error getting content from DFF:' % urlStr


Revision [606]

The oldest known version of this page was created on 2009-03-17 09:49:43 by admin
Integrate price comparison shopping data feed file from thousands of online merchant product data feeds | Valid CSS

Page was generated in 0.0999 seconds