<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Joshua Doodnauth&#039;s WebLife</title>
	<atom:link href="http://jsdoodnauth.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jsdoodnauth.wordpress.com</link>
	<description>Enumerated Thoughts</description>
	<lastBuildDate>Wed, 07 Dec 2011 18:14:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jsdoodnauth.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Joshua Doodnauth&#039;s WebLife</title>
		<link>http://jsdoodnauth.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jsdoodnauth.wordpress.com/osd.xml" title="Joshua Doodnauth&#039;s WebLife" />
	<atom:link rel='hub' href='http://jsdoodnauth.wordpress.com/?pushpress=hub'/>
		<item>
		<title>XRap Version 1.0</title>
		<link>http://jsdoodnauth.wordpress.com/2009/04/26/xrap-version-10/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/04/26/xrap-version-10/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 18:57:41 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[Application Packager]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XUL]]></category>
		<category><![CDATA[XULRunner]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=442</guid>
		<description><![CDATA[Well its been a long time coming, a lot of research, and a ton of learning, but here it is.  XRap version 1.0.  You can now successfully create a Windows Installer(msi) if you are working on Windows, a tarred bunzip2 (tar.bz2) archive if you are working on Linux, and an Apple Disk Image (dmg) if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=442&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well its been a long time coming, a lot of research, and a ton of learning, but here it is.  XRap version 1.0.  You can now successfully create a Windows Installer(msi) if you are working on Windows, a tarred bunzip2 (tar.bz2) archive if you are working on Linux, and an Apple Disk Image (dmg) if you are working on a Mac.  I have worked out the bugs which I am aware of, but will definately still be working on any new ones that come up.  </p>
<p>Here are the steps for each platform:</p>
<p>Windows:</p>
<ol>
<li>Open up XRap, and select the root of your XULRunner application directory, and click next.</li>
<li>Select the type of License you would like to attach to your application from the drop-down list of available licenses.  You can optionally select your own license, or no license at all. Once you have selected your license option, click next</li>
<li>You must now select the type of installer you would like your end-user to have.
<ul>
<li>Automatic Installer &#8211; Will automatically install your application on to the end-user computer, with no wizard.</li>
<li>Wizard Installer &#8211; Will start the Windows Installer wizard, showing your license agreement on a single page, and giving the option for the end-user to install your application to a custom path.</li>
<li>Minimal Wizard Installer &#8211; Will start the Windows Installer wizard, using only one page, which shows the license agreement, then installs your application to the default directory.<img class="aligncenter size-medium wp-image-434" title="Windows Installer Description" src="http://jsdoodnauth.files.wordpress.com/2009/04/3.png?w=300&#038;h=243" alt="Windows Installer Description" width="300" height="243" /></li>
</ul>
</li>
<li>Once your have selected the type of installer you want, click next, and XRap will package your application</li>
<li>When successfully completed, XRap will go to the last page where you can open the directory of where your new msi will be located, and your can close XRap.</li>
</ol>
<p>Linux</p>
<ol>
<li>Open up XRap, and select the root of your XULRunner application directory, and click next.</li>
<li>Select the type of License you would like to attach to your application from the drop-down list of available licenses.  You can optionally select your own license, or no license at all. Once you have selected your license option, click next</li>
<li>You can optionally select to create a zip file of your application for distribution on Windows.  Click next to continue.</li>
<li>XRap will now package your application into a tar.bz2, and optionally a zip file if selected.</li>
<li>When successfully completed, XRap will go to the last page where you can open the directory of where your tar.bz2 file will be located, and your can close XRap.</li>
</ol>
<p>Mac</p>
<ol>
<li>Open up XRap, and select where your XULRunner application (with the .app extension) is located, and click next.</li>
<li>Select the type of License you would like to attach to your application from the drop-down list of available licenses.  You can optionally select your own license, or no license at all. Once you have selected your license option, click next<img class="aligncenter size-medium wp-image-431" title="License Page" src="http://jsdoodnauth.files.wordpress.com/2009/04/picture-4.png?w=300&#038;h=248" alt="License Page" width="300" height="248" /></li>
<li>XRap will now package your application into a dmg.</li>
<li>When successfully completed, XRap will go to the last page where you can open the directory of where your dmg file will be located, and your can close XRap.</li>
</ol>
<p>I hope to release an updated version where you can create simple packages for different platforms.  Similar to how you can create a zip file on Linux for distribution on Windows.  My current plans are:</p>
<p>Windows:</p>
<ol>
<li>Create a zip file for release on Linux</li>
<li>Create a zip file for release on Mac, I will have to refactor the directory structure so that it aligns with the Mac model</li>
</ol>
<p>Linux</p>
<ol>
<li>Create a zip file for release on Mac, I will have to refactor the directory structure so that it aligns with the Mac model</li>
</ol>
<p>Mac</p>
<ol>
<li>Create a zip file for release on both Windows and Linux</li>
</ol>
<p>I plan to work on it over the summer, and hope to be compeleted within the next couple months.  Please post any new bugs found on <a title="XRap" href="http://xrap.sourceforge.net" target="_blank">xrap.sourceforge.net</a>.</p>
<p>Enjoy!</p>
<p><a title="XRap" href="http://xrap.sourceforge.net" target="_blank">XRap Version 1.0</a><img class="alignnone size-full wp-image-439" title="xrap64" src="http://jsdoodnauth.files.wordpress.com/2009/04/xrap64.png?w=470" alt="xrap64"   /></p>
<br />Posted in Mozilla, Open Source, XRap Tagged: Application Packager, Linux, Mac, Mozilla, Open Source, Windows, XRap, XUL, XULRunner <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/442/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=442&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/04/26/xrap-version-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/3.png?w=300" medium="image">
			<media:title type="html">Windows Installer Description</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/picture-4.png?w=300" medium="image">
			<media:title type="html">License Page</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/xrap64.png" medium="image">
			<media:title type="html">xrap64</media:title>
		</media:content>
	</item>
		<item>
		<title>XRap Version 0.9 Update</title>
		<link>http://jsdoodnauth.wordpress.com/2009/04/23/xrap-version-09-update/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/04/23/xrap-version-09-update/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 01:02:51 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[Application Packaging]]></category>
		<category><![CDATA[Licenses]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WiX]]></category>
		<category><![CDATA[XUL]]></category>
		<category><![CDATA[XULRunner]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=430</guid>
		<description><![CDATA[Lots of changes.  Lots!  Here&#8217;s a list: Added a license page Added a page to validate that you are packaging a XULRunner application The wizard automatically goes to the last page once pacakaging is complete If there are any errors, they will show on the last page Linux release now creates a tar.bz2 file, with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=430&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lots of changes.  Lots!  Here&#8217;s a list:<img class="alignright size-full wp-image-439" title="xrap64" src="http://jsdoodnauth.files.wordpress.com/2009/04/xrap64.png?w=470" alt="xrap64"   /></p>
<ul>
<li>Added a license page</li>
<li>Added a page to validate that you are packaging a XULRunner application</li>
<li>The wizard automatically goes to the last page once pacakaging is complete</li>
<li>If there are any errors, they will show on the last page</li>
<li>Linux release now creates a tar.bz2 file, with an installation script attached to it</li>
<li>Linux release can create an additional zip package for release on Windows</li>
<li>Windows release now has a description for each of the MSI Installers
<ul>
<li>The MSI Installers make the end-user view the attached license before they can install the software</li>
</ul>
</li>
</ul>
<p style="text-align:left;"><img class="size-medium wp-image-434 aligncenter" title="Windows Installer Description" src="http://jsdoodnauth.files.wordpress.com/2009/04/3.png?w=300&#038;h=243" alt="Windows Installer Description" width="300" height="243" /><br />
At first I added the license page so that the MSI installer can make use of it, but it only makes sense that all users should be able to attach a license to their software.  Here&#8217;s another list of the licenses I chose to include:</p>
<ul>
<li><a title="CPL" href="http://www.opensource.org/licenses/cpl1.0.php" target="_blank">Common Public License 1.0 (CPL)</a></li>
<li><a title="GPL" href="http://www.opensource.org/licenses/gpl-2.0.php" target="_blank">GNU General Public License (GPL)</a></li>
<li><a title="GPLv3" href="http://www.opensource.org/licenses/gpl-3.0.html" target="_blank">GNU General Public License version 3.0 (GPLv3)</a></li>
<li><a title="LGPL" href="http://www.opensource.org/licenses/lgpl-2.1.php" target="_blank">GNU Lesser General Public License (LGPL)</a></li>
<li><a title="LGPLv3" href="http://www.opensource.org/licenses/lgpl-3.0.html">GNU Lesser General Public License version 3.0</a></li>
<li><a title="CDDL" href="http://www.opensource.org/licenses/cddl1.php" target="_blank">Common Development and Distribution License</a></li>
<li><a title="MPL" href="http://www.opensource.org/licenses/mozilla1.1.php">Mozilla Public License version 1.1</a></li>
</ul>
<p>Should these licenses be too restricting (or not enough) the user can attach their own license, or none at all.</p>
<p><img class="alignnone size-full wp-image-431" title="License Page" src="http://jsdoodnauth.files.wordpress.com/2009/04/picture-4.png?w=470&#038;h=389" alt="License Page" width="470" height="389" /></p>
<p>The decision to ditch <a title="Autotools" href="http://en.wikipedia.org/wiki/GNU_build_system" target="_blank">Autotools</a> in my Linux packaging was an easy one.  It was too bloated.  Added all kinds of unnecessary files to a release.  And it just didn&#8217;t make any sense.  After having a look at a paper by Mark Finkle, and using his release of the <a title="XULExplorer" href="https://developer.mozilla.org/en/XUL_Explorer" target="_blank">XULExplorer</a>  as a template, I decided to just write a script which will just &#8220;tar&#8221; up the application.  Yes, it still check to make sure you are packaging a XULRunner app.  To make it slightly appealing, I added a script to each package, which when run will run the &#8216;&#8211;install -app&#8217; command for XULRunner.  It will take the app and copy it into the //usr/lib/<em>vendor_name/application_name/</em>, and then create a bash script which calls the application, and put it into your /usr/bin directory, so that you can call the new application from a single command.  I don&#8217;t know how well received it will be, but I haven&#8217;t heard any feedback about it yet.</p>
<p>Out of everything I have learned for this release, the one that hurt my brain the most was how complicated it is to make a zip file on Linux.  The reason I wanted to make a zip file was so that users of Linux can have the ability to release their product easily for use on the Windows platform.  Unfortunately, I tried using <a title="The Mono Project" href="http://www.mono-project.com/Main_Page" target="_blank">Mono</a> to compile my <a href="http://wix.sourceforge.net">WiX</a> (which is built on the .NET platform) files,  it could get as far as using light which is the linker stage (candle works, to compile).  The reason it fails is because you need the msi.dll library, and unfortunately that is only for Windows.  So the next logical move was to zip the application, and let the end-user run it from the unzipped directory.  After a lot of troubleshooting, creating the zip file wasn&#8217;t too complicated after all, my scripts were just wrong.  I must admit, that is one more thing that I have learned in this process, how to write shell scripts.</p>
<p>Overall, everything is really looking solid, I have fixed the Mac release, so that it can correctly read .app XUL files, can create a DMG out of them,  Linux can create a tar.bz2 with ease, and Windows can spit out an msi with no problem.  Now just testing, and working out the bugs that people find.</p>
<p>Version 0.9 can be found @ <a title="XRap v0.9" href="http://xrap.sourceforge.net" target="_blank">xrap.sourceforge.net</a></p>
<p>Enjoy, and GIVE ME FEEDBACK!!! I want to know about bugs/features/anything else that is needed</p>
<br />Posted in Open Source, XRap Tagged: Application Packaging, Licenses, Linux, Mac, Mozilla, Open Source, Windows, WiX, XRap, XUL, XULRunner <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/430/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=430&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/04/23/xrap-version-09-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/xrap64.png" medium="image">
			<media:title type="html">xrap64</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/3.png?w=300" medium="image">
			<media:title type="html">Windows Installer Description</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/picture-4.png" medium="image">
			<media:title type="html">License Page</media:title>
		</media:content>
	</item>
		<item>
		<title>A new understanding: XUL and .app</title>
		<link>http://jsdoodnauth.wordpress.com/2009/04/23/a-new-understanding-xul-and-app/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/04/23/a-new-understanding-xul-and-app/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 23:45:21 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[Application Packaging]]></category>
		<category><![CDATA[dmg]]></category>
		<category><![CDATA[Info.plist]]></category>
		<category><![CDATA[pkg-dmg]]></category>
		<category><![CDATA[Property List Editor]]></category>
		<category><![CDATA[XUL]]></category>
		<category><![CDATA[XULRunner]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=424</guid>
		<description><![CDATA[  After talking to some guys in the #xulrunner channel on IRC, I foundout that my Mac applications were setup all wrong.  At first I was like, why would they do that?  But after getting it to work, I figured that it was pure genius!  First of all, I was simply copying over my XUL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=424&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>After talking to some guys in the #xulrunner channel on IRC, I foundout that my Mac applications were setup all wrong.  At first I was like, why would they do that?  But after getting it to work, I figured that it was pure genius!  First of all, I was simply copying over my XUL app directly from my Linux box to a Mac, and then running it from Terminal:</p>
<blockquote><p>//Library/Frameworks/XUL.framework/xulrunner-bin /path/to/app/application.ini</p></blockquote>
<p>It worked, so I went with it.  To install an app, you just add &#8216;&#8211;install-app&#8217; to the end of &#8216;xulrunner-bin&#8217;, and it will stick it into the Applications folder.  For some reason or another, Once it was installed, I could run it.  But when I tried that same procedure on other machine, it didn&#8217;t work.   Hmm.  After some conversations, and reading, notice and article on MDC on <a title="Deploying XULRunner 1.8" href="https://developer.mozilla.org/En/XULRunner:Deploying_XULRunner_1.8" target="_blank">Deploying XULRunner 1.8</a>, and there was my answer.<br />
Basically XULRunner on Mac has a different file structure, which is as follows:</p>
<blockquote><p>MyApp.app/</p>
<ul>
<li>Contents/ 
<ul>
<li>Info.plist</li>
</ul>
<ul>
<li>Frameworks/ 
<ul>
<li>XUL.framework/ 
<ul>
<li>&#8230;all the XULRunner files</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>Resources/
<ul>
<li>application.ini</li>
</ul>
<ul>
<li>icon.icns</li>
</ul>
<ul>
<li>components/
<ul>
<li>everything in your normal component directory</li>
</ul>
</li>
</ul>
<ul>
<li>chrome/
<ul>
<li> everything in your normal chrome directory</li>
</ul>
</li>
</ul>
<ul>
<li>all your additional files and folders</li>
</ul>
</li>
<li>MacOS/
<ul>
<li>xulrunner (the file copied from the &#8216;xulrunner&#8217; stub, not the xulrunner-bin)</li>
</ul>
</li>
</ul>
</blockquote>
<p>MyApp.app is actually a directory, with a &#8216;.app&#8217; extension on it.  All it did was create a directory, put all my files in the correct structure, add the &#8216;Info.plist&#8217; file, and rename the directory with the &#8216;.app&#8217; extension.  The Info.plist file was probably the most complicated to recreate.  The example from MDC is not very helpful, especially if you don&#8217;t know what your doing, and have to write it by hand.  However there is a &#8220;Property List Editor&#8221; application on Mac, which will help you create the file.</p>
<p> </p>
<div id="attachment_425" class="wp-caption alignnone" style="width: 480px"><img class="size-full wp-image-425" title="picture-5" src="http://jsdoodnauth.files.wordpress.com/2009/04/picture-5.png?w=470&#038;h=423" alt="Property List Editor" width="470" height="423" /><p class="wp-caption-text">Property List Editor</p></div>
<p>These are the properties which must be in your Info.plist file, for your XULRunner application to work.  Key fields which are important are:</p>
<table border="0">
<tbody>
<tr>
<td>Executable File</td>
<td>This is the name of the xulrunner stub file in the MacOS directory</td>
</tr>
<tr>
<td>Icon File</td>
<td>The name of your Icon in the Resources directory</td>
</tr>
<tr>
<td>Bundle name</td>
<td>Name of the .app directory</td>
</tr>
</tbody>
</table>
<p>The actually XML file looks like this:</p>
<blockquote><p><span>&lt;?xml</span><span> </span>version<span>=</span><span>&#8220;1.0&#8243;</span><span> </span>encoding<span>=</span><span>&#8220;UTF-8&#8243;</span><span>?</span><span>&gt;</span></p>
<p><span>&lt;!DOCTYPE</span><span> plist </span><span>PUBLIC</span><span> </span>&#8220;-//Apple//DTD PLIST 1.0//EN&#8221;<span> </span>&#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;<span>&gt;<br />
<span>&lt;plist</span><span> </span>version<span>=</span><span>&#8220;1.0&#8243;</span><span>&gt;<br />
&lt;dict&gt;<br />
<span>&lt;key&gt;</span>CFBundleDevelopmentRegion<span>&lt;/key&gt;<br />
&lt;string&gt;<span>English</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleExecutable<span>&lt;/key&gt;<br />
&lt;string&gt;<span>XRap</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleGetInfoString<span>&lt;/key&gt;<br />
&lt;string&gt;<span>XRap </span><span>0.9</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleIconFile<span>&lt;/key&gt;<br />
<span>&lt;string&gt;</span>xulwizard-window<span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleIdentifier<span>&lt;/key&gt;<br />
<span>&lt;string&gt;</span>net.sourceforge.xrap<span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleInfoDictionaryVersion<span>&lt;/key&gt;<br />
&lt;string&gt;<span>6.0</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleName<span>&lt;/key&gt;<br />
&lt;string&gt;<span>XRap</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundlePackageType<span>&lt;/key&gt;<br />
&lt;string&gt;<span>APPL</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleShortVersionString<span>&lt;/key&gt;<br />
&lt;string&gt;<span>0.9</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleSignature<span>&lt;/key&gt;<br />
&lt;string&gt;<span>Mac</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>CFBundleVersion<span>&lt;/key&gt;<br />
&lt;string&gt;<span>0.9</span>&lt;/string&gt;<br />
<span>&lt;key&gt;</span>NSAppleScriptEnabled<span>&lt;/key&gt;<br />
&lt;true/&gt;<br />
&lt;/dict&gt;<br />
&lt;/plist&gt;</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></p></blockquote>
<p>Its best to do all your work in your application directory, before adding the .app extension, because then it is treated like a file, and you will be unable to enter the directory, unless you remove the extension.</p>
<p>In refactoring XRap, I was still able to access the directory even though it was a .app.  Using nsIFile to add files (the License), and read the application.ini, with no problem.  In packaging, using pkg-dmg script, I had to create a staging area (temporary directory) and copy the .app into it, because the script only accepts directories to be imaged.  If I tried to image the .app, it would image it as a directory and add .dmg to the end, defeating the purpose.</p>
<p>Well now I am proud to say that Mac packaging is complete.  You can now package an application as an dmg image.  When a user downloads the image, all they need to do is mount it, and run your app.</p>
<p>I want to eat an apple now.<img class="alignnone size-full wp-image-426" title="apple" src="http://jsdoodnauth.files.wordpress.com/2009/04/images.jpeg?w=470" alt="apple"   /></p>
<br />Posted in How-to, Mac, Mozilla, Open Source, XRap Tagged: Application Packaging, dmg, Info.plist, Mac, Mozilla, pkg-dmg, Property List Editor, XRap, XUL, XULRunner <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/424/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=424&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/04/23/a-new-understanding-xul-and-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/picture-5.png" medium="image">
			<media:title type="html">picture-5</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/images.jpeg" medium="image">
			<media:title type="html">apple</media:title>
		</media:content>
	</item>
		<item>
		<title>XRap Icons!</title>
		<link>http://jsdoodnauth.wordpress.com/2009/04/17/xrap-icons/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/04/17/xrap-icons/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 20:50:49 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[Application Packager]]></category>
		<category><![CDATA[Icons]]></category>
		<category><![CDATA[XUL]]></category>
		<category><![CDATA[XULRunner]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=419</guid>
		<description><![CDATA[I finally got around to creating an icon for XRap the other day.  I figured people use a box to package things, so why not use a box!  Then I have been looking at that Mozilla globe, which is the default for XUL apps on Windows, and I noticed that most Mozilla apps have that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=419&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I finally got around to creating an icon for XRap the other day.  I figured people use a box to package things, so why not use a box!  Then I have been looking at that Mozilla globe, which is the default for XUL apps on Windows, and I noticed that most Mozilla apps have that globe integrated in their icon.  So I pulled the globe from mozilla-central:</p>
<p> </p>
<div id="attachment_420" class="wp-caption aligncenter" style="width: 58px"><a href="http://mxr.mozilla.org/mozilla-central/source/xulrunner/app/"><img class="size-full wp-image-420  " title="default48" src="http://jsdoodnauth.files.wordpress.com/2009/04/default48.png?w=470" alt="http://mxr.mozilla.org/mozilla-central/source/xulrunner/app/"   /></a><p class="wp-caption-text">Default XUL Icon</p></div>
<p>I used GIMP to create the box.  Which ended up just being a lot of trial and error with the shading on the sides of the box.  I&#8217;m not too sure if the perspective is correct, but it turned out ok for someone that knows very little about graphic design.  </p>
<p> </p>
<div id="attachment_421" class="wp-caption aligncenter" style="width: 154px"><img class="size-full wp-image-421 " title="xrapposter" src="http://jsdoodnauth.files.wordpress.com/2009/04/xrapposter.png?w=470" alt="Final XRap icon"   /><p class="wp-caption-text">Final XRap icon</p></div>
<p>To applying the icon to XRap is actually quite easy.  Simply put the icon into:</p>
<blockquote><p><em>(application name)</em>/chrome/icons/default/</p></blockquote>
<p>then for Windows, you will need an icon with the <em>.ico</em> extension, while on Linux you will need an icon with the <em>.xpm </em>extension.  The name of the icon will be the <em>id </em>of your application, which will be located in the &lt;window&gt; element of your xul code.  I believe there is another way to apply your icon to your application, through the <em>branding content package</em>, which must be defined in your manifest.</p>
<br />Posted in Mozilla, Open Source, XRap Tagged: Application Packager, Icons, Mozilla, Open Source, XRap, XUL, XULRunner <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/419/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=419&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/04/17/xrap-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/default48.png" medium="image">
			<media:title type="html">default48</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/04/xrapposter.png" medium="image">
			<media:title type="html">xrapposter</media:title>
		</media:content>
	</item>
		<item>
		<title>XRap version 0.8 update</title>
		<link>http://jsdoodnauth.wordpress.com/2009/03/22/xrap-version-08-update/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/03/22/xrap-version-08-update/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 03:15:22 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[Application Packager]]></category>
		<category><![CDATA[XUL]]></category>
		<category><![CDATA[XULRunner]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=414</guid>
		<description><![CDATA[XRap 0.8 is now completed, and everything is now coming together.  I have managed to merge Mac packaging into XRap, so that it creates a dmg to mount on the Mac file system, and then I have created a script to run xulrunner-bin &#8211;install-app, which installs the XULRunner application into the Application folder on  a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=414&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="XRap" href="http://xrap.sourceforge.net" target="_blank">XRap 0.8</a> is now completed, and everything is now coming together.  I have managed to merge Mac packaging into XRap, so that it creates a dmg to mount on the Mac file system, and then I have created a script to run xulrunner-bin &#8211;install-app, which installs the XULRunner application into the Application folder on  a Mac.  In terms of XRap all this means is that when XRap detects that it is being run on a Mac, it will create all this for the application you want to package.  </p>
<p>The step for creating a package is the same as create one for Linux and Windows, one the first screen open the directory to where your application is stored, click the &#8216;Next&#8217; button, and XRap will create a script to install your application into the Applications folder, and then create a dmg of the application folder. Done!  </p>
<p><img class="alignnone size-full wp-image-417" title="picture-2" src="http://jsdoodnauth.files.wordpress.com/2009/03/picture-2.png?w=470" alt="picture-2"   /></p>
<p>Windows packaging is just about finalized, and running perfectly.  Linux on the other hand might need some last minute refactoring.  After working on the Mac, and talking to some people on IRC, I realized that &#8216;xulrunner-bin &#8211;install-app&#8217; is an awesome script, and that there should be one for Linux.  There is, only it is &#8216;<a title="xulrunner --install-app" href="http://mxr.mozilla.org/mozilla-central/source/xulrunner/app/nsXULRunnerApp.cpp#162" target="_blank">xulrunner &#8211;install-app</a>&#8216;.  So now I might scrap all of the Autotools work (which will also remove the prerequisite of the developer needing autotools installed), and just tarball the application and create an install script for it, which will put it into &#8216;/usr/lib/&#8217; for all Linux distros.  One of the benefits of dumping Autotools, is that I can now write an install script, and zip it on Windows, the same method can also apply for Mac, since it is not possible to create a dmg without a Mac, I can write an install script and zip.  This will tackle one of the requests, that XRap be able to package for any platform, no matter what you are working on.  It should definatly be done by my 0.9 release.  </p>
<p>I have got a ton of ideas from my professor on little ideas/features to make XRap a better product.  Here&#8217;s a list of things which I have compiled which I expect to be completed for the next release:</p>
<ul>
<li>Use a &#8216;Throbber&#8217; for the Packaging status screen, so that the use knows the application is working.</li>
<li>On the last page create a link to the destination of the output file.</li>
<li>On the second page allow the user to import/apply a license into their application, by giving them a list of available licenses to choose from, or apply their own.</li>
<li>For the Windows version of XRap, give a description of each Installer, and change the dropdown list of Installers to a list of radio buttons</li>
<li>Automatically go from the &#8216;Packaging Status&#8217; page to the &#8216;Completion page&#8217; when packaging is complete</li>
<li>Create an installation log generator</li>
<li>Logo (for final release)</li>
</ul>
<p>Tinkering&#8230;</p>
<br />Posted in Mozilla, Open Source, XRap Tagged: Application Packager, Mozilla, Open Source, XRap, XUL, XULRunner <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/414/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/414/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/414/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=414&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/03/22/xrap-version-08-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/03/picture-2.png" medium="image">
			<media:title type="html">picture-2</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Mozilla to create a dmg&#8230;Part II</title>
		<link>http://jsdoodnauth.wordpress.com/2009/03/11/using-mozilla-to-create-a-dmgpart-ii/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/03/11/using-mozilla-to-create-a-dmgpart-ii/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 04:15:26 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[mozilla-central]]></category>
		<category><![CDATA[pkg-dmg]]></category>
		<category><![CDATA[XUL]]></category>
		<category><![CDATA[XULRunner]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=403</guid>
		<description><![CDATA[I finally got access to a Mac which I can develop on, and after about 30 minutes of learning how to use it (I haven&#8217;t used one since grade school), it was amazing!  Yes I want a Macbook now, but that&#8217;s another post.  The first job for creating a dmg on a Mac using the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=403&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I finally got access to a Mac which I can develop on, and after about 30 minutes of learning how to use it (I haven&#8217;t used one since grade school), it was amazing!  Yes I want a Macbook now, but that&#8217;s another post.  The first job for creating a dmg on a Mac using the Mozilla code, is actually getting it to run XUL apps.  To do this you must first <a title="Download XULRunner" href="https://developer.mozilla.org/en/XULRunner" target="_blank">download</a> and install <a title="Getting started with XULRunner" href="https://developer.mozilla.org/en/Getting_started_with_XULRunner" target="_blank">XULRunner</a>, which conviently for Mac is just a standard installer.   Once installed, the XULRunner runtime is placed in:</p>
<blockquote><p>/Library/Frameworks/XUL.framework/</p></blockquote>
<p>This will make available &#8216;xulrunner-bin&#8217;, which will be needed to run the XUL app.  I noticed (and liked) that the XULRunner runtime is installed in a default location similar to Linux and unlike Windows, where it is just where you put it, and you have to set a bunch of environment variable to point to it.  To run a XUL app, is almost just as easy, there are two ways:</p>
<blockquote><p>Install the application:<br />
 /Library/Frameworks/XUL.framework/xulrunner-bin &#8211;install-app /absolute/path/to/app.zip</p>
<p>Run the application (without install):<br />
  /Library/Frameworks/XUL.framework/xulrunner-bin /absolute/path/to/application.ini</p></blockquote>
<p>If you choose to install the application, it can be a XUL app packaged in a zip file or a folder of a XUL app, but it will conviniently put your installation into the:</p>
<blockquote><p>/Applications/&lt;vendor&gt;/&lt;appName&gt;/</p></blockquote>
<p>You can then run the app.  If your developing, it may be a better idea to simply run the application, however there is a warning on MDC that the menu bar and dock icon may be missing.  From experience, on my first run, the command executed, and I got nothing, and the bash prompt appeared, so I ran it again and I received a message that the app was already running.  No window opened or anything, so I just closed the Terminal, refactored my code (I think there were some errors in it), and ran it again, with success.  </p>
<p>Once I got my app working, running the &#8216;<a title="pkg-dmg" href="http://mxr.mozilla.org/mozilla-central/source/build/package/mac_osx/pkg-dmg" target="_blank">pkg-dmg</a>&#8216; was simple, and it worked brilliantly!  From mozilla-central, I stored only the folders leading to the &#8216;pkg-dmg&#8217; file, then all the files in the folder.  So basically, &#8216;<em>mozilla-central/build/package/mac_osx/</em>&#8216; , then all the files in /mac_osx.  I made some modifications for my <a title="XRap" href="http://xrap.sourceforge.net/" target="_blank">XRap </a>release, by putting &#8216;pkg-dmg&#8217; command in a script and calling it, but this is basically how it should work:</p>
<blockquote><p>    var getWorkingDir= Components.classes["@mozilla.org/file/directory_service;1"]    <span> </span>.getService(Components.interfaces.nsIProperties)                    .get(&#8220;CurProcD&#8221;, Components.interfaces.nsIFile);</p>
<p>    var dmgLoc = getWorkingDir.clone();<br />
    dmgLoc.append(&#8220;mozilla-central&#8221;);<br />
    dmgLoc.append(&#8220;build&#8221;);<br />
    dmgLoc.append(&#8220;package&#8221;);<br />
    dmgLoc.append(&#8220;mac_osx&#8221;);<br />
    dmgLoc.append(&#8220;pkg-dmg&#8221;);<br />
    process.init(file);<br />
    var args = ["--source ",applicationPath ," --target ",applicationPath + ".dmg"];<br />
    process.run(true,args,args.length);</p></blockquote>
<p>And work it did!  Here is an example, when I called it from bash</p>
<p style="text-align:center;"><img class="size-full wp-image-406 aligncenter" title="pkgdmgrun2" src="http://jsdoodnauth.files.wordpress.com/2009/03/pkgdmgrun2.jpg?w=470&#038;h=382" alt="pkgdmgrun2" width="470" height="382" /></p>
<p>Mount and go!</p>
<br />Posted in Mac, Mozilla, Open Source, XRap Tagged: Mac, Mozilla, mozilla-central, Open Source, pkg-dmg, XRap, XUL, XULRunner <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/403/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=403&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/03/11/using-mozilla-to-create-a-dmgpart-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/03/pkgdmgrun2.jpg" medium="image">
			<media:title type="html">pkgdmgrun2</media:title>
		</media:content>
	</item>
		<item>
		<title>XRap 0.7 &#8211; Wizard update</title>
		<link>http://jsdoodnauth.wordpress.com/2009/03/08/xrap-07-wizard-update/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/03/08/xrap-07-wizard-update/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 23:36:01 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[Application Packager]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[XUL]]></category>
		<category><![CDATA[XULRunner]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=398</guid>
		<description><![CDATA[It finally seems that I found a UI that works!  I managed to mash together both the Windows and Linux packager, into a non-linear wizard.  All the functionality is basically the same, Windows will use WiX to create an msi, and Linux will use autotools to create a tarball, and soon for Mac i&#8217;ll be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=398&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-399" title="xrap07wiz1" src="http://jsdoodnauth.files.wordpress.com/2009/03/xrap07wiz1.jpg?w=470&#038;h=369" alt="xrap07wiz1" width="470" height="369" />It finally seems that I found a UI that works!  I managed to mash together both the Windows and Linux packager, into a non-linear wizard.  All the functionality is basically the same, Windows will use WiX to create an msi, and Linux will use autotools to create a tarball, and soon for Mac i&#8217;ll be using a Mozilla perl script to create a .dmg file.</p>
<p>When the wizard is started, it scans the system to get what platform it is working under, this will determine which page the wizard will go to next, and what scripts to run.  But before I get ahead of myself, the first page will ask the user to select where the application to be packaged is located.  I&#8217;m using the FilePicker dialog to get the end-user to select which folder is a XUL application, is makes it easy because the FilePicker will return the correct path format no matter what platform XRap is running on.<img class="alignright size-full wp-image-400" title="xrap07wiz2" src="http://jsdoodnauth.files.wordpress.com/2009/03/xrap07wiz2.jpg?w=470&#038;h=369" alt="xrap07wiz2" width="470" height="369" /></p>
<p>On the second page, it will matter which platform XRap is running on, because this is where the platform-dependent scripts will run to package the application for deployment.  As soon as the page is loaded, the script should start.  I just basically created three separate pages for each platform, and depending on what platform is scanned on the first page, the wizard will go to that page.  I have still been trying to get the progress bar to work, but it just seems to start and never stop, and the status box on the second page needs to be more informative.</p>
<p>The final page is just a &#8216;successful completion&#8217; page, so that the user knows that the application was packaged succesFinally once the packager is complete, there is just a final completion page, just for accepting that the sfully.  I have an &#8216;error&#8217; page, but I&#8217;ll have to refactor certain functions to return a false when there is an error.</p>
<p><img class="aligncenter size-full wp-image-401" title="xrap07wiz3" src="http://jsdoodnauth.files.wordpress.com/2009/03/xrap07wiz3.jpg?w=470&#038;h=369" alt="xrap07wiz3" width="470" height="369" /></p>
<br />Posted in Open Source, XRap Tagged: Application Packager, Mozilla, XRap, XUL, XULRunner <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/398/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=398&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/03/08/xrap-07-wizard-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/03/xrap07wiz1.jpg" medium="image">
			<media:title type="html">xrap07wiz1</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/03/xrap07wiz2.jpg" medium="image">
			<media:title type="html">xrap07wiz2</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/03/xrap07wiz3.jpg" medium="image">
			<media:title type="html">xrap07wiz3</media:title>
		</media:content>
	</item>
		<item>
		<title>Its XUL Wizardry!</title>
		<link>http://jsdoodnauth.wordpress.com/2009/03/08/its-xul-wizardry/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/03/08/its-xul-wizardry/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 09:18:59 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[wizard]]></category>
		<category><![CDATA[XUL]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=386</guid>
		<description><![CDATA[Become a Wizard at Wizard making! Lol.  Like everything, creating a Wizard in XUL is quite easy, until you want to add some complicated logic to make things difficult for yourself.  XUL does offer a full assortment of wizard properties and methods to make the process easier and much more dynamic for the end-user. By [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=386&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Become a Wizard at Wizard making! Lol.  Like everything, creating a <a title="XUL - Wizard" href="https://developer.mozilla.org/en/XUL/wizard" target="_blank">Wizard</a> in XUL is quite easy, until you want to add some complicated logic to make things difficult for yourself.  XUL does offer a full assortment of wizard <a title="XUL Wizard - Properties" href="https://developer.mozilla.org/en/XUL/wizard#Properties" target="_blank">properties</a> and <a title="XUL Wizard - Methods" href="https://developer.mozilla.org/en/XUL/wizard#Methods" target="_blank">methods</a> to make the process easier and much more dynamic for the end-user.</p>
<p>By comparison, a normal XUL app will be enclosed in &lt;window&gt; tags, while a wizard will have the &lt;wizard&gt; tag.</p>
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243;?&gt;<br />
&lt;?xml-stylesheet href=&#8221;chrome://global/skin/&#8221; type=&#8221;text/css&#8221;?&gt;</p>
<p>&lt;wizard id=&#8221;testWizard&#8221; title=&#8221;First Wizard&#8221;<br />
xmlns=&#8221;http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul&#8221;&gt;<br />
&#8230;<br />
&lt;/wizard&gt;</p></blockquote>
<p>All wizards contain a series of pages for the end-user to progress through.  Just in the same fashion will each page be created, with its logic, followed by the next page, with it logic and so on.  Each new page will be enclosed in the &lt;wizaradpage&gt; tags.</p>
<blockquote><p>&lt;wizardpage&gt;<br />
&lt;label value=&#8221;Welcome to my first wizard, enter your name and click next to continue&#8230;&#8221;/&gt;<br />
&lt;textbox id=&#8221;name&#8221; /&gt;<br />
&lt;/wizardpage&gt;</p>
<p>&lt;wizardpage&gt;<br />
&lt;label value=&#8221;That is all to wizards&#8221;/&gt;<br />
&lt;/wizardpage&gt;</p></blockquote>
<p>There is a pretty good &#8216;<a title="Creating a Wizard" href="https://developer.mozilla.org/en/XUL_Tutorial/Creating_a_Wizard" target="_blank">Creating a Wizard</a>&#8216; tutorial at Mozilla Developer, however there is not much more than what is covered here.  The strength of the wizard is in the flexability of its attributes, properties and methods, and the only way to see the versatility of this component, is to manipulate these features.</p>
<p>I will be revamping my XRap application to run as a wizard, where it will only execute certain scripts depending on what platfrom it is running on.  For example, since I won&#8217;t be able to create Mac packages on Windows or Linux, I don&#8217;t want to give the user the option of creating a Mac package if they are running on the latter.</p>
<br />Posted in Mozilla, Open Source, XRap Tagged: Mozilla, wizard, XRap, XUL <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=386&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/03/08/its-xul-wizardry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Mozilla to create a dmg&#8230;Part I</title>
		<link>http://jsdoodnauth.wordpress.com/2009/03/08/using-mozilla-to-create-a-dmgpart-i/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/03/08/using-mozilla-to-create-a-dmgpart-i/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 08:20:50 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XRap]]></category>
		<category><![CDATA[dmg]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[mozilla-central]]></category>
		<category><![CDATA[pkg-dmg]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=388</guid>
		<description><![CDATA[After some confusing conversations over IRC on how I should go about creating a distribution package for Mac, it was suggested that I create a dmg.  A dmg is essentially an image which can be mounted as a drive, and found by the Finder.  I was then directed to a file in mozilla-central called pkg-dmg, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=388&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After some confusing conversations over IRC on how I should go about creating a distribution package for Mac, it was suggested that I create a dmg.  A dmg is essentially an image which can be mounted as a drive, and found by the Finder.  I was then directed to a file in mozilla-central called <a title="pkg-dmg" href="http://mxr.mozilla.org/mozilla-central/source/build/package/mac_osx/pkg-dmg" target="_blank">pkg-dmg</a>, which is a perl script that packages and creates the dmg!  After reading through the code, and trying to figure out how it works, it seemed pretty simple.</p>
<blockquote><p>&gt;pkg-dmg &#8211;source &lt;source-folder&gt; &#8211;target &lt;target-folder&gt;</p></blockquote>
<p>After pulling the latest code from mozilla-central, I located the script in &#8216;<em>mozilla-central/build/package/mac_osx/pkg-dmg</em>&#8216;, unfortunately I don&#8217;t have access to a Mac, and will have to wait until next week to test out the script and my code.  But, just for fun I ran the script on my Linux box, and got repeated error messages that &#8216;hdiutil&#8217; was not present.  Hdiutil is a Mac utility used for manipulating disk images, therefore an essential component for the pkg-dmg script.</p>
<p><img class="aligncenter size-full wp-image-391" title="dmgtest1" src="http://jsdoodnauth.files.wordpress.com/2009/03/dmgtest1.jpg?w=470&#038;h=49" alt="dmgtest1" width="470" height="49" />Next step&#8230;Find a Mac! (not that hard, should be done next week)</p>
<br />Posted in Mac, Open Source, XRap Tagged: dmg, Mac, Mozilla, mozilla-central, pkg-dmg, XRap <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/388/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=388&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/03/08/using-mozilla-to-create-a-dmgpart-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>

		<media:content url="http://jsdoodnauth.files.wordpress.com/2009/03/dmgtest1.jpg" medium="image">
			<media:title type="html">dmgtest1</media:title>
		</media:content>
	</item>
		<item>
		<title>Innocent</title>
		<link>http://jsdoodnauth.wordpress.com/2009/03/03/innocent/</link>
		<comments>http://jsdoodnauth.wordpress.com/2009/03/03/innocent/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 03:08:21 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Innocent]]></category>
		<category><![CDATA[Our Lady Peace]]></category>

		<guid isPermaLink="false">http://jsdoodnauth.wordpress.com/?p=371</guid>
		<description><![CDATA[Crappy day&#8230; &#8230;some explaination Posted in Life Tagged: Innocent, Our Lady Peace<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=371&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Crappy day&#8230;</p>
<span style="text-align:center; display: block;"><a href="http://jsdoodnauth.wordpress.com/2009/03/03/innocent/"><img src="http://img.youtube.com/vi/cQERZzA2uhU/2.jpg" alt="" /></a></span>
<p>&#8230;some explaination</p>
<br />Posted in Life Tagged: Innocent, Our Lady Peace <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jsdoodnauth.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jsdoodnauth.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jsdoodnauth.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jsdoodnauth.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jsdoodnauth.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jsdoodnauth.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jsdoodnauth.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jsdoodnauth.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jsdoodnauth.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jsdoodnauth.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jsdoodnauth.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jsdoodnauth.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jsdoodnauth.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jsdoodnauth.wordpress.com/371/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jsdoodnauth.wordpress.com&amp;blog=4729290&amp;post=371&amp;subd=jsdoodnauth&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jsdoodnauth.wordpress.com/2009/03/03/innocent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29870f350673943fff44f6a326d347a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Joshua</media:title>
		</media:content>
	</item>
	</channel>
</rss>
