<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Trond Ulseth&apos;s Blog - Testdrive</title>
			<link>http://trond.ulseth.no/index.cfm</link>
			<description>Trond Ulseth</description>
			<language>en-us</language>
			<pubDate>Wed, 02 Jan 2008 12:58:02 -0600</pubDate>
			<lastBuildDate>Wed, 19 Jul 2006 06:36:00 -0600</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>trond@ulseth.no</managingEditor>
			<webMaster>trond@ulseth.no</webMaster>
			
			
			
			
			
			<item>
				<title>First test post</title>
				<link>http://trond.ulseth.no/index.cfm/2006/7/19/test_one</link>
				<description>
				
				I&apos;ve not anything wise to say. Lets try some code:

&lt;code&gt;
&lt;cfquery name=&quot;getMilk&quot; datasource=&quot;refridgerator&quot;&gt;
SELECT *
FROM topshelf
WHERE label = &apos;milk&apos;
&lt;/cfquery&gt;
&lt;cfoutput query=&quot;getMilk&quot;&gt;
I am drinking #brand#s milk right now - and it is tasty&lt;/br&gt;
&lt;/cfoutput&gt;
&lt;/code&gt;

Ok - a couple of cardinal sins in that example code. I use select *, and I have my query in the same template as my view. I should be hanged from the nearest lamp post, or at least lashed a fifty times. That is - if this had been an example of production code - which it is not.
				
				</description>
				
				<category>Testdrive</category>
				
				<pubDate>Wed, 19 Jul 2006 06:36:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2006/7/19/test_one</guid>
				
				<enclosure url="http://trond.ulseth.no/enclosures/0" length="0" type=""/>
				
			</item>
			
		 	
			</channel></rss>
<SCRIPT language="Javascript">
<!--

// FILE ARCHIVED ON 20080102185812 AND RETRIEVED FROM THE
// INTERNET ARCHIVE ON 20100801043642.
// JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
// ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
// SECTION 108(a)(3)).

   var sWayBackCGI = "http://web.archive.org/web/20080102185812/";

   function xResolveUrl(url) {
      var image = new Image();
      image.src = url;
      return image.src;
   }
   function xLateUrl(aCollection, sProp) {
      var i = 0;
      for(i = 0; i < aCollection.length; i++) {
         var url = aCollection[i][sProp];         if (typeof(url) == "string") { 
          if (url.indexOf("mailto:") == -1 &&
             url.indexOf("javascript:") == -1
             && url.length > 0) {
            if(url.indexOf("http") != 0) {
                url = xResolveUrl(url);
            }
            url = url.replace('.wstub.archive.org','');
            aCollection[i][sProp] = sWayBackCGI + url;
         }
         }
      }
   }

   xLateUrl(document.getElementsByTagName("IMG"),"src");
   xLateUrl(document.getElementsByTagName("A"),"href");
   xLateUrl(document.getElementsByTagName("AREA"),"href");
   xLateUrl(document.getElementsByTagName("OBJECT"),"codebase");
   xLateUrl(document.getElementsByTagName("OBJECT"),"data");
   xLateUrl(document.getElementsByTagName("APPLET"),"codebase");
   xLateUrl(document.getElementsByTagName("APPLET"),"archive");
   xLateUrl(document.getElementsByTagName("EMBED"),"src");
   xLateUrl(document.getElementsByTagName("BODY"),"background");
   xLateUrl(document.getElementsByTagName("TD"),"background");
   xLateUrl(document.getElementsByTagName("INPUT"),"src");
   var forms = document.getElementsByTagName("FORM");
   if (forms) {
       var j = 0;
       for (j = 0; j < forms.length; j++) {
              f = forms[j];
              if (typeof(f.action)  == "string") {
                 if(typeof(f.method)  == "string") {
                     if(typeof(f.method) != "post") {
                        f.action = sWayBackCGI + f.action;
                     }
                  }
              }
        }
    }


//-->
</SCRIPT>

