Posts

Showing posts from May, 2008

CFdocument Coldfusion 8.01 update HTML to PDF bug

The new ColdFusion 8.01 update has some very nice fixes and additions, such being able to send a document from a variable instead of saving and then attaching it. Alas, nothing is perfect. In one of our projects, we turn HTML into PDF's using the cfdocument tag set. Before the update to 8.01 the HTML being sent to the PDF formatter worked perfectly. The string of HTML that cfdocument was choking on looked like this: <table border="0" cellpadding="0" cellspacing="0" width="700"> <tbody> <tr> <td>test <br /><br /> </td> </tr> </tbody> </table> Specifically, the issue is with the double br's. With just one br it worked, but with both it would throw the following error. "java.io.IOException: Parsing problem occurred during the rendering process of this document." This is the simplest example, there may be other quirks rendering HTML to PDF. I highly recommend reading thro...

How to Avoid Photo BLOAT

Don't you hate when you receive an email with an image attached and every time you try to print it, it takes about 4 pieces of paper because it's so huge? Guess what happens if you try to upload that same image to your website? Not good! How about when you go to a website that has a lot of images and ....... it......takes......forever......to.......load.......UGH! The problem, in a nutshell, is that the images are too darn big. Here's a free online tool for resizing your images: www.picnik.com The site offers the ability to resize as well as fix, crop, rotate and more. It works on Mac, Windows, and Linux and does not require any installation or downloading. Today's New York Times has a great article on this topic. Read more...

Protect Your Domain Name

Some companies are just not ethical. It's sad, but true. In the past 6 months, two of our clients have been hurt by unscrupulous companies and several others have been contacted. A few things to look out for: 1. The domain renewal scam. An official looking document shows up asking you to renew your domain name. The letter usually shows up several months in advance of the renewal date, encouraging your to renew now to "protect" yourself from losing that domain name. When you pay the invoice and renew the name, the domain gets renewed, but not in your name. It's transferred to the jerks who initiated the scam. 2. The domain name theft. You're searching for a domain name on the website of an unethical company and the next thing you know, the company registers the name for which you just searched. What happens? You can still register the domain, but ONLY from THAT unscrupulous company - for a premium price, of course. 3. The domain name theft Version 2. It...