<?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>Widgetbox Knowledgebase &#187; Viral Installer</title>
	<atom:link href="http://docs.widgetbox.com/category/distributing-widgets/viral-installer/feed/" rel="self" type="application/rss+xml" />
	<link>http://docs.widgetbox.com</link>
	<description></description>
	<lastBuildDate>Sat, 14 Nov 2009 18:31:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Viral Installer How-To</title>
		<link>http://docs.widgetbox.com/distributing-widgets/viral-installer/viral-installer-how-to/</link>
		<comments>http://docs.widgetbox.com/distributing-widgets/viral-installer/viral-installer-how-to/#comments</comments>
		<pubDate>Wed, 06 May 2009 08:18:54 +0000</pubDate>
		<dc:creator>Team Widgetbox</dc:creator>
				<category><![CDATA[Viral Installer]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=639</guid>
		<description><![CDATA[Get started using the Viral Installer with your widget.]]></description>
			<content:encoded><![CDATA[<h3 class="sectionHeader">Getting Started</h3>
<p>The Viral Installer consists of code that allows users to customize and grab your widget from a non-Widgetbox site. </p>
<p>The code contains two key sections:</p>
<ol>
<li>A hidden form that includes all of the configurable widget values you defined when registering your widget on Widgetbox.</li>
<li>Javascript that displays a Get Widget link.  When a user clicks Get Widget, the same Javascript starts the widget installation process using any values you may have provided to the hidden form.</li>
</ol>
<h3 class="sectionHeader">A Step-by-Step Example</h3>
<p>How do you get the Viral Installer code for your widget?  Let&#8217;s walk through a simple example.</p>
<ol>
<li>Create a page on a non-Widgetbox website that will allow users to customize and grab your widget. Note the page&#8217;s URL. For our example, let&#8217;s assume the URL is &quot;http://www.your-site.com/viral-installer-example.html&quot;.</li>
<li>On Widgetbox.com, create a new hosted widget with a single configuration parameter called RemoteParam1. Of course, you can have multiple config parameters (i.e. RemoteParam2 &#8230;  RemoteParamN) as necessary.  We&#8217;ll just keep it simple for now.</li>
<p><a class="imagelink" href="http://docs.widgetbox.com/wp-content/uploads/2007/10/newwidget.jpg" title="New Widget- Click to Enlarge"><img id="image147" src="http://docs.widgetbox.com/wp-content/uploads/2007/10/newwidget.thumbnail.jpg" alt="New Widget - click to enlarge" /></a></p>
<li>On the Parameters screen:</li>
<ul>
<li>a) Ensure the Display Name and Name for your parameter are called RemoteParam1. Change the parameter type to &quot;Hidden&quot;. </li>
<li>b) Click the wrench icon associated with  RemoteParam1. Provide a Default Value of &quot;Text to Support Widget Preview&quot;. This value will be used to support the widget preview users see in the Widgetbox Gallery.</li>
<li>c) Check the &quot;Use remote configuration&quot; checkbox and enter the URL to the page you identified in step 1.</li>
</ul>
<p><a class="imagelink" href="http://docs.widgetbox.com/wp-content/uploads/2007/10/parameters.jpg" title="Viral Installer Example - Parameters. Click to Enlarge."><img id="image148" src="http://docs.widgetbox.com/wp-content/uploads/2007/10/parameters.thumbnail.jpg" alt="Viral Installer Example - Parameters" /></a></p>
<p><strong>Note: You could click the Get the Viral Installer link to get the Viral Installer at this point.  But don&#8217;t for now &#8211; we&#8217;ll come back to it later.</strong></p>
<li>Accept the default settings on the Preview screen.</li>
<li>Finish registering your widget on the Gallery Entry screen and make sure you assign a Permalink ID. For now, don&#8217;t submit the widget for consideration to the Widgetbox Gallery.  We&#8217;ve got a little more work to do </li>
<p><a class="imagelink" href="http://docs.widgetbox.com/wp-content/uploads/2007/10/gallery-entry.jpg" title="Viral Installer Example - Gallery Entry. Click to Enlarge."><img id="image149" src="http://docs.widgetbox.com/wp-content/uploads/2007/10/gallery-entry.thumbnail.jpg" alt="Viral Installer Example - Gallery Entry. Click to Enlarge." /></a></p>
<li>Visit My Widgets &gt; Developed Widgets and click your widgets name. You&#8217;ll notice your widget&#8217;s home page is a little different. </li>
<ul>
<li>a) Instead of seeing the Widget Settings panel, users are instructed to visit your site to customize and get your widget.</li>
<li>b) The Get Widget button is purple instead of green. This lets users that the process of customizing and grabbing the widget will occur on your site.</li>
</ul>
<p><a class="imagelink" href="http://docs.widgetbox.com/wp-content/uploads/2007/10/gallery.jpg" title="Viral Installer Example - Gallery. Click to Enlarge."><img id="image150" src="http://docs.widgetbox.com/wp-content/uploads/2007/10/gallery.thumbnail.jpg" alt="Viral Installer Example - Gallery. Click to Enlarge." /></a></p>
<li>Go back to My Widgets &gt; Developed Widgets. Click the link called Get Installer associated with your widget.</li>
<p><img id="image151" src="http://docs.widgetbox.com/wp-content/uploads/2007/10/developed-widgets.thumbnail.jpg" alt="Viral Installer Example - Developed Widgets. Click to Enlarge." /></p>
<li>Copy the Viral Installer code that appears. It&#8217;ll look something like this:</li>
<div class="codebox"><code>&lt;!-- Developer:  you can configure your widget's values via Javascript.<br />
    Learn more at http://docs.widgetbox.com/developers/viral-installer/ --&gt;<br />
    &lt;form id=&quot;viral_installer_example_GetWidgetForm&quot; style=&quot;display:none;&quot;&gt;<br />
    &lt;input type=&quot;hidden&quot; name=&quot;appInstance.instanceName&quot; value=&quot;&quot;/&gt;<br />
    &lt;input type=&quot;hidden&quot; name=&quot;appInstance.width&quot; value=&quot;&quot;/&gt;<br />
    &lt;input type=&quot;hidden&quot; name=&quot;appInstance.height&quot; value=&quot;&quot;/&gt;<br />
    &lt;input type=&quot;hidden&quot; name=&quot;RemoteParam1&quot; value=&quot;&quot;/&gt;<br />
    &lt;/form&gt;<br />
    &lt;script src='http://www.widgetbox.com/get_widget_btn.jsp?sourceId=&lt;Unique ID Value&gt;&amp;ns=viral_installer_example'&gt;&lt;/script&gt;<br />
    </code></div>
<li>Let&#8217;s explain the values the hidden field values.</li>
<p><code>appInstance.instanceName</code> &#8211; The &quot;friendly name&quot; a user can assign to a widget.</p>
<p><code>appInstance.width</code> &#8211; The width of the widget.</p>
<p><code>appInstance.height</code> &#8211; The height of the widget.</p>
<p><strong>Note: If no values are provided for these three fields, the widget will be created using values associated with the widget&#8217;s preview settings.</strong></p>
<p><code>RemoteParam1</code> &#8211; The value that maps to ${config.RemoteParam1}</p>
<p><strong>Note: If no value is provided for this field, the default value (if it exists) will be used.</strong></p>
<li>Put the Viral Installer code onto the page you identified in steps 1 and 3c.</li>
<li>Test the Viral Installer. We&#8217;ll do this by temporarily adding values to each of the hidden form fields.</li>
<div class="codebox"><code>&lt;!-- Developer:  you can configure your widget's values via Javascript. Learn more at http://docs.widgetbox.com/developers/viral-installer/ --&gt;<br />
    &lt;form id=&quot;viral_installer_example_GetWidgetForm&quot; style=&quot;display:none;&quot;&gt;<br />
    &lt;input type=&quot;hidden&quot; name=&quot;appInstance.instanceName&quot; value=&quot;My Customized Viral Installer Widget&quot;/&gt;<br />
    &lt;input type=&quot;hidden&quot; name=&quot;appInstance.width&quot; value=&quot;200&quot;/&gt;<br />
    &lt;input type=&quot;hidden&quot; name=&quot;appInstance.height&quot; value=&quot;200&quot;/&gt;<br />
    &lt;input type=&quot;hidden&quot; name=&quot;RemoteParam1&quot; value=&quot;Viral Installer Test&quot;/&gt;<br />
    &lt;/form&gt;<br />
    &lt;script src='http://www.widgetbox.com/get_widget_btn.jsp?sourceId=&lt;Unique ID Value&gt;&amp;ns=viral_installer_example'&gt;&lt;/script&gt;</code></div>
<li>Save your page. Load it in your browser.</li>
<li>Click the Get Widget link. The same menu that appears on the Widgetbox.com site when a user clicks Get Widget will appear. Pick a site to install your widget or just grab the widget code.</li>
<li>Take a look at your installed widget. The text &quot;Viral Installer Test&quot; should appear within.</li>
<li>Remove the temporary changes to the widget code  made in step 10. Save the changes. Reload the page in your browser.</li>
<li>What&#8217;s next? Build an interface to feed values into the hidden form. What does does the interface need to look like? That&#8217;s up to you! If you want a quick solution, you can un-hide the Viral Installer form and each of the form input fields. </li>
<li>Don&#8217;t forget to come back to Widgetbox and submit your widget for consideration in our Gallery.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/distributing-widgets/viral-installer/viral-installer-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Viral Installer Overview</title>
		<link>http://docs.widgetbox.com/distributing-widgets/viral-installer/viral-installer/</link>
		<comments>http://docs.widgetbox.com/distributing-widgets/viral-installer/viral-installer/#comments</comments>
		<pubDate>Wed, 06 May 2009 08:09:38 +0000</pubDate>
		<dc:creator>Team Widgetbox</dc:creator>
				<category><![CDATA[Viral Installer]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=635</guid>
		<description><![CDATA[Enable users to get your widget directly from your website and spread it fast with the Viral Installer.]]></description>
			<content:encoded><![CDATA[<div class="note">
<h3 class="devshare">Get the Viral Installer</h3>
<div class="content">
<p>Enable users to get your widget directly from your website and spread it fast with the Viral Installer.  Users can get your widget in a few clicks with all the customization you want.  The Viral Installer also puts a Get Widget button on your widget enabling even more users to easily get your widget once it&#8217;s left your site.  With the Viral Installer, your widgets will spread fast &#8211; like a virus!</p>
<p>The Viral Installer also gives you:</p>
<h5>Promotion and Distribution</h5>
<p>Your widget will be listed in the Widgebox gallery and promoted through other Widgetbox distribution partners across the web.  Additionally, the Viral Installer comes with a Get Widget button enabling users to easily put your widget on popular sites such as MySpace, Facebook, Blogger, and many more.</p>
<h5>Easy Set Up</h5>
<p>You don&#8217;t need to do any development work.  Just copy and paste the Viral Installer code onto your site and it&#8217;s ready to go. </p>
<h5>Performance Metrics</h5>
<p>Track how many users have viewed, clicked, and installed your widget.</p>
<h5>On-Site Configuration</h5>
<p>You can set up the Viral Installer to allow users to customize your widget directly on your site.</p>
<p>And, best of all, the Viral Installer is free!</p>
<p>Take a moment to read through our <a href="http://docs.widgetbox.com/developers/viral-installer/viral-installer-faq">FAQ</a>. We&#8217;ve got great <a href="http://docs.widgetbox.com/developers/viral-installer/viral-installer-howto">documentation</a> and a <script type="text/javascript"><!--
	sto_dom='widgetbox.com'
	sto_user='support'
	document.write('<a   href="mailto:' + sto_user + '@' +sto_dom + '" >'+ sto_user + '@' +sto_dom +'<' + '/a>')
//--></script><noscript>no-spam-thanks@localhost</noscript> to help you get started.</p>
<p>To get the Viral Installer, click on the Get Installer link next to each of your developed widgets in My Widgets.</p>
<ul class="action-set">
<li class="newwdgt-lgbtn"><a href="http://www.widgetbox.com/dash/registrations.jsp">Get Viral Installer</a></li>
</ul></div>
</div>
<div class="clear"></div>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/distributing-widgets/viral-installer/viral-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
