Saturday, April 02, 2005

Coldfusion Error Checking

Question: I am trying to do some error checking on a login form.

<cfif FORM.username IS "">
<cfset errText = "You forgot to enter a username.">
</cfif>

Unfortunately, errText gets defined every time I run the script whether the username field is empty or not.

Is there another way to check for an empty string?

Answer: I prefer to use the Len() function.

<cfif Not Len(form.username)>
<cfset errText = "Error message here." />
</cfif>

Friday, April 01, 2005

Podcasting Article

Thursday, March 31, 2005

Podcasting Articles

Wednesday, March 30, 2005

Podcasting Links

Loyal Ears Announces the First Independent Podcasting Platform for Radio;Turnkey 'Killer App' Enables Radio to Send Content to an iPod* PR Newswire - March 30, 2005



Bloglines Is First to Go Beyond the Blog With Unique-to-Me Info Updates PR Newswire - March 30, 2005



VoIP calls get podcast treatment CNET - March 29, 2005



Podcasts Go Mainstream PC World - March 29, 2005



Ann Arbor IT Zone Continues April Programming with a Hi-Tech Tuesday and Tech & the Law 2.0 PRNewswire - March 29, 2005



TechNO/FEAR TBO.COM - March 29, 2005



IMNO Makes Professional Mentoring Available to the World PRNewswire - March 29, 2005



In a Blog World, Gossip Runs Out of Ink Yahoo! News - March 28, 2005



Podcasting Made Easy With BlogMatrix Sparks!, the One-Stop Solution for Recording, Sharing and Listening to Podcasts PR Newswire - March 28, 2005



In America: When you run the show, you might as well take the credit The Independent - March 28, 2005



Word-of-mouth advertising in the digital age Star Bulletin - March 27, 2005



Emmis faces the music for radio controversies IndyStar - March 27, 2005



Clear Channel Preps for Web Radio Push Yahoo! News - March 26, 2005



Tune into a Podcast News24.com - March 26, 2005



Clear Channel to 'Podcast' Clips Of Shows, Host Online Concerts Loyal Ears - March 25, 2005



Clear Channel Overhauls Its Net Strategy Yahoo! News - March 24, 2005

Tuesday, March 29, 2005

Coldfusion and Credit Card Numbers...

Question: I would like to display only a portion of a credit card number (last 4 digits, preceded by Xs) on a receipt.

Answer:
<cfset CC = "1234123412344321">
<cfoutput>#CC#</cfoutput><br/>
<cfoutput>#repeatstring("X",len(CC)-4)##mid(CC,len(CC)-3,4)#</cfoutput>

Monday, March 28, 2005

Coldfusion, RSS, and Aggregators

Question: I have a section that is called news. Currently I'm adding contributors to this section as required. I have run into many web sites, which allow you to grab or aggregate XML RSS feeds and host them on a web site. This is what I would like to do on my site. I have access to Coldfusion. So here is my question.

1. Is this software that must be programmed, or can I download programs or scripts for no charge?

2. I assume I would copy the http://xxxxxx/rss.xml feed to this page and output the news stories dynamically from the sources.

Answer: There is a really good tutorial on how to setup the feeds and the RSS located at www.easycfm.com. It's a great tutorial and you will be up and running in no time.

Sunday, March 27, 2005

Photoshop Questions and Answers

Questions:
1. I recently scanned in some hand lettering into Photoshop just to play around on backgrounds at 150 dpi...

It is a fuzzy and wanted to sharpen the image and wanted to know if it could somehow be sharpened without rescanning at a larger dpi.

2. When I distort and image through transform images, right now in 6.0 I can take a handle on the middle and sides and distort. I'm wondering if the newer programs have a feature where you can distort even more by clicking on the direct image and tugging out to get even more fine tuned. I'm looking to distort and curve images with more precision.

Answers
1. The problem you have is that you have created whats called a rasterized image. In brief it means your lettering is now an image. Hence, any changes you make, like changing the size, will create a poor image quality. I don't know what process you recall can do this, except for using a sharpening filter or sharpening technique, but I don't think that will get you want you want.

2. The new CS2 has a great tool for this. You can do it in CS as well. Does Photoshop 6 have "Free Transform"? There is a technique using Paths that will allow you to more precisely curve things. I'm not sure what or how you want to curve something, but you can also use the displace filter. Then there is also the Liquify tool, but again not sure if that was in PS6, I think it is. You can really go crazy with distorting images with that.

I'd Google on those and see if any of them are what your looking for.