<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Trond Ulseth&apos;s Blog - Apollo</title>
			<link>http://trond.ulseth.no/index.cfm</link>
			<description>Trond Ulseth</description>
			<language>en-us</language>
			<pubDate>Wed, 02 Jan 2008 16:35:41 -0600</pubDate>
			<lastBuildDate>Wed, 01 Aug 2007 06:10: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>Aptana with AIR support</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/1/Aptana-with-AIR-support</link>
				<description>
				
				I decided to upgrade to version 3.3 of Eclipse today. I went for a clean install, and then add the plugins I use. So after installing CFEclipse first (of course), I went on over to the Aptana website to get the Aptana plugin (which I mainly use for CSS), and there on the front page they announce that Aptana now supports AIR.

I&apos;ve not checked it out my self yet. Actually I took the time to write this post even before downloading the Aptana plugin. So go check it out your self at: &lt;a href=&quot;http://www.aptana.org/air/&quot; target=&quot;_blank&quot;&gt;http://www.aptana.org/air/&lt;/a&gt;.
				
				</description>
				
				<category>Apollo</category>
				
				<category>Eclipse</category>
				
				<category>Tool tips</category>
				
				<pubDate>Wed, 01 Aug 2007 06:10:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/1/Aptana-with-AIR-support</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Apollo and Ajax/Spry (XMLHttpRequest) possible?</title>
				<link>http://trond.ulseth.no/index.cfm/2007/4/11/Apollo-and-AjaxSpry-XMLHttpRequest-possible</link>
				<description>
				
				I decided to use any spare time during the easter holiday to learn some Apollo and Ajax (Spry) development, with the intent of combining these two technologies to make a foundation for a new and powerful UI model for web applications.

Now I did not get as much time to look at it as I hoped, but even so I already have come to a roadblock.

The following code works wonders when called from a page under the ulseth.no domain:

&lt;code&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/xpath.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/SpryData.js&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
var dsPhotos = new Spry.Data.XMLDataSet(&quot;http://ulseth.no/spry1/photos.xml&quot;, &quot;/gallery/photos/photo&quot;);
&lt;/script&gt;

&lt;ul spry:region=&quot;dsPhotos&quot;&gt;
&lt;li spry:repeat=&quot;dsPhotos&quot;&gt;{dsPhotos::@path}&lt;/li&gt;
&lt;/ul&gt;
&lt;/code&gt;

But when run from my local machine it generates an error:

&lt;span style=&quot;color:#FF0000;&quot;&gt;Exception caught while loading http://ulseth.no/spry1/photos.xml: Permission denied to call method XMLHttpRequest.open&lt;/span&gt;

Any suggestions as to how I should/could move on would be highly appreciated.
				
				</description>
				
				<category>Apollo</category>
				
				<category>Ajax</category>
				
				<pubDate>Wed, 11 Apr 2007 07:02:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/4/11/Apollo-and-AjaxSpry-XMLHttpRequest-possible</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Not getting Apollo SDK to work (can someone help?)</title>
				<link>http://trond.ulseth.no/index.cfm/2007/4/5/Not-getting-Apollo-SDK-to-work-can-someone-help</link>
				<description>
				
				In my &quot;Environmental Variables&quot; the &quot;Classpath&quot; variable now looks like this:

&lt;code&gt;
.;C:\Program Files\QuickTime\QTSystem\QTJava.zip;C:\Program Files\Adobe\ApolloSDK\lib\adt.jar;C:\Program Files\Adobe\ApolloSDK\bin\
&lt;/code&gt;

I added the direct path to the adt.jar file as &lt;a href=&quot;http://labs.adobe.com/wiki/index.php/Apollo:Documentation:Adding_the_Apollo_tools_to_your_class_path&quot; target=&quot;_blank&quot;&gt;described&lt;/a&gt; on Adobe Labs, and then I added the path to the bin folder as well (kinda to be sure).

Then my &quot;Path&quot; variable now looks like this:

&lt;code&gt;
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Adobe\AdobeSDK\bin\
&lt;/code&gt;

I added the path to the bin folder as &lt;a href=&quot;http://www.boostworthy.com/blog/?p=137&quot; target=&quot;_blank&quot;&gt;described&lt;/a&gt; by Ryan Taylor.

Whenever I now try to test my project I get the error message:

&lt;code&gt;
&apos;adl&apos; is not recognized as an internal or external command,
operable program or batch file.
&lt;/code&gt;

and similary I get an error trying to package the project:

&lt;code&gt;
&apos;adt&apos; is not recognized as an internal or external command,
operable program or batch file.
&lt;/code&gt;
				
				</description>
				
				<category>Apollo</category>
				
				<pubDate>Thu, 05 Apr 2007 03:53:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/4/5/Not-getting-Apollo-SDK-to-work-can-someone-help</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Installing Apollo SDK</title>
				<link>http://trond.ulseth.no/index.cfm/2007/4/5/Installing-Apollo-SDK</link>
				<description>
				
				I decided to try to accomplish two things during my Easter holiday. One is to finish version 0.5 of newBee, and one is to get started with Apollo and Spry.

So this morning I headed over to &lt;a href=&quot;http://labs.adobe.com/&quot; target=&quot;_blank&quot;&gt;Adobe Labs&lt;/a&gt; to get going.

I&apos;m not using Flex (yet) so I wanted to install the SDK for making HTML based applications. The installation instructions on the lab is as follows.

&lt;ul&gt;
&lt;li&gt;Download SDK&lt;/li&gt;
&lt;li&gt;Extract files to directory on your computer (I used C:\Program Files\Adobe\ApolloSDK\)&lt;/li&gt;
&lt;li&gt;Add path to the \bin folder to your path environment variable&lt;/li&gt;
&lt;/ul&gt;

The first two points was easy. Then came point 3. For the more computer savvy this might be obvious, but for me it was not, and I started searching around the lab for information on what exactly they mean by this. No luck. Then over to Google, and luckily Ryan Tyler has &lt;a href=&quot;http://www.boostworthy.com/blog/?p=137&quot; target=&quot;_blank&quot;&gt;blogged&lt;/a&gt; some better information. What I&apos;m doing here is pretty much repeating parts from his post (in my own words), and with the additional screen shots.

First you want to right click on &quot;My Computer&quot; and choose &quot;Properties&quot;:&lt;br /&gt;
&lt;img src=&quot;/images/sdk1.jpg&quot;&gt;

The click the &quot;Advanced&quot; tab:&lt;br /&gt;
&lt;img src=&quot;/images/sdk2.jpg&quot;&gt;

Then click the &quot;Environment Variables&quot; button close to the bottom:&lt;br /&gt;
&lt;img src=&quot;/images/sdk3.jpg&quot;&gt;

Then in the &quot;System variables&quot; list find and mark the variable &quot;Path&quot; and click the &quot;Edit&quot; button:&lt;br /&gt;
&lt;img src=&quot;/images/sdk4.jpg&quot;&gt;

At the end of the &quot;Variable value&quot; add a semi-colon at the end of the path followed by the location you extracted the SDK and add &quot;\bin\&quot; at the end of that:&lt;br /&gt;
&lt;img src=&quot;/images/sdk5.jpg&quot;&gt;

That should be it. Now I&apos;ll get out of bed and have some breakfast, and then I&apos;ll see if I can get further in creating my first Apollo application.

&lt;strong&gt;EDIT:&lt;/strong&gt; I now found that there is instructions on the lab site to be found &lt;a href=&quot;http://labs.adobe.com/wiki/index.php/Apollo:Documentation:Adding_the_Apollo_tools_to_your_class_path&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. That this information is not linked up from the instalation instructions is still a mystery to me though.
				
				</description>
				
				<category>Apollo</category>
				
				<pubDate>Thu, 05 Apr 2007 01:27:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/4/5/Installing-Apollo-SDK</guid>
				
			</item>
			
		 	
			</channel></rss>
<SCRIPT language="Javascript">
<!--

// FILE ARCHIVED ON 20080102223550 AND RETRIEVED FROM THE
// INTERNET ARCHIVE ON 20100801045850.
// 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/20080102223550/";

   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>

