Photo credits: Matt Steen

To see more recent blog posts please visit http://www.sanative.net/blog


Text Link Ads CF Function

So I have been checking out Text Link Ads. It seems like a great program. The only caveat is that there wasn't an integration method for ColdFusion.

Text Link Ads
Using the Text Link Ads PHP integration method as a template I have created a CF version. I approached the Text Ad Links folks via email about letting them use it on the site, but haven't received a response yet. I am releasing this on RIAForge as an open source project. if you have something to add or find any bugs let me know. Or just tell me how you feel about it!

you can grab it from cftextlinkads.riaforge.org

Comments
Brian Rinaldi's Gravatar Interesting. I wrote a CFC and blogCFC pod for text-link-ads just a few days ago. They are available here - http://www.remotesynthesis.com/blog/index.cfm/2007...
# Posted By Brian Rinaldi | 5/4/07 8:48 PM
TJ Downes's Gravatar Haha! Great minds think alike. I guess I should have known to take a look at your blog before i spent hours writing code
# Posted By TJ Downes | 5/4/07 9:46 PM
Ajay Jain's Gravatar I just found one issue using the script. 'result' attribute is not supported for cfhttp function. So, instead, I removed the result attribute and replaced #getXmlRequest.FileContent# with #cfhttp.FileContent#. This seems to be working.

Thanks for posting the script. It saved me hours of coding and testing.
# Posted By Ajay Jain | 5/12/07 9:39 PM
TJ Downes's Gravatar You're welcome. And you are correct, CFMX 6 does not support the result attribute and therefore you would need to replace #getXmlRequest.FileContent# with #cfhttp.FileContent#. I will change this in the next update so it works a bit better for CF 6 users. Thanks!
# Posted By TJ Downes | 5/13/07 8:22 AM
BlogCFC 5.8.001 © Ray Camden