Home / About DMXReady / Blog

Google Supports Classic ASP reCAPTCHAs

Posted on: 7/5/2011 10:20:29 AM under ASP » Scripts and Tips 
In case you didn’t hear, Google bought reCAPTCHA in 2009. This a good fit for one of their current projects (i.e. digitizing the world’s books) but it also aligns with their views on preventing spam and fraud. You can read all about the purchase at the Google blog here:

A big plus for Classic ASP programmers is that Google is going out of its way to support us. In its documents, it has provided the code needed to use reCAPTCHA on your own website. How often in this day and age to you see big companies like Google rolling out the red carpet for Classic ASP developers? (Yet another sign that the news of Classic ASP's death have been greatly exaggerated...)

As before, you still have to sign up for reCAPTCHA to get their API keys (and then enter them in the code), just like you would Google Analytics. But once you do, you can use reCAPTCHAs on all your websites to cut down on any spambot activities plaguing your site.

Happy Anti-Spamming!

The DMXReady Team


Rewrite URLs Into Pretty Links Using the URL Rewrite Module

Posted on: 6/17/2011 11:58:01 AM under ASP » Scripts and Tips 

Rewrite Pretty Links

Ever wonder how WordPress is able to generate friendly URLs in HTML? Ever wish you could pull that off yourself for your own Classic ASP website?

Rewriting your dynamic URLs does have certain advantages. The most obvious is that it makes it easier for your website visitors to understand what page they’re on. For example, "” makes more sense to the average person than "”.

However, it is important to note that it doesn’t much matter to Google – its Googlebots will be able to find and index your pages whether they are dynamic or static (although Google does recommend keeping links short and parameters few to avoid Googlebot confusion…) There is some debate as to whether rewriting links will boost your SEO. Generally, most SEO experts recommend rewriting those URLs if for no other reason than to add your keyword and keyword phrases into your links.

The question then becomes, how do you rewrite URLs using Classic ASP?

We’ve come across one way to do it that works quite well – so well in fact, we used the general method for rewriting URLs in our own DMXReady CMS. Note that this method requires you to have IIS 7 and the URL Rewrite Module Go Live release installed. This tutorial is written for ASP.Net, but it is equally effective for Classic ASP.

Here’s another method that does the same thing by modifying the web.config file. Example #3 details how you can mimic WordPress’ Pretty Permalinks, but there are other methods described here too.

Happy URL Rewriting!

The DMXReady Team


Add a Star Rating System to Your Website

Posted on: 12/10/2010 11:54:29 AM under ASP » Scripts and Tips 

You’ve seen those star rating systems on places like and even photo galleries giving you the opportunity to provide your own opinion on something. They’re a great interactive tool, and useful for other visitors to see how good that something is.

Well, you can add a Star Rating System to your own website using Classic ASP. 

Here's one from Chris Hardy that looks pretty sharp. You can also Google "Classic ASP Star Rating" to find more...

The DMXReady Team


Turn Your Website Into a Google Adwords Keyword Tool with Classic ASP

Posted on: 10/15/2010 7:18:34 AM under ASP » Scripts and Tips 

For all of you into Search Engine Optimization (SEO) – and that should be *all* of you – the classic problem is how to identify the right keywords. If you’re like most DIY’ers, a system you can build yourself is always your best bet.

Well, you’re in luck! Here’s a little script that you can run on your website (or your local Windows server) that will help you use the Google Adwords Keyword Tool.

Happy SEOing! 

The DMXReady Team


Creating an Automatic TinyURL Using Classic ASP

Posted on: 7/16/2010 12:43:23 PM under ASP » Scripts and Tips 

Sure enough you’ve seen some of those nifty TinyURLs out there, like:

This saves you from long, unwieldy URLs that span the length of your web page – or even longer. The only drawback was that you have to hand-code each one, manually creating the TinyURL and then adding it into your web page. 

Well, here’s a bit of code that will let you do it all automatically. First, you have to name and assign values to the variables. Cut and paste this code into the head of your page (or, better yet, your header.asp template if it exists):

function asp_tiny_url(strUrl)
Dim UrlCheck,strPageUrl,strTinyVal
strPageUrl = "" & strUrl
set UrlCheck = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
UrlCheck.Open "GET", strPageUrl, false
strTinyVal = UrlCheck.responseText
Set UrlCheck = nothing
asp_tiny_url = strTinyVal
End Function 

Line 3 is the main part of this script, calling the TinyURL API and passing the current page URL to the TinyURL engine. It then receives the new URL (Line 7). Then, anywhere on the page, you simply call the variable with this line of code: 

Response.Write (asp_short_url(""))

You can also automate the whole process so that you don’t have to physically enter the current page name (if you so choose). For more information on that, check out:

<< First < Previous    1   2   3   4   5     Next >  Last >>
Showing 1 to 5 of 21 Post