<?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; Developing Widgets</title>
	<atom:link href="http://docs.widgetbox.com/category/developing-widgets/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>What are the Types of Widgets in Widgetbox?</title>
		<link>http://docs.widgetbox.com/using-widgets/about-widgets/what-are-the-types-of-widgets-in-widgetbox/</link>
		<comments>http://docs.widgetbox.com/using-widgets/about-widgets/what-are-the-types-of-widgets-in-widgetbox/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 18:13:14 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[About Widgets]]></category>
		<category><![CDATA[Getting Started]]></category>
		<category><![CDATA[Pro Credits]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=844</guid>
		<description><![CDATA[Template Widgets
Our Template widgets allow you to easily create a customized widget from your own content. With no coding knowledge necessary, you can create a widget in minutes. You customize which fields you&#8217;d like to include in your widget and personalize the text. You can also customize the look and feel of the widget by [...]]]></description>
			<content:encoded><![CDATA[<h2>Template Widgets</h2>
<p>Our Template widgets allow you to easily create a customized widget from your own content. With no coding knowledge necessary, you can create a widget in minutes. You customize which fields you&#8217;d like to include in your widget and personalize the text. You can also customize the look and feel of the widget by choosing different images, fonts, stylings, and colors.</p>
<p>Examples of Template widgets include:</p>
<ul>
<li>Countdown widgets: Create a countdown to any event</li>
<li>Slideshow widgets: Upload photos and create a slideshow</li>
<li>Poll widgets: Choose a question and provide different answer choices to create a poll</li>
</ul>
<h2>Blidgets</h2>
<p>Blidgets are specialized widgets that display your blog. Blidgets allow you to turn your feed-based content into a personalized widget that you can share with others. Simply enter in your blog or feed-based address (url) and the Blidget template will convert your content into a Blidget. You can further personalize your Blidget by customizing the look and feel with different fonts, stylings, and colors.</p>
<p>Examples of Blidgets include:</p>
<ul>
<li>Blog: Turn your blog or feed into a widget</li>
<li>Twitter: Turn your Twitter updates or favorites into a widget</li>
<li>Flickr: Turn your Flickr photostream into a widget</li>
<li>YouTube: Turn your Youtube videos into a widget</li>
</ul>
<h2>Pro vs. Basic Modes</h2>
<p>Our Template widgets and Blidgets have two different modes users can choose from—Basic and Pro. The Pro versions of these widgets come with enhanced features that aren&#8217;t available with the basic versions including:</p>
<ul>
<li>Additional font and styling choices</li>
<li>Additional text fields</li>
<li>Multiple tabs of content for Blidgets</li>
<li>Uploaded headers and background images</li>
<li>Ability to hide the &#8220;Get Widget&#8221; button</li>
<li>No ads</li>
</ul>
<p>The basic versions of our Template widgets and Blidgets are available to everyone. Pro versions of our Template widgets and Blidgets require a <a href="http://www.widgetbox.com/product/pro/">Pro subscription</a> to create. If you are a Pro subscriber, you can choose to create Basic widgets or Pro widgets. Basic widgets will not require you to use any of your account&#8217;s <a href="http://docs.widgetbox.com/going-pro/pro-credits/whats-a-pro-credit/">Pro credits</a>. Regardless of whether you create Basic or Pro widgets, Pro subscribers should not see any ads on any widgets created.</p>
<h2>Developed Widgets</h2>
<p>If you are a developer, or familiar with different coding languages and applications, you can develop your own widget from scratch without a template. Create your own widget from HTML, Flash, or JavaScript. You can also import widgets you have previously developed as Google gadgets. Developed widgets do not offer Basic or Pro modes, and can thus be created by anyone regardless of subscription level. However, Pro subscribers have access to these additional features when developing their own widgets:</p>
<ul>
<li>Ability to hide the &#8220;Get Widget&#8221; button</li>
<li>No ads</li>
<li>Premium stats including geo-location data</li>
<li>Priority review on submittals to our gallery</li>
</ul>
<h2>Facebook Fan Page Apps</h2>
<p>These widgets allow you to easily create customized apps for your Facebook Fan Pages with no coding knowledge necessary. Many of our Facebook Fan Page apps are similar to Pro template widgets and Blidgets, but the difference is you create these widgets specifically for your Facebook Fan Pages (Template widgets and Blidgets can only be installed to a personal profile on Facebook). Facebook Fan Page Apps are only available to <a href="http://www.widgetbox.com/product/pro/?highlight=pub">Publisher Pro and Business Pro</a> users.</p>
<p>Examples of Facebook Fan Page Apps include:</p>
<ul>
<li>Blog: Instantly put your company&#8217;s blog on your Facebook Fan Page</li>
<li>Twitter: Easily add your Twitter updates to your Facebook Fan Page</li>
<li>Gallery: Spotlight articles about your company on your Facebook Fan Page</li>
<li>Poll: Add a poll to your Facebook Fan Page</li>
</ul>
<h2>Widgets in the Widgetbox Gallery</h2>
<p>There are over 170,000 widgets in the Widgetbox gallery covering a wide range of topics and interests, including games, celebrity gossip blogs, news headlines, educational quizzes and many many more. </p>
<p>If you are a developer you can add widgets you&#8217;ve developed to our Widgetbox gallery to make them available for users to install. Simply submit your widgets for approval, and you&#8217;ll generally receive a decision within 2 business days. </p>
<p>If you are a user, you can install any of the widgets in our gallery to a personal website, Facebook, Twitter, Myspace, or almost any other widget-friendly site. Browse by tag, topic, or featured lists to find fun and useful widgets to install.</p>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/using-widgets/about-widgets/what-are-the-types-of-widgets-in-widgetbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ad Compliant Guidelines</title>
		<link>http://docs.widgetbox.com/developing-widgets/including-ads/ad-compliant-guidelines/</link>
		<comments>http://docs.widgetbox.com/developing-widgets/including-ads/ad-compliant-guidelines/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 17:51:22 +0000</pubDate>
		<dc:creator>Team Widgetbox</dc:creator>
				<category><![CDATA[Including Ads]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=724</guid>
		<description><![CDATA[Introduction
Widgetbox requires widgets that are registered in our gallery be Ad Compliant. The Ad Compliant program allows Widgetbox to display ads on widgets in circumstances where ads are allowed or should be displayed. Unfortunately, defining what is or isn’t an ad is not black and white. Below you will find the Widgetbox guidelines that that [...]]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Widgetbox requires widgets that are registered in our gallery be Ad Compliant. The Ad Compliant program allows Widgetbox to display ads on widgets in circumstances where ads are allowed or should be displayed. Unfortunately, defining what is or isn’t an ad is not black and white. Below you will find the Widgetbox guidelines that that will help determine what is considered an ad and what is not.</p>
<p>The best practice would be to ask the Widgetbox support team for their opinion while you are building you widget, before you submit it to the gallery for items that you are not sure of. Our goal is to have a program that benefits all users of Widgetbox and we are happy to answer any questions you may have and we are also open to any input that you have which might make our program more successful for all.</p>
<h2>Guidelines</h2>
<p>Widgetbox buckets the Ad Compliant issues into three categories which are defined below:</p>
<h3>Attribution</h3>
<p>Widgetbox defines attribution as attributing credit to the author of the work. Attributions are not dynamic and do not change. Although the presentation and style may change, the attributed creator should not.  Attributions can be the individual or company that is promoting the widget or a third party that created the widget for an individual or company. Attributions that meet the Widgetbox guidelines will be considered Ad Compliant.</p>
<div class="help">
<strong>Examples:</strong><br />
                                    Powered by <a href="http://www.widgetbox.com/" target="_blank">Widgetbox</a><br />
                                    <a href="http://www.widgetbox.com/" target="_blank">Created by Widgetbox</a>
</div>
<h3>Promotion</h3>
<p>Widgetbox defines promotion as a general sponsorship of the widget by the widget creator or the individual or company that the widget  account is registered to. Promotions  are not considered advertisements and are considered Ad Compliant by Widgetbox.</p>
<h3>Ad</h3>
<p>Widgetbox defines ads as any promotion within the widget designed to increase consumption of products or services that are not produced by the makers of the content in the widget. Basically any third party ad such as Google Ad Sense, Mochi Media ad, or any overlay, pre roll, post roll, .jpeg, .gif, video or other format that is advertising third party products or services.</p>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/developing-widgets/including-ads/ad-compliant-guidelines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Widget Publication Criteria</title>
		<link>http://docs.widgetbox.com/developing-widgets/submitting-to-the-gallery/widget-publication-criteria/</link>
		<comments>http://docs.widgetbox.com/developing-widgets/submitting-to-the-gallery/widget-publication-criteria/#comments</comments>
		<pubDate>Wed, 06 May 2009 08:06:52 +0000</pubDate>
		<dc:creator>Team Widgetbox</dc:creator>
				<category><![CDATA[Submitting to the Gallery]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=633</guid>
		<description><![CDATA[Learn why we may decline your widget from listing in our gallery.]]></description>
			<content:encoded><![CDATA[<p>
    When you submit your widget to the Widgetbox gallery, it goes through an approval process.
</p>
<p>
We may decline to include and display widgets that violate our program guidelines, including:</p>
<ul>
<li>
            Illegal content
        </li>
<li>
            Invasions of personal privacy
        </li>
<li>
            Pornography or obscenity
        </li>
<li>
            Content that interferes with the functioning of the sites the widget is embedded into
        </li>
<li>
            Promotions of hate or incitement of violence
        </li>
<li>
            Violations of copyright
        </li>
<li>
            Widgets that aren&#8217;t actually widgets.  Meaning, the content of the widget has to be an actual widget that people would put on a site.    It can&#8217;t be an ad for widgets that live elsewhere.   It can&#8217;t be a widget plus its installation instructions.
        </li>
<li>
            Any un-altered copy of the &#8220;Hello World&#8221; example HTML/JS widget provided to you by Widgetbox.
        </li>
</ul>
<p>
In addition, if the widget seems broken or incomplete or otherwise unusable, we will reject it and ask you to fix the issues.
</p>
<p>
You can see the full Developer Agreement at <a href="http://www.widgetbox.com/info/legal/developer-agreement/">http://www.widgetbox.com/info/legal/developer-agreement/</a>.
</p>
<p>
These policies may be revised from time to time without notice.</p>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/developing-widgets/submitting-to-the-gallery/widget-publication-criteria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Use Widgetbox</title>
		<link>http://docs.widgetbox.com/developing-widgets/getting-started/why-use-widgetbox/</link>
		<comments>http://docs.widgetbox.com/developing-widgets/getting-started/why-use-widgetbox/#comments</comments>
		<pubDate>Wed, 06 May 2009 07:54:22 +0000</pubDate>
		<dc:creator>Team Widgetbox</dc:creator>
				<category><![CDATA[Getting Started]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=630</guid>
		<description><![CDATA[Learn why to use Widgetbox to develop and distribute your widgets.]]></description>
			<content:encoded><![CDATA[<dl>
<dt>
            Great Tools.
        </dt>
<dd>
            We give you tools to create an <a href="/developers/guide/hostedhtml/">HTML/JavaScript-based widget</a> from scratch or from your existing <a href="/developers/guide/remotehtml/">widget-sized Web Page</a>, <a href="/developers/guide/flash/">Flash file</a> or <a href="/developers/blidget/">RSS feed</a>. You can also import your <a href="/developers/guide/import-a-google-gadget/">Google Gadget</a>. We&#8217;re here to give you the best tools for making and distributing widgets so you can focus on being creative.
        </dd>
<dt>
            Fast and easy distribution on the web and in the wild.
        </dt>
<dd>
            We make it dead simple for a user to get your widget. Each time your widget is installed on a site, we place a <a href="http://docs.widgetbox.com/developers/guide/where-widgets-work/">Get Widget button</a> beneath it. Users click the Get Widget button to <a href="http://docs.widgetbox.com/developers/guide/where-widgets-work/">pick a site to install your widget to</a> or use it to grab the HTML embed code.
        </dd>
<dt>
            The largest widget gallery on the web.
        </dt>
<dd>
            We give you a free listing in the <a href="http://www.widgetbox.com/">Widgetbox gallery</a>, the world&#8217;s largest widget gallery and a destination for millions of users looking for widgets!
        </dd>
<dt>
            The leading widget gallery provider to social networks, start pages and blog platforms.
        </dt>
<dd>
            Our <a href="http://www.widgetbox.com/info/partners/">Custom Gallery</a> product lets social networks, start pages and blog platforms create widget galleries for their users. Widgetbox and our Custom Gallery partners can create the targeted connections your widget needs to succeed.
        </dd>
<dt>
            Get started right now!
        </dt>
<dd>
            Turn your blog into a widget you can share with others using our <a href="http://www.widgetbox.com/make/blidget/">Blidget</a> tool. Then, read the <a href="/developers/guide/">Widget Developers Guide</a> to learn more!
        </dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/developing-widgets/getting-started/why-use-widgetbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Widget Developer Guide</title>
		<link>http://docs.widgetbox.com/developing-widgets/getting-started/widget-developer-guide/</link>
		<comments>http://docs.widgetbox.com/developing-widgets/getting-started/widget-developer-guide/#comments</comments>
		<pubDate>Wed, 06 May 2009 07:44:07 +0000</pubDate>
		<dc:creator>Team Widgetbox</dc:creator>
				<category><![CDATA[Getting Started]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=626</guid>
		<description><![CDATA[Learn about developing widgets with Widgetbox.]]></description>
			<content:encoded><![CDATA[<p>Widgetbox makes it easy to make new widgets from scratch or from your existing remote widget, Flash file or RSS feed. You can also import your Google gadget.</p>
<h3>Table of Contents</h3>
<div id="dev-toc">
<dl>
<dt>Overview</dt>
<dd><a href="#submitting-overview">Making and Distributing Your Widget</a></dd>
<dd><a href="#widget-types-overview">Types of Widgets</a></dd>
<dd><a href="#hello-world">Hello World Example</a></dd>
<dd><a href="#configuration-overview">Widget Settings</a></dd>
<dd><a href="#links">Links</a></dd>
<dd><a href="#guidelines">What Makes a Good Widget</a></dd>
<dt>Types of Widgets</dt>
<dd><a href="http://docs.widgetbox.com/developers/guide/hostedhtml">HTML/ JS Widgets</a></dd>
<dd><a href="http://docs.widgetbox.com/developers/guide/remotehtml">Remote Widgets</a></dd>
<dd><a href="http://docs.widgetbox.com/developers/guide/flash">Flash Widgets</a></dd>
<dd><a href="http://docs.widgetbox.com/developers/blidget/">Blidgets (Blog / RSS Widgets)</a></dd>
<dt>Other Topics</dt>
<dd><a href="/developers/criteria/">Widget Publication Criteria</a></dd>
<dd><a href="http://forums.widgetbox.com/viewtopic.php?pid=13#p13/">Widget Security</a></dd>
<dd><a href="/bloggers/smartblogs/">Tag Awareness</a></dd>
</dl>
<p><a name="submitting-overview" id="submitting-overview"></a>
 </div>
<h3>Making and Distributing Your Widget</h3>
<p>Here are the key steps in making and distributing a widget.</p>
<table class="instruction-table">
<tr>
<td class="step"><strong>Sign Up</strong></td>
<td>
<p>Create a free Widgetbox account.  You can use the same account to make widgets as well manage the widgets you&#8217;ve installed on your favorite site(s). </p>
</td>
</tr>
<tr>
<td class="step"><strong>Make A New Widget</strong></td>
<td>
<p>Access the <a href="http://www.widgetbox.com/create/create_widget.jsp">Make A New Widget start page</a> .  Create a new HTML/JS widget from scratch or make a new widget using your existing content.</p>
<p>Initially your new widget will be a private, unlisted widget &#8212; meaning it can only be accessed via its unique <a href="/developers/guide/permalinks/">Widget URL</a>.  Your widget can not be found by users when they search the Widgetbox gallery.</p>
</td>
</tr>
<tr>
<td class="step"><strong>Test Your Widget</strong></td>
<td>
<p>Your widget&#8217;s Widget Dashboard provides you a Test Widget link that allows you to view your widget as others will see it.
            </p>
<p>Install your widget to your favorite site.  Ensure that it functions as you intended.</p>
<p>Send your widget&#8217;s <a href="/developers/guide/permalinks/">Widget URL</a> to your friends or colleagues so that they can try it out, too.</p>
</td>
</tr>
<tr>
<td class="step"><strong>Submit to Gallery</strong></td>
<td>
<p>When you&#8217;re sure your widget works, submit it to the Widgetbox gallery. This is done by completing a simple form that describes your widget.</p>
</td>
</tr>
<tr>
<td class="step"><strong>Wait for Approval</strong></td>
<td>
<p>We look at each widget to make sure it functions correctly and meets our widget <a href="/developers/criteria/">publication criteria</a>.</p>
<p>We generally approve widgets within a day, sometimes two.  If there are problems, we will reject the submission and will identify the issues that need to be fixed. </p>
</td>
</tr>
<tr>
<td class="step"><strong>Widget Metrics</strong></td>
<td>
<p> From your widget dashboard, you can access metrics such as how many people have subscribed to your widget, how many times your widget has been viewed and the websites where it&#8217;s been installed.  </p>
</td>
</tr>
<tr>
<td class="step"><strong>Updating your Widget</strong></td>
<td>
<p>You can continue to make changes to your widget after it is listed in the gallery.</p>
<p>You can preview your changes without affecting users who have already installed your widget.  When you&#8217;re ready to broadcast changes to these existing copies of your widget, simply press the Publish Changes button we provide.</p>
</td>
</tr>
</table>
<p><a name="widget-types-overview" id="widget-types-overview"></a></p>
<h3>Types of Widgets</h3>
<p>Widgetbox allows you to create a new HTML/JS widget from scratch or make a new widget using your existing content:</p>
<table class="instruction-table">
<tr>
<td class="step"><strong>HTML/JS Widgets</strong></td>
<td>
            An HTML/JS widget includes HTML and/or JavaScript code you enter into the Widgetbox editor.</p>
<p>If you have an existing widget that generates a &lt;script&gt; tag that a user puts on a site, choose this option.  Any per-user variables within your tag can be placed into a Widget Settings form containing fields where users can specify a value.</p>
<p>You can also build entirely new widgets using this facility.</p>
<p><a href="hostedhtml/">More on HTML/JS widgets</a>.</p>
</td>
</tr>
<tr>
<td class="step"><strong>Remote and Flash Widgets &nbsp;</strong></td>
<td>
<p>These are widgets that you host yourself, &#8220;remote&#8221; from Widgetbox, such as a widget-sized web page or SWF file. </p>
<ul>
<li>
                    <strong>Flash widgets</strong>, such as those that use an &lt;embed&gt; tag.</p>
<p><a href="flash/" rel="nofollow">More on Flash Widgets</a>.</p>
</li>
<li>
                    <strong>Remote widget</strong>.  If your remote widget makes use of query string parameters to dynamically change the content displayed, you can graphically create a Widget Settings form that allows users to specify these values.</p>
<p><a href="remotehtml/" rel="nofollow">More on Remote widgets</a>.</p>
</li>
</ul>
</td>
</tr>
<tr>
<td class="step"><strong>Blidgets (Blog / RSS Widgets)</strong></td>
<td>
<p>A Blidget is a widget that displays your blog.  Simply provide the URL to your Blog or RSS feed and Widgetbox will create a new widget that displays its content.</p>
<p><a href="http://docs.widgetbox.com/developers/blidget/">More on Blidgets</a>.</p>
</td>
</tr>
</table>
<p><a name="hello-world" id="hello-world"></a></p>
<h3>Hello World Widget</h3>
<p>When you make an HTML/JS widget, you can begin by using our &#8220;Hello World&#8221; example widget.  This widget demonstrates how you can use Widget Settings in your Widget Code to create a user-customizable widget.  </p>
<p> Comments built into Hello World&#8217;s Widget Settings and Widget Code will help you understand the interaction between these two panels. Here&#8217;s how to get started:</p>
<p>	1. Access the <a href="http://www.widgetbox.com/create/create_widget.jsp" target="_blank">Make a New Widget start page</a>.<br />
	2. Click &#8220;HTML / JS&#8221;.<br />
	3. Accept the default options shown below.<br />
	<img src="http://docs.widgetbox.com/wp-content/uploads/2008/03/helloworldwidget.png" alt="Make a New Widget - Hello World" /><br />
	4. Click Continue</p>
<p>Good start!  You&#8217;ve just made a widget named &#8220;My Widget&#8221;.  It&#8217;s not shared in the Widgetbox gallery, so play around with it as much as you like!  </p>
<p><a name="configuration-overview" id="configuration-overview"></a></p>
<h3>Widget Settings</h3>
<p>The most successful widgets allow users to customize the content displayed within them.  Here are some common examples:</p>
<ul>
<li>Text fields that &#8216;tune&#8217; a news or search widget.</li>
<li>Drop down menus that adjust colors/fonts/other formatting options.</li>
</ul>
<p>Widgetbox helps you to graphically create a user-facing configuration form, called Widget Settings, for your widget.  When a user changes a Widget Setting, this information is passed to the widget. Widgetbox passes the information to each type of widget differently:</p>
<ul>
<li><strong>HTML/JS Widgets:</strong> Widgetbox embeds a Widget Setting at spot in your widget code as determined by simple replacement tags, as described in <a href="hostedhtml">HTML/JS Widgets</a>.</li>
</ul>
<ul>
<li><strong>Flash Widgets:</strong> You have the option passing each Widget Setting via the URL, as a FlashVar, or a plugin value as described in <a href="flash/">Flash Configuration</a>.
</p>
</li>
</ul>
<ul>
<li>
        <strong>Remote Widgets:</strong> Widget Settings are passed as URL query string parameters.  For example, if the Widget Settings form contains a setting called &#8220;myParam&#8221;, it it sent to the remote widget as domain.com/path?myParam=value
    </li>
</ul>
<h3><a name="links" id="links"></a>Links</h3>
<p>The most common problem with widgets is in its links. Widgetbox renders each widget in an iframe and thus its links need to target _new or _blank or _top. One way to automatically do it for all links in the widget is <a href="http://forums.widgetbox.com/viewtopic.php?pid=93#p93" rel="nofollow">described here</a>.</p>
<p><a name="guidelines" id="guidelines"></a></p>
<h3>What makes a good widget</h3>
<ol>
<li><strong>Form factor.</strong> The most common place to put a widget is in a blog sidebar. The default TypePad sidebar fits a widget that&#8217;s a maximum of 170 pixels wide. If you are targeting sidebars, we recommend your widget be able to be squeezed to that. The best is to give people a choice of form factors.</li>
<li><strong>Customization.</strong> Users love to be given choices in how to display the widget. Give lots of options as far as the size, colors, fonts, placement of logos and content within the widget. If your widget displays a list of items, give the user a choice of how many items to display.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/developing-widgets/getting-started/widget-developer-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Your Widget Ad Compliant</title>
		<link>http://docs.widgetbox.com/developing-widgets/including-ads/making-your-widget-ad-compliant/</link>
		<comments>http://docs.widgetbox.com/developing-widgets/including-ads/making-your-widget-ad-compliant/#comments</comments>
		<pubDate>Sat, 02 May 2009 18:29:46 +0000</pubDate>
		<dc:creator>Team Widgetbox</dc:creator>
				<category><![CDATA[Including Ads]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=587</guid>
		<description><![CDATA[Learn how to run your own ads in your developed widgets so they are ad compliant.]]></description>
			<content:encoded><![CDATA[<div id="sections">
<ul>
<li><a href="#intro">Introduction</a></li>
<li><a href="#html">JavaScript/HTML Widget</a></li>
<li><a href="#flash">Flash Widget</a></li>
<li><a href="#remote">Remote Widget</a></li>
<li><a href="#testing">Preview &amp; Testing</a></li>
</ul>
</div>
<p><a name="intro"></a></p>
<h2>Introduction</h2>
<p>If you are going to run your own ads in your widget and distribute it with Widgetbox you must make your widget ad compliant. We have agreements with different sites and users around advertising and we require widgets with ads to follow the same rules. Making your widget ad compliant is simple and will help us keep the Widgetbox experience more consistent.</p>
<p><a name="html"></a></p>
<h2>JavaScript/HTML Widget</h2>
<p>If you are making or made a hosted JavaScript/HTML widget, you only need to wrap your ad content between two new Widgetbox code snippets in the editor. The two new snippets are located in the “Insert Widget Setting” dropdown menu.</p>
<p><img class="alignnone size-full wp-image-593" title="Start Ad Code" src="http://docs.widgetbox.com/wp-content/uploads/2009/05/picture-2.png" alt="Start Ad Code" width="412" height="274" /></p>
<p>You place the ad content between the “start ad code” and “end ad code” snippets. The resulting code will look like this:</p>
<pre class="code">    ${wbx.startAdSnippet}
    //Your Ad Here
    ${wbx.endAdSnippet}</pre>
<div class="help">
<strong>Using Flash in a hosted JavaScript/HTML widget</strong><br />
If you are embedding Flash in your hosted JavaScript/HTML widget you need to be sure to set the &#8220;wmode&#8221; parameter to either &#8220;opaque&#8221; or &#8220;transparent&#8221;. For example:</p>
<pre class="code">&lt;param name="wmode" value="transparent" /&gt;</pre>
</div>
<h4>Here is a sample JavaScript/HTML widget…</h4>
<p>With Ads:<br />
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('9a9f3082-eaff-4feb-b216-a9feea960b2e');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/ad-compliant-jshtml-example">Ad Compliant JS/HTML Example</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript></p>
<p>Without Ads:<br />
<script src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js" type="text/javascript"></script><script type="text/javascript"><!--
if (WIDGETBOX) WIDGETBOX.renderWidget('9a7d1b05-4366-415c-8b67-ec998962c17a');
// --></script><noscript>Get the &lt;a href=&#8221;http://www.widgetbox.com/widget/ad-compliant-jshtml-example&#8221; mce_href=&#8221;http://www.widgetbox.com/widget/ad-compliant-jshtml-example&#8221;&gt;Ad Compliant JS/HTML Example&lt;/a&gt; widget and many other &lt;a href=&#8221;http://www.widgetbox.com/&#8221; mce_href=&#8221;http://www.widgetbox.com/&#8221;&gt;great free widgets&lt;/a&gt; at &lt;a href=&#8221;http://www.widgetbox.com&#8221; mce_href=&#8221;http://www.widgetbox.com&#8221;&gt;Widgetbox&lt;/a&gt;!</noscript></p>
<p>This is the same widget running in two different environments, one with ads enabled and the other with ads disabled.</p>
<p><a name="flash"></a></p>
<h2>Flash Widget</h2>
<p>If you are making or made a Flash widget, the widget needs to check for the widget_isAdFriendly flash variable (FlashVar) parameter and only show ads when  widget_isAdFriendly is set to “true”.</p>
<h4>Here is some sample code…</h4>
<p>ActionScript 2:</p>
<pre class="code">    var showAds = _root.widget_isAdFriendly;
    if (showAds == "true")
    {
        //load and show an ad
    }
    else
    {
        //don't load and show an ad
    }</pre>
<p>ActionScript 3:</p>
<pre class="code">    *be sure to import LoaderInfo (import flash.display.LoaderInfo;)

    try
    {
        var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
        var widgetAdFriendly = String(paramObj["widget_isAdFriendly"]);

        if (widgetAdFriendly == "true")
        {
            //load and show an ad
        }
        else
        {
            //don't load and show an ad
        }
    }
    catch (err:Error)
    {
        //Something went wrong getting LoaderInfo
        trace (err);
    }</pre>
<h4>Here is a sample Flash widget…</h4>
<p>With Ads:<br />
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('7ee63620-b49b-474a-b300-e5eac2fce53e');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/ad-compliant-flash-example-widgetbox">Ad Compliant Flash Example</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript></p>
<p>Without Ads:<br />
<script src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js" type="text/javascript"></script><script type="text/javascript"><!--
if (WIDGETBOX) WIDGETBOX.renderWidget('2b68afbb-4238-4528-b5bd-9edde3372fba');
// --></script><noscript>Get the &lt;a href=&#8221;http://www.widgetbox.com/widget/ad-compliant-flash-example-widgetbox&#8221; mce_href=&#8221;http://www.widgetbox.com/widget/ad-compliant-flash-example-widgetbox&#8221;&gt;Ad Compliant Flash Example&lt;/a&gt; widget and many other &lt;a href=&#8221;http://www.widgetbox.com/&#8221; mce_href=&#8221;http://www.widgetbox.com/&#8221;&gt;great free widgets&lt;/a&gt; at &lt;a href=&#8221;http://www.widgetbox.com&#8221; mce_href=&#8221;http://www.widgetbox.com&#8221;&gt;Widgetbox&lt;/a&gt;!</noscript></p>
<p>This is the same widget running in two different environments, one with ads enabled and the other with ads disabled.</p>
<p><a name="remote"></a></p>
<h2>Remote Widget</h2>
<p>If are you making or made a remote widget, the widget needs to check for widget.isAdFriendly on the query string and make sure widget.isAdFriendly is set to “true”. This will be different depending on what server-side scripting language you are using. You can also use JavaScript to parse the URL parameters if the widget is HTML.</p>
<h4>Here is some sample code for a Remote HTML Widget using JavaScript</h4>
<pre class="code">
*if you copy this example, be sure to place the javascript after the ad div and before the closing body tag

&lt;html&gt;
&lt;body&gt;
&lt;div id="myWidgetAds" style="display:none;"&gt;
&lt;!-- AD GOES BETWEEN THIS --&gt;
This is my ad
&lt;!-- AND THIS --&gt;
&lt;/div&gt;

&lt;script type="text/javascript"&gt;
function getQueryVar(variable) {
  var query = window.location.search.substring(1);
  var vars = query.split("&#038;");

  for (var i = 0; i &lt; vars.length; i++) {
     var pair = vars[i].split("=");
     if (pair[0] == variable) {
        return pair[1];
     }
  }

  return null;
}

function controlAds(adElementId) {
  if (getQueryVar("widget.isAdFriendly") != "true") {
     var adElement = document.getElementById(adElementId);
     adElement.style.display = "none";
  } else {
     var adElement = document.getElementById(adElementId);
     adElement.style.display = "";
  }
}

controlAds("myWidgetAds");
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<h4>Here is a sample remote widget…</h4>
<p>With Ads:<br />
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('53fcdd52-b1aa-4dc0-a6d4-7d7cd564aa48');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/ad-compliant-remote-example">Ad Compliant Remote Example</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript></p>
<p>Without Ads:<br />
<script src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js" type="text/javascript"></script><script type="text/javascript"><!--
if (WIDGETBOX) WIDGETBOX.renderWidget('bfecb740-0f0a-4f0d-8e3c-94aa5ea11863');
// --></script><noscript>Get the &lt;a href=&#8221;http://www.widgetbox.com/widget/ad-compliant-remote-example&#8221; mce_href=&#8221;http://www.widgetbox.com/widget/ad-compliant-remote-example&#8221;&gt;Ad Compliant Remote Example&lt;/a&gt; widget and many other &lt;a href=&#8221;http://www.widgetbox.com/&#8221; mce_href=&#8221;http://www.widgetbox.com/&#8221;&gt;great free widgets&lt;/a&gt; at &lt;a href=&#8221;http://www.widgetbox.com&#8221; mce_href=&#8221;http://www.widgetbox.com&#8221;&gt;Widgetbox&lt;/a&gt;!</noscript></p>
<p>This is the same widget running in two different environments, one with ads enabled and the other with ads disabled.</p>
<p><a name="testing"></a> </p>
<h2>Preview &amp; Testing</h2>
<p>As you create and edit your widget you can test your ad compliance there is a toggle underneath the configuration setting in the widget studio editor.</p>
<p><img class="alignnone size-full wp-image-594" title="Previewing Ads" src="http://docs.widgetbox.com/wp-content/uploads/2009/05/picture-3.png" alt="Previewing Ads" width="415" height="59" /></p>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/developing-widgets/including-ads/making-your-widget-ad-compliant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s a Widget?</title>
		<link>http://docs.widgetbox.com/using-widgets/about-widgets/whats-a-widget/</link>
		<comments>http://docs.widgetbox.com/using-widgets/about-widgets/whats-a-widget/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 06:00:23 +0000</pubDate>
		<dc:creator>Team Widgetbox</dc:creator>
				<category><![CDATA[About Widgets]]></category>
		<category><![CDATA[Getting Started]]></category>

		<guid isPermaLink="false">http://docs.widgetbox.com/?p=545</guid>
		<description><![CDATA[Learn what a widget is and why use them.]]></description>
			<content:encoded><![CDATA[<p>Yeah we get that question a lot. Widgets are simple, fun, and useful applications that can be embedded on a webpage, blog, or social media page.</p>
<p>Chances are you&#8217;ve already seen widgets, and recognize them, even if you don&#8217;t know them by name. Ever seen a quiz or a game on a friend&#8217;s Facebook wall? A countdown to an event on a co-worker&#8217;s blog? A YouTube playlist on your wife&#8217;s MySpace page? Then chances are you&#8217;ve seen a widget before.</p>
<p>Widgets are great because they allow you to easily create customized content with no coding knowledge necessary. If you can type text and choose colors or images, you can make a personalized widget in less than five minutes. Seriously. You can also look through the thousands of developed widgets in our gallery to find fun and useful widgets to install. Browse by tag, topic, or featured lists. Read more about the types of widgets in Widgetbox.</p>
<h2>Simple to Build, Simple to Manage</h2>
<p>We make it easy to manage and track the widgets you&#8217;ve created and/or installed. Simply register for an account and you can edit and save widgets you&#8217;ve created, instantly see the widgets you&#8217;ve installed, and view stats for any widget you&#8217;ve developed.</p>
<h2>Multiple Sites Across the Web</h2>
<p>Widgetbox widgets can be installed almost anywhere on the web. Install widgets on Facebook pages, Twitter, Blogger, iGoogle, or pretty much any other widget-friendly site. Installation is simple and our installation menu provides a list of many popular sites. Simply click on the site where you&#8217;d like the widget to appear and with one click it will be installed.  </p>
<p>For developers, our wide selection of installation sites means that for any widget you create, you only need to write the code once, and it can be placed anywhere on the web.</p>
<h2>But I&#8217;m a Brand or a Business. How Can Widgets Help Me?</h2>
<p>Whether you&#8217;re a blogger who wants more people to visit your blog, a web developer who wants to easily syndicate your content, or a Fortune 500 company looking to raise brand awareness and increase revenues, Widgetbox widgets can help you achieve your objectives.</p>
<p>Widgetbox serves millions of widgets per day and helps widget owners reach tens of millions of people per month. Widgets help you reach new users, drive traffic back to your site, increase search engine optimization, and extend the reach of your content and services on sites all across the web.</p>
<p><a href="http://business.widgetbox.com/">Learn about additional business opportunities on Widgetbox &rsaquo;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://docs.widgetbox.com/using-widgets/about-widgets/whats-a-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
