<?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/"
	>

<channel>
	<title>Lucky Disasters &#187; Prism</title>
	<atom:link href="http://www.luckydisasters.com/category/xulapps/prism/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.luckydisasters.com</link>
	<description>How I stopped worrying and learned to love my karma.</description>
	<lastBuildDate>Sun, 08 Mar 2009 01:17:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>HowTo: Change Locations in Prism</title>
		<link>http://www.luckydisasters.com/2009/03/07/howto-change-locations-in-prism/</link>
		<comments>http://www.luckydisasters.com/2009/03/07/howto-change-locations-in-prism/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 01:09:26 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Accelerator]]></category>
		<category><![CDATA[Accelerator Key]]></category>
		<category><![CDATA[Alt]]></category>
		<category><![CDATA[Chrome Directory]]></category>
		<category><![CDATA[Complete List]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[Error Code]]></category>
		<category><![CDATA[Home Key]]></category>
		<category><![CDATA[Javascript Code]]></category>
		<category><![CDATA[Javascript Window]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[Keyset]]></category>
		<category><![CDATA[Left Arrow]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Navigation Keys]]></category>
		<category><![CDATA[Number Pad]]></category>
		<category><![CDATA[Print Key]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[Right Arrow]]></category>
		<category><![CDATA[Text Box Type]]></category>
		<category><![CDATA[WebRunner]]></category>
		<category><![CDATA[Website Url]]></category>

		<guid isPermaLink="false">http://www.luckydisasters.com/?p=339</guid>
		<description><![CDATA[You may or may not know this, but you can use the Error Console in Prism to open new windows to any site you want. Just use the following javascript in the Code Evaluation box: window.open('http://website.url','',''); This will open a new window to the address &#8220;http://website.url&#8221;, pretty basic stuff. Now, what happens if you want [...]]]></description>
			<content:encoded><![CDATA[<p>You may or may not know this, but you can use the Error Console in Prism to open new windows to any site you want. Just use the following javascript in the Code Evaluation box:</p>
<p><code>window.open('http://website.url','','');</code></p>
<p>This will open a new window to the address &#8220;http://website.url&#8221;, pretty basic stuff. Now, what happens if you want to change the location of the Prism window from your default webapp&#8217;s location. Well, you can still use the Error Console, but there&#8217;s a couple of layers of javascript reference you need to go through. If you try using this:</p>
<p><code>parent.location='http://website.url'</code></p>
<p>You redirect the Error Console to &#8220;http://website.url&#8221;, interesting (very, actually :), but not what we&#8217;re after. If you haven&#8217;t already done so, open the error console:<br />
<a href="http://www.luckydisasters.com/wp-content/uploads/2009/03/menu.png"rel="lightbox" ><img class="alignnone size-full wp-image-340" title="menu" src="http://www.luckydisasters.com/wp-content/uploads/2009/03/menu.png" alt="menu" width="274" height="137" /></a></p>
<p>Next, in the Code Evaluation text box, type the following:</p>
<p><code>parent.opener.content.location='about:config'</code></p>
<div style="height: 150px; width: 100%;"><a href="http://www.luckydisasters.com/wp-content/uploads/2009/03/shot1.png"rel="lightbox" ><img class="size-thumbnail wp-image-341 alignleft" style="margin:4px;" title="shot1" src="http://www.luckydisasters.com/wp-content/uploads/2009/03/shot1-150x150.png" alt="shot1" width="150" height="150" /></a><a href="http://www.luckydisasters.com/wp-content/uploads/2009/03/shot2.png"rel="lightbox" ><img class="alignleft size-thumbnail wp-image-342" style="margin:4px;" title="shot2" src="http://www.luckydisasters.com/wp-content/uploads/2009/03/shot2-150x150.png" alt="shot2" width="150" height="150" /></a><a href="http://www.luckydisasters.com/wp-content/uploads/2009/03/shot3.png"rel="lightbox" ><img class="alignleft size-thumbnail wp-image-343" style="margin:4px;" title="shot3" src="http://www.luckydisasters.com/wp-content/uploads/2009/03/shot3-150x150.png" alt="shot3" width="150" height="150" /></a></div>
<p>That&#8217;s about it, hit return or press &#8220;Evaluate&#8221; and you&#8217;re done. By using <code>parent.opener.content.whatever</code> you should be able to access all of Prism&#8217;s components. What? You don&#8217;t know what the other compents are?? Well, check out the webrunner.xul located in Prism&#8217;s install directory, in the chrome directory inside the webrunner.jar (copy, rename to .zip from .jar and extract).</p>
<p>Another thing you&#8217;ll learn from this file is a complete list of the navigation keys (look for the keyset directives) currently used by Prism:</p>
<p>Back=Alt+Left Arrow<br />
Forward=Alt+Right Arrow<br />
Home=Alt+Home (that&#8217;s the Home Key on your keyboard&#8217;s number pad BTW)<br />
Reload Page=F5<br />
Close=Accelerator Key (Ctrl Key)+w<br />
Quit=Accelerator Key (Ctrl Key)+q<br />
Print=Accelerator Key (Ctrl Key)+p</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luckydisasters.com/2009/03/07/howto-change-locations-in-prism/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Prism as a TV</title>
		<link>http://www.luckydisasters.com/2009/02/25/prism-as-a-tv/</link>
		<comments>http://www.luckydisasters.com/2009/02/25/prism-as-a-tv/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 01:28:50 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Veoh]]></category>
		<category><![CDATA[XulApps]]></category>
		<category><![CDATA[Back Arrow]]></category>
		<category><![CDATA[Class Lectures]]></category>
		<category><![CDATA[Configured]]></category>
		<category><![CDATA[Consumption]]></category>
		<category><![CDATA[Desktop Icon]]></category>
		<category><![CDATA[Ecu]]></category>
		<category><![CDATA[Favicon]]></category>
		<category><![CDATA[Ff3]]></category>
		<category><![CDATA[Forward Arrow]]></category>
		<category><![CDATA[Navigation Keys]]></category>
		<category><![CDATA[Search Term]]></category>
		<category><![CDATA[Search Url]]></category>
		<category><![CDATA[Sidebar]]></category>
		<category><![CDATA[Television Station]]></category>
		<category><![CDATA[Video Channel]]></category>
		<category><![CDATA[Video Sharing Sites]]></category>
		<category><![CDATA[Video Sites]]></category>
		<category><![CDATA[webapp]]></category>
		<category><![CDATA[Webapps]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.luckydisasters.com/?p=328</guid>
		<description><![CDATA[I know I said that the next Prism related post I would be doing was one on manually installing an addon, but it&#8217;s taking me more time to get to than I had hoped. However, I do have another use for Prism that I&#8217;d like to share right now. I&#8217;ve been using Prism as a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.luckydisasters.com/wp-content/uploads/2009/02/capture_02252009_194641.jpg"rel="lightbox" ><img class="alignleft size-thumbnail wp-image-331" style="padding:5px;" title="capture_02252009_194641" src="http://www.luckydisasters.com/wp-content/uploads/2009/02/capture_02252009_194641-150x150.jpg" alt="capture_02252009_194641" width="150" height="150" /></a>I know I said that the next <a href="https://wiki.mozilla.org/Prism" rel="nofollow"  target="_blank">Prism</a> related post I would be doing was one on manually installing an addon, but it&#8217;s taking me more time to get to than I had hoped. However, I do have another use for Prism that I&#8217;d like to share right now. I&#8217;ve been using Prism as a tool for creating TV show specific browsers for video sites. <a href="http://www.veoh.com" rel="nofollow"  target="_blank">Veoh</a> specifically, but I&#8217;m pretty sure you can do this for other video sharing sites as well.</p>
<p>Basically what I&#8217;ve done is used Prism to create a new webapp that points to the search URL of Veoh with a single program as the search term. For instance, right now I&#8217;m following the anime <a href="http://en.wikipedia.org/wiki/Toradora!" rel="nofollow"  target="_blank">Toradora</a>.</p>
<p><a href="http://www.luckydisasters.com/wp-content/uploads/2009/02/capture_02252009_194818.jpg"rel="lightbox" ><img class="size-thumbnail wp-image-330 alignright" style="margin: 5px;" title="capture_02252009_194818" src="http://www.luckydisasters.com/wp-content/uploads/2009/02/capture_02252009_194818-150x150.jpg" alt="capture_02252009_194818" width="135" height="135" /></a>To create the webapp, I&#8217;ve chosen to place a link on my desktop, used the search link above, and enabled the navigation keys for Prism:</p>
<p>Alt+Back Arrow = Back in History<br />
Alt+Forward Arrow = Forward in History<br />
Alt+Home = Home Page for webappX<br />
etc.</p>
<p>Veoh Search Link:</p>
<p>http://www.veoh.com/search/videos/q/<strong>your+search+here</strong></p>
<p>Prism automatically pulls the site&#8217;s favicon as the desktop icon (has anyone else experienced problems with Prism not correctly installing the icon from pre-bundled webapps?).</p>
<p>Other places where this could be useful (other than setting up your own custom television station on your desktop with play-on-demand access)? The instructors for the courses I&#8217;m taking right now at ECU via the web often put class lectures on both YouTube and ECU&#8217;s own servers (depending on the class and the web-savvy-ness of the instructor). This would be a perfect way to distribute these movies to students, simply by placing the right URL into Prism and bundling the webapp, you can create a feed specific video channel for student consumption.</p>
<p><strong>Other thoughts on this process:</strong></p>
<ul>
<li> The ability to uninstall webapps would be useful. Manual uninstalls, while not difficult, are a pain.</li>
<li> An addon or webapp script for Prism to load into the sidebar with links or buttons corresponding to pre-configured feeds/pages to change the currently viewed page so that you can &#8220;change channels.&#8221;</li>
<li> Along those same lines, an addon with FF3&#8242;s built-in feed reader which would load into the sidebar would be a nifty means of navigating a number of pre-configured links&#8230; yes that would be nifty indeed&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.luckydisasters.com/2009/02/25/prism-as-a-tv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prism Information &#8211; In Depth</title>
		<link>http://www.luckydisasters.com/2008/11/06/prism-information-in-depth/</link>
		<comments>http://www.luckydisasters.com/2008/11/06/prism-information-in-depth/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 19:25:42 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[WebRunner]]></category>
		<category><![CDATA[XulApps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Chrome Url]]></category>
		<category><![CDATA[Dev Center]]></category>
		<category><![CDATA[Developer Center]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Headaches]]></category>
		<category><![CDATA[Input Url]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Lot]]></category>
		<category><![CDATA[Marcel]]></category>
		<category><![CDATA[Mark Finkle]]></category>
		<category><![CDATA[Mdc]]></category>
		<category><![CDATA[Pow]]></category>
		<category><![CDATA[Prism Project]]></category>
		<category><![CDATA[Project Mozilla]]></category>
		<category><![CDATA[thanksgiving]]></category>
		<category><![CDATA[Ui]]></category>

		<guid isPermaLink="false">http://www.luckydisasters.com/?p=297</guid>
		<description><![CDATA[[[UPDATED - 08/11/22 to include Linux paths]] A lot of people have been having problems getting extensions to work with Prism. This is kind of an expected situation considering that the extensions that are being targeted are designed for use under Firefox, which has a different UI than Prism. This can cause a lot of [...]]]></description>
			<content:encoded><![CDATA[<p><b style="color:red;">[[UPDATED - 08/11/22 to include Linux paths]]</b><br />
A lot of people have been having problems getting extensions to work with Prism. This is kind of an expected situation considering that the extensions that are being targeted are designed for use under Firefox, which has a different UI than Prism. This can cause a lot of headaches trying to figure out what&#8217;s wrong. There are ways around some of these problems, especially if the extension includes a xul overlay that is compatible with the browser xul for Prism. Or if you can load the chrome url to the main xul overlay in Prism&#8217;s input url (which of course requires that you already have the extension installed). Other extensions however, have no hope of working with Prism unless changes are made to the overlays.</p>
<p>I&#8217;ve also been running into a problem described by commenter <a href="http://stinkdigital.tv/" rel="nofollow"  target="_blank">Marcel</a>, <a href="http://www.luckydisasters.com/2008/06/10/heres-how-to-make-an-extension-compatible-with-prism-two-ish/#comment-1123">here</a>. I&#8217;ve been getting a similar error under Windows for different extensions when I try to install them. Don&#8217;t know why, and what makes it worse is that these errors crop up in extensions that I&#8217;ve had no problems installing before on other computers (maybe I need to have Webrunner installed along side Prism?). I&#8217;ve also had problems with version 0.9 not installing and using the included icons for webapp files. I&#8217;m going to have to look into that one a bit further before I can comment more on it though.</p>
<p>At any rate, I&#8217;m going to list as much information in this post as I can find on Prism to refer back to, then I&#8217;m going to create a new post on how to install an extension for Prism manually. I&#8217;d also like to post a how-to on getting POW to work under Prism as well, but I don&#8217;t know whether or not I&#8217;ll get to that (maybe over Thanksgiving break). So, first some links.</p>
<p><strong id="prismlinks">LINKS:</strong><br />
<a href="http://labs.mozilla.com/2007/10/prism/" rel="nofollow"  target="_blank">Mozilla Labs&#8217; Prism Page</a> &#8211; A broad overview of the goals of the Mozilla Prism Project<br />
<a href="https://developer.mozilla.org/en/Prism" target="_blank">Mozilla Developer Center&#8217;s Prism Page<br />
</a><a href="https://developer.mozilla.org/en/Prism/Extensions" rel="nofollow" style="margin-left:15px;"  target="_blank">MDC&#8217;s Prism Page on Extensions</a><br />
<a href="https://labs.mozilla.com/forum/?CategoryID=16" rel="nofollow"  target="_blank">Mozilla Labs&#8217; Prism Forum</a><br />
<a href="https://wiki.mozilla.org/WebRunner" rel="nofollow"  target="_blank">Mozilla Wiki Prism Page</a> &#8211; Along with the Dev Center&#8217;s page, a good source for documentation on  Prism<br />
<a href="http://starkravingfinkle.org/blog/2008/08/fennec-m6/" rel="nofollow"  target="_blank">Mark Finkle&#8217;s Blog</a> (one of Prism&#8217;s developers &#8211; BTW &#8211; THANK YOU MARK!!!)<br />
<a href="http://viewvc.svn.mozilla.org/vc/projects/webrunner/" rel="nofollow"  target="_blank">SVN for Prism&#8217;s source code</a><br />
<a href="http://www.ohloh.net/projects/prism/contributors" rel="nofollow"  target="_blank">List of Prism Contributors on ohloh.net</a><br />
<a href="http://douglasjmeyer.blogspot.com/2008/09/google-gears-in-prism.html" rel="nofollow"  target="_blank">Douglas Meyer&#8217;s Blog post on getting Google Gears to work with Prism</a><br />
<a href="http://www.arnoldroa.com/software/remember-the-milk-gmail-y-prism/" rel="nofollow"  target="_blank">Commenter Manlo&#8217;s blog post on getting RTM working with Prism</a> (does not appear to be working)<br />
<a href="http://en.wikipedia.org/wiki/Mozilla_Prism" rel="nofollow"  target="_blank">Wikipedia Entry</a></p>
<p>Next, here&#8217;s a list of all the files that Prism makes use of in the user&#8217;s profile directory on Windows and Mac OS X &#8211; Linux to come (I don&#8217;t have access to my Linux box at the moment).</p>
<p><strong id="prismwinfiles">Default Prisim Folders in User&#8217;s Home directory (Windows as of Prism v0.9):</strong></p>
<p><span style="text-decoration: underline;">Under C:\Documents and Settings\{user name}\Application Data\</span></p>
<pre>Prism\
Prism\profiles.ini
Prism\Profiles\
Prism\Profiles\{random string}.default\
Prism\Profiles\{random string}.default\cert8.db
Prism\Profiles\{random string}.default\compatibility.ini
Prism\Profiles\{random string}.default\compreg.dat
Prism\Profiles\{random string}.default\cookies.sqlite
Prism\Profiles\{random string}.default\extensions
Prism\Profiles\{random string}.default\extensions.cache
Prism\Profiles\{random string}.default\extensions.ini
Prism\Profiles\{random string}.default\key3.db
Prism\Profiles\{random string}.default\localstore.rdf
Prism\Profiles\{random string}.default\mimeTypes.rdf
Prism\Profiles\{random string}.default\permissions.sqlite
Prism\Profiles\{random string}.default\places.sqlite
Prism\Profiles\{random string}.default\prefs.js
Prism\Profiles\{random string}.default\secmod.db
Prism\Profiles\{random string}.default\xpti.dat
Prism\Profiles\{random string}.default\extensions\</pre>
<p><span style="text-decoration: underline;">Under C:\Documents and Settings\{user name}\Local Settings\Application Data\</span></p>
<pre>Prism\Prism\
Prism\Prism\updates\
Prism\Prism\updates\0\</pre>
<p><strong id="webappwinfiles">For Each WebApp Prism creates (Windows as of Prism v0.9):</strong></p>
<p><span style="text-decoration: underline;">Under C:\Documents and Settings\{user name}\Application Data\Prism\</span></p>
<pre>{webapp name}\
{webapp name}\profiles.ini
{webapp name}\Profiles\
{webapp name}\Profiles\{random string}.default\
{webapp name}\Profiles\{random string}.default\cert8.db
{webapp name}\Profiles\{random string}.default\compatibility.ini
{webapp name}\Profiles\{random string}.default\compreg.dat
{webapp name}\Profiles\{random string}.default\cookies.sqlite
{webapp name}\Profiles\{random string}.default\extensions
{webapp name}\Profiles\{random string}.default\extensions.cache
{webapp name}\Profiles\{random string}.default\extensions.ini
{webapp name}\Profiles\{random string}.default\extensions.rdf
{webapp name}\Profiles\{random string}.default\key3.db
{webapp name}\Profiles\{random string}.default\localstore.rdf
{webapp name}\Profiles\{random string}.default\mimeTypes.rdf
{webapp name}\Profiles\{random string}.default\permissions.sqlite
{webapp name}\Profiles\{random string}.default\places.sqlite
{webapp name}\Profiles\{random string}.default\pluginreg.dat
{webapp name}\Profiles\{random string}.default\prefs.js
{webapp name}\Profiles\{random string}.default\secmod.db
{webapp name}\Profiles\{random string}.default\signons3.txt
{webapp name}\Profiles\{random string}.default\xpti.dat
{webapp name}\Profiles\{random string}.default\extensions\</pre>
<p><span style="text-decoration: underline;">Under C:\Documents and Settings\{user name}\Application Data\WebApps\</span></p>
<pre>{webapp name}@{webappaddr}\
{webapp name}@{webappaddr}\localstore.json
{webapp name}@{webappaddr}\override.ini
{webapp name}@{webappaddr}\webapp.ini
{webapp name}@{webappaddr}\webapp.js
{webapp name}@{webappaddr}\icons\
{webapp name}@{webappaddr}\icons\default\
{webapp name}@{webappaddr}\icons\default\{icons included in webapp bundle}</pre>
<p><span style="text-decoration: underline;">Under C:\Documents and Settings\{user name}\Local Settings\Application Data\Prism\</span></p>
<pre>{webapp name}\
{webapp name}\Prism\
{webapp name}\Prism\updates\
{webapp name}\Prism\updates\0\
{webapp name}\Profiles\
{webapp name}\Profiles\l05apnbh.default\
{webapp name}\Profiles\l05apnbh.default\XPC.mfl
{webapp name}\Profiles\l05apnbh.default\XUL.mfl
{webapp name}\Profiles\l05apnbh.default\Cache\
{webapp name}\Profiles\l05apnbh.default\Cache\_CACHE_001_
{webapp name}\Profiles\l05apnbh.default\Cache\_CACHE_002_
{webapp name}\Profiles\l05apnbh.default\Cache\_CACHE_003_
{webapp name}\Profiles\l05apnbh.default\Cache\_CACHE_MAP_
{webapp name}\Profiles\l05apnbh.default\Cache\{other cache files}</pre>
<p><strong id="prismmacfiles">Default Prisim Folders in User&#8217;s Home directory (Mac OS X as of Prism v0.9):</strong><br />
<span style="text-decoration: underline;">Under /Users/{user name}/Library/Application Support/Prism/</span></p>
<pre>Profiles/
Profiles/profiles.ini
Profiles/{random string}.default/
Profiles/{random string}.default/cert8.db
Profiles/{random string}.default/compatibility.ini
Profiles/{random string}.default/compreg.dat
Profiles/{random string}.default/cookies.sqlite
Profiles/{random string}.default/extensions.cache
Profiles/{random string}.default/extensions.ini
Profiles/{random string}.default/key3.db
Profiles/{random string}.default/localstore.rdf
Profiles/{random string}.default/mimeTypes.rdf
Profiles/{random string}.default/permissions.sqlite
Profiles/{random string}.default/places.sqlite
Profiles/{random string}.default/pluginreg.dat
Profiles/{random string}.default/prefs.js
Profiles/{random string}.default/secmod.db
Profiles/{random string}.default/xpti.dat
Profiles/{random string}.default/extensions/</pre>
<p><strong id="webappmacfiles">For Each WebApp Prism creates (Mac OS X as of Prism v0.9):</strong></p>
<p><span style="text-decoration: underline;">Under /Users/{user name}/Library/Application Support/{webapp name}/</span></p>
<pre>Profiles/
Profiles/profiles.ini
Profiles/{random string}.default/
Profiles/{random string}.default/cert8.db
Profiles/{random string}.default/compatibility.ini
Profiles/{random string}.default/compreg.dat
Profiles/{random string}.default/cookies.sqlite
Profiles/{random string}.default/extensions.cache
Profiles/{random string}.default/extensions.ini
Profiles/{random string}.default/key3.db
Profiles/{random string}.default/localstore.rdf
Profiles/{random string}.default/mimeTypes.rdf
Profiles/{random string}.default/permissions.sqlite
Profiles/{random string}.default/places.sqlite
Profiles/{random string}.default/pluginreg.dat
Profiles/{random string}.default/prefs.js
Profiles/{random string}.default/secmod.db
Profiles/{random string}.default/xpti.dat
Profiles/{random string}.default/extensions/</pre>
<p><span style="text-decoration: underline;">Under /Users/{user name}/Library/WebApps/{webapp name}@{webappaddr}/</span></p>
<pre>{webapp name}@{webappaddr}/localstore.json
{webapp name}@{webappaddr}/override.ini
{webapp name}@{webappaddr}/webapp.ini
{webapp name}@{webappaddr}/webapp.js
{webapp name}@{webappaddr}/icons/
{webapp name}@{webappaddr}/icons/default/
{webapp name}@{webappaddr}/icons/default/{icons included in webapp bundle}</pre>
<p><strong id="prismwinfiles">Default Prisim Folders in User&#8217;s Home directory (Linux as of Prism v0.9):</strong></p>
<p><span style="text-decoration: underline;">Under /home/{user name}/</span></p>
<pre>
.prism/prismdir.lin.txt
.prism/profiles.ini
.prism/{randomstring}.default/
.prism/{randomstring}.default/Cache/
.prism/{randomstring}.default/cert8.db
.prism/{randomstring}.default/compatibility.ini
.prism/{randomstring}.default/compreg.dat
.prism/{randomstring}.default/cookies.sqlite
.prism/{randomstring}.default/extensions/
.prism/{randomstring}.default/extensions.cache
.prism/{randomstring}.default/extensions.ini
.prism/{randomstring}.default/key3.db
.prism/{randomstring}.default/localstore.rdf
.prism/{randomstring}.default/mimeTypes.rdf
.prism/{randomstring}.default/.parentlock
.prism/{randomstring}.default/permissions.sqlite
.prism/{randomstring}.default/places.sqlite
.prism/{randomstring}.default/prefs.js
.prism/{randomstring}.default/secmod.db
.prism/{randomstring}.default/XPC.mfasl
.prism/{randomstring}.default/xpti.dat
.prism/{randomstring}.default/XUL.mfasl
.prism/{randomstring}.default/Cache/
.prism/{randomstring}.default/Cache/_CACHE_001_
.prism/{randomstring}.default/Cache/_CACHE_002_
.prism/{randomstring}.default/Cache/_CACHE_003_
.prism/{randomstring}.default/Cache/_CACHE_MAP_
</pre>
<p><strong id="webappwinfiles">For Each WebApp Prism creates (Linux as of Prism v0.9):</strong></p>
<p><span style="text-decoration: underline;">Under /home/{user name}/.prism/</span></p>
<pre>
{webapp name}/
{webapp name}/{randomstring}.default/
{webapp name}/{randomstring}.default/Cache/
{webapp name}/{randomstring}.default/Cache/_CACHE_001_
{webapp name}/{randomstring}.default/Cache/_CACHE_002_
{webapp name}/{randomstring}.default/Cache/_CACHE_003_
{webapp name}/{randomstring}.default/Cache/_CACHE_MAP_
{webapp name}/{randomstring}.default/cert8.db
{webapp name}/{randomstring}.default/compatibility.ini
{webapp name}/{randomstring}.default/compreg.dat
{webapp name}/{randomstring}.default/cookies.sqlite
{webapp name}/{randomstring}.default/extensions/
{webapp name}/{randomstring}.default/extensions.cache
{webapp name}/{randomstring}.default/extensions.ini
{webapp name}/{randomstring}.default/key3.db
{webapp name}/{randomstring}.default/localstore.rdf
{webapp name}/{randomstring}.default/mimeTypes.rdf
{webapp name}/{randomstring}.default/.parentlock
{webapp name}/{randomstring}.default/permissions.sqlite
{webapp name}/{randomstring}.default/places.sqlite
{webapp name}/{randomstring}.default/prefs.js
{webapp name}/{randomstring}.default/secmod.db
{webapp name}/{randomstring}.default/XPC.mfasl
{webapp name}/{randomstring}.default/xpti.dat
{webapp name}/{randomstring}.default/XUL.mfasl
{webapp name}/profiles.ini
</pre>
<p>From the above lists of file locations, it should be apparent (okay, if you really <i>really</i> look, <i>hard</i>) that there are two ways to go about installing an extension for Prism. The first is install that extension &#8220;globally&#8221;, which is to say that you install that extension for every webapp. For this method the extension gets installed into Prism&#8217;s extension directory. The second method is to install the extension &#8220;locally&#8221;, or on a per-webapp basis. In this case each extension is installed in the individual webapp&#8217;s extension directory.</p>
<p>The first method is more difficult because by default, installing an extension will be done when you have a webapp loaded, so it will install the extension into that webapp&#8217;s extension folder. In order to install a webapp globally, you&#8217;ll need to perform a manual installation or open a new webapp that loads the addon&#8217;s xul (chrome://global/content/config.xul). I should mention that this worked on Prism/Webrunner 0.8, but I have yet to test this on Prism 0.9, so this may no longer work.</p>
<p>&#8230;</p>
<p>So, why they heck would I list all the files and directories here? Well, I want a reference to point at when I start explaining which files to make changes to in order to install an extension manually.</p>
<p><strong id="codesnipinstrdf">Code Snippit for Prism Extensions&#8217; install.rdf</strong></p>
<pre><code>&lt;em:targetApplication&gt;
  &lt;!– Prism –&gt;
  &lt;Description&gt;
    &lt;em:id&gt;prism@developer.mozilla.org&lt;/em:id&gt;
    &lt;em:minVersion&gt;0.8&lt;/em:minVersion&gt;
    &lt;em:maxVersion&gt;1.0.0.*&lt;/em:maxVersion&gt;
   &lt;/Description&gt;
&lt;/em:targetApplication&gt;</code>
</pre>
<p><strong id="codesnipextrdf">Code Snippit for Prism Extensions&#8217; extension.rdf (information is required from the **install.rdf**)</strong></p>
<pre>
<code>&lt;RDF:Description
    RDF:about="urn:mozilla:item:{**extension id from install.rdf**}"
    NS1:installLocation="app-profile"
    NS1:version="**from install.rdf**"
    NS1:optionsURL="**from install.rdf**"
    NS1:iconURL="**from install.rdf**"
    NS1:name="**from install.rdf**"
    NS1:description="**from install.rdf**"
    NS1:creator="**from install.rdf**"
    NS1:homepageURL="http://**from install.rdf**"
    NS1:contributor="**from install.rdf**"&gt;</code>
</pre>
<p>More to come&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luckydisasters.com/2008/11/06/prism-information-in-depth/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Here&#8217;s How To Make An Extension Compatible With Prism (Two-ish)</title>
		<link>http://www.luckydisasters.com/2008/06/10/heres-how-to-make-an-extension-compatible-with-prism-two-ish/</link>
		<comments>http://www.luckydisasters.com/2008/06/10/heres-how-to-make-an-extension-compatible-with-prism-two-ish/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 03:57:07 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[7zip]]></category>
		<category><![CDATA[C Program]]></category>
		<category><![CDATA[Correct Target]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[Dom Inspector]]></category>
		<category><![CDATA[Editors]]></category>
		<category><![CDATA[Extension Folder]]></category>
		<category><![CDATA[Folder C]]></category>
		<category><![CDATA[Insta]]></category>
		<category><![CDATA[Installation Directory]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Mozilla Org]]></category>
		<category><![CDATA[Mud]]></category>
		<category><![CDATA[Notepad]]></category>
		<category><![CDATA[Prism Gt]]></category>
		<category><![CDATA[Rdf File]]></category>
		<category><![CDATA[String Changes]]></category>
		<category><![CDATA[Targetapplication]]></category>
		<category><![CDATA[Targets]]></category>
		<category><![CDATA[Version String]]></category>

		<guid isPermaLink="false">http://www.luckydisasters.com/?p=281</guid>
		<description><![CDATA[I know it&#8217;s been a while since I&#8217;ve posted. There&#8217;s been a lot going on &#8211; school, work, home, you get the point. Anyway, I&#8217;ve been trying to keep my last post on how to make extensions compatible with Prism up-to-date, but this is turning out to be a difficult task. So I&#8217;m just going [...]]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s been a while since I&#8217;ve posted. There&#8217;s been a lot going on &#8211; school, work, home, you get the point. Anyway, I&#8217;ve been trying to keep <a href="http://www.luckydisasters.com/2007/10/29/webrunner-now-prism-whatever-heres-how-to-make-an-extension-compatible-with-at-least-one/">my last post</a> on how to make extensions compatible with Prism up-to-date, but this is turning out to be a difficult task. So I&#8217;m just going to post new instructions as needed. Basically, everything remains the same but the version string changes. The DOM inspector is the key to figuring out the correct target to put into your extension&#8217;s install.rdf. Clear as mud yet? Well, let me lay out the steps for you again here.</p>
<p><strong>Step 1</strong><br />
Navigate to the Prism installation directory, in Windows this is:<br />
<span style="font-family: Courier New;">C:\Program Files\Prism\</span><a href="http://www.luckydisasters.com/wp-content/uploads/2008/06/firstrdf.png"rel="lightbox" ><img class="alignright alignnone size-medium wp-image-286" style="float: right;" title="firstrdf" src="http://www.luckydisasters.com/wp-content/uploads/2008/06/firstrdf-300x208.png" alt="" width="300" height="208" /></a></p>
<p>Open up the extensions folder, then the DOM inspector extension folder:<br />
<span style="font-family: Courier New;">C:\Program Files\Prism\extensions\inspector@mozilla.org<br />
</span></p>
<p>Now open the &#8220;install.rdf&#8221; file and find this section of code which can be used (usually) as-is in most extensions pasted in the right place (just use the extension&#8217;s preconfigured targets as your guide on where to place it):</p>
<p><span style="font-family: Courier New;"><br />
&lt;em:targetApplication&gt;<br />
&lt;!&#8211; Prism &#8211;&gt;<br />
&lt;Description&gt;<br />
&lt;em:id&gt;prism@developer.mozilla.org&lt;/em:id&gt;<br />
&lt;em:minVersion&gt;0.4&lt;/em:minVersion&gt;<br />
&lt;em:maxVersion&gt;1.0.0.*&lt;/em:maxVersion&gt;<br />
&lt;/Description&gt;<br />
&lt;/em:targetApplication&gt;</span></p>
<p><strong>Step 2</strong><br />
Open up your extension&#8217;s xpi file using 7zip or your favorite archiving tool and extract the install.rdf file.<br />
<a href="http://www.luckydisasters.com/wp-content/uploads/2008/06/extractinstallrdf.png"rel="lightbox" ><img class="alignnone size-medium wp-image-285" title="extractinstallrdf" src="http://www.luckydisasters.com/wp-content/uploads/2008/06/extractinstallrdf-300x135.png" alt="" width="300" height="135" /></a></p>
<p>Open that install.rdf file with a text editor (other than notepad which doesn&#8217;t understand the line breaks used by other editors) and find the area where it lists the installation targets and insert your copied text into that or modify one of the install targets with the appropriate information from the DOM inspector extension install.rdf file.</p>
<p><a href="http://www.luckydisasters.com/wp-content/uploads/2008/06/secondinstallrdf.png"rel="lightbox" ><img class="alignnone size-medium wp-image-282" title="secondinstallrdf" src="http://www.luckydisasters.com/wp-content/uploads/2008/06/secondinstallrdf-300x170.png" alt="" width="300" height="170" /></a></p>
<p><strong>Step 3</strong><img class="alignright alignnone size-full wp-image-283" style="float: right; margin: 2px;" title="addonsmenu" src="http://www.luckydisasters.com/wp-content/uploads/2008/06/addonsmenu.png" alt="" width="232" height="120" /><br />
Install the extension. This will get tricky due to the way Prism&#8217;s developers have modified the profiles and what not. Well, I say that, but it really only gets that tricky if you&#8217;re manually installing the extension. Prism developers have seen fit to include the Addons menu item from the Prism menu in the lower right of Prism&#8217;s window to help things go more smoothly.</p>
<p>One of the ways to use this new install feature for an extension is globally, which means all webapps will be able to use the extension. This is the least preferred manner due to the fact that you won&#8217;t want all extensions available for all webapps in most cases. An example would be having the Better Gmail extension available for <a href="http://www.luckydisasters.com/wp-content/uploads/2007/10/bloglines.webapp">Bloglines</a> &#8211; don&#8217;t think that&#8217;s real necessary, do you? So plan accordingly.</p>
<p>Using the second, and more preferred method, you just open your webapp. Open your webapp&#8217;s Addons panel, then install by either dragging and dropping the extension onto it, or by clicking the &#8220;Install&#8230;&#8221; button and navigating to the extension and selecting it for installation.</p>
<p><a href="http://www.luckydisasters.com/wp-content/uploads/2008/06/browseforextension.png"rel="lightbox" ><img class="alignnone size-medium wp-image-284" title="browseforextension" src="http://www.luckydisasters.com/wp-content/uploads/2008/06/browseforextension-300x168.png" alt="" width="300" height="168" /></a></p>
<p><strong>Conclusion</strong><br />
That should be about it. My next Prism post will be about how to make one of two stand alone Firefox/Prism exention webapps &#8211; POW local server or Scribefire standalone webapp. Stay tuned, we get to play with chrome!!</p>
<p>Links:</p>
<p><a href="http://wiki.mozilla.org/Prism" rel="nofollow" >Prism</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luckydisasters.com/2008/06/10/heres-how-to-make-an-extension-compatible-with-prism-two-ish/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve Been HACKED! Well, LifeHacked Any Way&#8230;</title>
		<link>http://www.luckydisasters.com/2008/04/04/ive-been-hacked-well-lifehacked-any-way/</link>
		<comments>http://www.luckydisasters.com/2008/04/04/ive-been-hacked-well-lifehacked-any-way/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 01:22:46 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[WebRunner]]></category>
		<category><![CDATA[better gcal]]></category>
		<category><![CDATA[better gmail]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[lifehacker]]></category>

		<guid isPermaLink="false">http://www.luckydisasters.com/?p=274</guid>
		<description><![CDATA[Link to LifeHacker Post LifeHacker&#8217;s linked to my post on how to install extensions in Prism/Webrunner. For anyone having trouble with some extensions, have a look at my comment dated today (080404), I&#8217;ve addressed Better GCal specifically, but this should also work for Better Gmail and a few others as well. Prism/Webrunner extensions post]]></description>
			<content:encoded><![CDATA[<p><a href="http://lifehacker.com/375830/create-distraction+free-customized-webapps-with-prism" rel="nofollow" >Link to LifeHacker Post</a></p>
<p>LifeHacker&#8217;s linked to my post on how to install extensions in Prism/Webrunner. For anyone having trouble with some extensions, have a look at my comment dated today (080404), I&#8217;ve addressed Better GCal specifically, but this should also work for Better Gmail and a few others as well.</p>
<p><a href="http://www.luckydisasters.com/2007/10/29/webrunner-now-prism-whatever-heres-how-to-make-an-extension-compatible-with-at-least-one">Prism/Webrunner extensions post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luckydisasters.com/2008/04/04/ive-been-hacked-well-lifehacked-any-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; Make Your Own WebApp</title>
		<link>http://www.luckydisasters.com/2007/12/07/howto-make-your-own-webapp/</link>
		<comments>http://www.luckydisasters.com/2007/12/07/howto-make-your-own-webapp/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 01:24:54 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WebRunner]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://www.luckydisasters.com/2007/12/07/howto-make-your-own-webapp/</guid>
		<description><![CDATA[This is just a quick howto on making your own WebRunner/Prism webapp file. This is a very simple process and shouldn&#8217;t take more than a few minutes of your time. There are a couple of tools you need however, to get started. a file archiver &#8211; my favorite is 7-zip, but you can just as [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a quick howto on making your own WebRunner/Prism webapp file. This is a very simple process and shouldn&#8217;t take more than a few minutes of your time. There are a couple of tools you need however, to get started.</p>
<ul>
<li>a file archiver &#8211; my favorite is <a href="http://www.7-zip.org/" rel="nofollow"  target="_blank">7-zip</a>, but you can just as easily use any archiving program that is compatible with zip files</li>
<li>a text plain text editor</li>
</ul>
<p>For more advanced webapps, a more advanced context highlighting text editor can be helpful for coding custom style sheets or adding javascript customizations. And don&#8217;t forget icons! I use a combination of <a href="http://www.getpaint.net/" rel="nofollow"  target="_blank">Paint.Net</a> and <a href="http://www.towofu.net/soft/e-aicon.php" rel="nofollow"  target="_blank">@icon sushi</a> (which covers everything but MacOS, which is because I can&#8217;t seem to find software for Linux or Windows to accommodate icons for it &#8211; recommendations anyone?).</p>
<p><strong>The No &#8220;.webapp&#8221; WebApp</strong></p>
<p>There are several ways to open webpages with Prism or WebRunner. The first and easiest is to install Prism, then create a link to it on your desktop. Then change that link adding the option &#8220;-uri&#8221; and the url of the page you want to open. Here are two examples:</p>
<p>Windows:<br />
<code>c:\</code><code>your\path\to_prism\prism.exe -uri http://web_url_of_site
c:\your\path\to_prism\prism.exe -uri c:\location\of\local_file</code></p>
<p>GNU/Linux:<br />
<code>/your/path/to_prism/prism -uri http://web_url_of_site
/your/path/to_prism/prism -uri /location/of/local_file</code></p>
<p>This method does not require a webapp file, it just launches the website or file you specify. This means, no icons are required, but you also don&#8217;t get to add any custom themes or js files. This would be a really good method to use with applications like <a href="http://stickwiki.sourceforge.net/" rel="nofollow"  target="_blank">Wiki on a Stick</a> (woas).</p>
<p><strong>WebApp Bundles</strong></p>
<p>The second method is also pretty straight forward (until you make it complex by adding more functionality). For the most basic webApp bundle you only need to create one file; the webapp.ini. Here&#8217;s the content from the example webapp.ini on the Prism wiki:</p>
<p><code>[Parameters]
id=unique-app-id@unique-author-id.whatever
uri=http://[the-url-what-you-want-to-connect-to]/
status=yes
location=no
sidebar=no
navigation=no</code></p>
<p>The &#8220;id&#8221; parameter is required to be unique. I&#8217;ve been using my website&#8217;s url (as most others have done as well) preceded by the name of the site, but any unique identifier will work. The &#8220;uri&#8221; parameter is required and will accept both url of the target website as well as local file paths. Everything after that appears to be optional and the values show are the defaults. These remaining parameters are options to tell Prism whether or not to show certain GUI elements (&#8220;status&#8221; = status bar;&#8221;location&#8221; = address bar;&#8221;sidebar&#8221; = sidebar;&#8221;navigation&#8221; = well, quite frankly, I have no idea &#8211; maybe navigation buttons that haven&#8217;t been implemented yet?).</p>
<p>The next step after saving your changes to this document, is to use your archiving program to zip up this file creating, as an example, &#8220;your_webapp.zip&#8221;. Replace the &#8220;zip&#8221; extension with &#8220;webapp&#8221; and you&#8217;re ready to roll! Now either double click the webapp file or you can launch the webapp from the command line thusly:</p>
<p>Windows:<br />
<code>c:\</code><code>your\path\to_prism\prism.exe -webapp your_webapp_bundle</code></p>
<p>GNU/Linux:<br />
<code>/your/path/to_prism/prism  -webapp your_webapp_bundle</code></p>
<p>For more advanced webapps you can add icons, scripting and style sheet support (see the Prism page for more details).</p>
<p>Happy coding!</p>
<p><a href="http://wiki.mozilla.org/Prism" rel="nofollow"  target="_blank">Prism</a><br />
<a href="http://wiki.mozilla.org/Prism/bundle" rel="nofollow"  target="_blank"> Prism/WebApp Bundle</a><br />
<a href="http://wiki.mozilla.org/Prism/scripting" rel="nofollow"  target="_blank"> Prism/Scripting</a><br />
<a href="http://wiki.mozilla.org/Prism/styling" rel="nofollow"  target="_blank"> Prism/Styling</a><br />
<a href="http://www.7-zip.org/" rel="nofollow"  target="_blank"> 7-Zip</a><br />
<a href="http://www.getpaint.net/" rel="nofollow"  target="_blank"> Paint.Net</a><br />
<a href="http://www.towofu.net/soft/e-aicon.php" rel="nofollow"  target="_blank"> @icon sushi</a><br />
<a href="http://stickwiki.sourceforge.net/" rel="nofollow"  target="_blank"> Wiki on a Stick</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luckydisasters.com/2007/12/07/howto-make-your-own-webapp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>YAWA &#8211; Yet Another WebApp for Prism/WebRunner</title>
		<link>http://www.luckydisasters.com/2007/12/04/yawa-yet-another-webapp-for-prismwebrunner/</link>
		<comments>http://www.luckydisasters.com/2007/12/04/yawa-yet-another-webapp-for-prismwebrunner/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 04:14:45 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[WebRunner]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[Background Color]]></category>
		<category><![CDATA[Musical Experience]]></category>
		<category><![CDATA[Nin]]></category>
		<category><![CDATA[Open Culture]]></category>
		<category><![CDATA[Paint]]></category>
		<category><![CDATA[Perfect Candidate]]></category>
		<category><![CDATA[Source Files]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://www.luckydisasters.com/2007/12/04/yawa-yet-another-webapp-for-prismwebrunner/</guid>
		<description><![CDATA[I&#8217;ve been checking out the phenomenal NIN remix site and I thought to myself, wow how nice that a site that empowers you with the ability to take part in the musical experience &#8211; free of charge &#8211; is also a perfect candidate for a WebApp! Included in this webapp are the source files for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.luckydisasters.com/wp-content/uploads/2007/12/nin_remix_screenshot.png"rel="lightbox" title="nin remix screen cap" ><img style="float: left;margin:2px;" src="http://www.luckydisasters.com/wp-content/uploads/2007/12/nin_remix_screenshot.thumbnail.png" alt="nin remix screen cap" /></a>I&#8217;ve been checking out the phenomenal <a href="http://remix.nin.com/" rel="nofollow" title="remix nin"  target="_blank">NIN remix site</a> and I thought to myself, wow how nice that a site that empowers you with the ability to take part in the musical experience &#8211; free of charge &#8211; is also a perfect candidate for a WebApp!</p>
<p>Included in <a href="http://www.luckydisasters.com/wp-content/uploads/2007/12/remix.nin.webapp">this webapp</a> are the source files for the icon I created using <a href="http://www.getpaint.net/" rel="nofollow"  target="_blank">Paint.Net</a> (so you can change the background color or make other changes if you&#8217;d like &#8211; just keeping within the remix/open culture vein) . Enjoy!</p>
<p><a href="http://remix.nin.com/" target="_blank">Remix &#8211; NIN Remix site<br />
</a></p>
<p><a href="http://www.luckydisasters.com/wp-content/uploads/2007/12/remix.nin.webapp">Remix.NIN-WebApp</a> (let me know what you think!)</p>
<p><a href="http://wiki.mozilla.org/Prism" rel="nofollow"  target="_blank">Prism</a>/<a href="http://wiki.mozilla.org/WebRunner" rel="nofollow"  target="_blank">WebRunner</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luckydisasters.com/2007/12/04/yawa-yet-another-webapp-for-prismwebrunner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebRunner now Prism, Whatever &#8211; Here&#8217;s How To Make An Extension Compatible With At Least One&#8230;</title>
		<link>http://www.luckydisasters.com/2007/10/29/webrunner-now-prism-whatever-heres-how-to-make-an-extension-compatible-with-at-least-one/</link>
		<comments>http://www.luckydisasters.com/2007/10/29/webrunner-now-prism-whatever-heres-how-to-make-an-extension-compatible-with-at-least-one/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 03:31:22 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WebRunner]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Archive Program]]></category>
		<category><![CDATA[Code Changes]]></category>
		<category><![CDATA[Compatibility]]></category>
		<category><![CDATA[Description Section]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Lancher]]></category>
		<category><![CDATA[Linux Version]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Microsoft Silverlight]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Rdf]]></category>
		<category><![CDATA[Style Sheet Support]]></category>
		<category><![CDATA[Utility Computing]]></category>
		<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[webapp]]></category>
		<category><![CDATA[Webapps]]></category>
		<category><![CDATA[Winzip]]></category>
		<category><![CDATA[Xulrunner]]></category>
		<category><![CDATA[Zip Files]]></category>

		<guid isPermaLink="false">http://www.luckydisasters.com/2007/10/29/webrunner-now-prism-whatever-heres-how-to-make-an-extension-compatible-with-at-least-one/</guid>
		<description><![CDATA[UPDATE AGAIN! 080611 I&#8217;ve made a new post on this subject cause it&#8217;s easier to update by adding new posts instead of updating this one. Enjoy! Update!! Had to add a comment to the replacement code below in order for this to work. 080404 Update!! Yet again, code changes for new versions and what not. [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>UPDATE AGAIN! 080611</strong></span><br />
<a href="http://www.luckydisasters.com/2008/06/10/heres-how-to-make-an-extension-compatible-with-prism-two-ish/">I&#8217;ve made a new post on this subject cause it&#8217;s easier to update by adding new posts instead of updating this one. Enjoy!</a></p>
<p><ins style="color: red"><strong>Update!!</strong><br />
Had to add a comment to the replacement code below in order for this to work.</ins></p>
<p><ins style="color: red"><strong>080404 Update!!</strong><br />
Yet again, code changes for new versions and what not.</ins></p>
<p>Looks like Mozilla has added WebRunner to it&#8217;s Mozilla Labs line up and changed the name to <a href="http://labs.mozilla.com/2007/10/prism/" rel="nofollow"  target="_blank">Prism</a>. From what they say, it&#8217;s going to be a cross between an open version of Adobe Air and Microsoft Silverlight and a localized lancher for web applications. Which, by my definition, is what utility computing is supposed to be like. Prism is currently for Windows only (they&#8217;d better hurry up with a Linux version), but it runs the same webapp files and also has added style sheet support &#8211; among other things &#8211; so you can style your webapps your way.</p>
<p>Anyway, I&#8217;ve been kind of discouraged by the lack of extension availability for WebRunner (and XulRunner for that matter). You&#8217;ll find in another of my posts a webapp for accessing the WebRunner extensions panel. Using this webapp, you can add new extensions (by installing or dropping them onto the panel), but at this point, adding extensions will fail because the version checking mechanism for WebRunner/XulRunner. To get around that, you need to change the extension&#8217;s compatibility information. These instructions will not work for every extension and your results will vary&#8230;</p>
<p>I recommend you find a smaller extension, download it and make the following changes:</p>
<ol>
<li>Open the extension package (you can open it with 7-zip, ALzip, Winzip or any other  archive program that works with zip files.</li>
<li>Extract and open the install.rdf with a text editor, I&#8217;d recommend Wordpad if your using windows.</li>
<li>Locate and change the following or something that looks like the following (this will vary by extension, but look for the Firefox description section &#8211; and you may find that you have to remove all references to all other Mozilla programs that the extension is compatible with for this to work):</li>
</ol>
<pre>
<code>&lt;!--Firefox--&gt;
&lt;RDF:Description RDF:about="rdf:#$djS7s"
  em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
  em:minVersion="0.8"
  em:maxVersion="2.0.0.*" /&gt;</code>
</pre>
<p>To:</p>
<pre>
<code>&lt;!--Webrunner--&gt;
  &lt;RDF:Description RDF:about="webrunner"
    em:id="webrunner@webapps.org"
    em:minVersion="0.1"
    em:maxVersion="10.0" /&gt;</code>
</pre>
<p>or (again it will depend on which way the developer implemented the Firefox description):</p>
<pre>
<code>&lt;em:targetApplication&gt;
  &lt;!--Webrunner--&gt;
  &lt;Description&gt;
    &lt;em:id&gt;webrunner@webapps.org&lt;/em:id&gt;
    &lt;em:minVersion&gt;0.1&lt;/em:minVersion&gt;
    &lt;em:maxVersion&gt;10.0&lt;/em:maxVersion&gt;
  &lt;/Description&gt;
&lt;/em:targetApplication&gt;</code>
</pre>
<p>If you&#8217;re using Prism, change to the following:</p>
<pre>
<code>&lt;RDF:Description RDF:about="prism"
  em:id="prism@developer.mozilla.org"
  em:minVersion="0.1"
  em:maxVersion="10.0" /&gt;</code>
</pre>
<p>or</p>
<pre>
<code>&lt;em:targetApplication&gt;
  &lt;Description&gt;
    &lt;!--Prism--&gt;
    &lt;em:id&gt;prism@developer.mozilla.org&lt;/em:id&gt;
    &lt;em:minVersion&gt;0.1&lt;/em:minVersion&gt;
    &lt;em:maxVersion&gt;10.0&lt;/em:maxVersion&gt;
  &lt;/Description&gt;
&lt;/em:targetApplication&gt;</code>
</pre>
<p>4. Then save the rdf file and add it back into the xpi archive.<br />
5. You should be ready to install the extension using the Extensions.webapp</p>
<p>I found this <a href="http://www.iosart.com/blog/2007/06/05/install-google-gears-in-a-xulrunner-app-in-3-quick-steps/" rel="nofollow"  target="_blank">parts of this bit of magic</a> on <a href="http://www.iosart.com" rel="nofollow"  target="_blank">Alex Sirota&#8217;s</a> website along with the tip to check in the applicaiton.ini file for any XulRunner application&#8217;s ID. If you run into errors, then something is probably malformed in the rdf file so check that first. I won&#8217;t be much help in trouble shooting, and I&#8217;m not about to offer support for other peoples extensions on an unsupported application, but if you have problems, post a comment and I&#8217;ll give editing the rdf a go myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luckydisasters.com/2007/10/29/webrunner-now-prism-whatever-heres-how-to-make-an-extension-compatible-with-at-least-one/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>
