<cf_dropcash>
I whipped up a ColdFusion custom tag to quickly convert dropcash.com campaign data into something easier to work with in ColdFusion called cf_dropcash.
Also built into the tag is a way to generate a badge identical to the current official badge. This is more or less just an example of what to do with the data once it’s in ColdFusion.
On another note, I’d love to talk to someone who wants to help me expand upon this idea and build cool Flash enabled badges using Flash remoting.
Eventually I’ll make a CFC that could be used to drive a Flash app, and would host it on my server so that the happy little Flash badges could access it remotely.
To install the custom tag, just download it and check out the header of the custom tag. To use the tag, just call it from within your CFML template like so:
<cf_dropcash campaign=”michaelbuffington/cf_dropcash” />
If you like it, and use it, toss a buck or two into the campaign.
Filed under: Uncategorized |
Tags: Uncategorized





Hey Mike that’s nifty. It shouldn’t be too difficult to flash this up (and integrate a paypal link into the flash as well) with some CFCs etc - but could go one step further and have the CFC deliver appropriate results despite what viewer is used - so could deliver simple data to a flash movie to present, or deliver html to a browser, or xml to a webservice to non-coldfusion middleware etc.
(just as a ‘would be nice if’ in the customtag, could you put some debug in the cfcatch to display cfhttp connection errors?)
Thinking along those lines as well, some form of historical data persistance would be good as well in case the connection to datacash does fail, at least that way a viewer would still have some (albeit out of date) information to look at.
Also, it’d be nice to have the datacash api deliver the comments on the campaign in the xml packet as well. We could then hook in a commenting engine to and from a flash movie.
Hmmm… got me thinking now..
Ping is one of the most useful network debugging tools available. It takes its name from a submarine sonar search - you send a short sound burst and listen for an echo - a ping - coming back. visit:
http://www.internet-provider.bg.tf
Great stuff. Keep up the good work. Great content and ideas. Ron of Best online casinos tips