<?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>Skowronek.org &#187; Programming</title>
	<atom:link href="http://www.skowronek.org/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skowronek.org</link>
	<description>The official web site for the Skowronek family of South Jordan, Utah, USA</description>
	<lastBuildDate>Wed, 31 Aug 2011 16:01:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Note to self: Submit Bug with Single Input Box ASP.NET</title>
		<link>http://www.skowronek.org/2008/10/02/note-to-self-submit-bug-with-single-input-box-aspnet/</link>
		<comments>http://www.skowronek.org/2008/10/02/note-to-self-submit-bug-with-single-input-box-aspnet/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 20:54:51 +0000</pubDate>
		<dc:creator>Skowronek</dc:creator>
				<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Input]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.skowronek.org/?p=860</guid>
		<description><![CDATA[&#60;input type=&#34;text&#34; style=&#34;visibility: hidden;position: absolute&#34;&#62;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;visibility: hidden;position: absolute&quot;</span>&gt;</span></pre></div></div>

<p><a href="http://www.beansoftware.com/asp.net-tutorials/accept-enter-key.aspx" target=_blank">Here is &#8220;one&#8221; of the many explanations</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skowronek.org/2008/10/02/note-to-self-submit-bug-with-single-input-box-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Badge as a WordPress Sidebar Widget</title>
		<link>http://www.skowronek.org/2008/08/22/facebook-badge-as-a-wordpress-sidebar-widget/</link>
		<comments>http://www.skowronek.org/2008/08/22/facebook-badge-as-a-wordpress-sidebar-widget/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 21:54:31 +0000</pubDate>
		<dc:creator>Skowronek</dc:creator>
				<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sidebar]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.skowronek.org/?p=808</guid>
		<description><![CDATA[I tinker around a lot with WordPress. As a matter of fact, I tinker a lot and am quite good at it. I have created various custom modules (unpublished) as well as written a PHPBB to WordPress migration utility (long lost unfortunately). Lately I have been keen to develop custom sidebar widgets by mashing up [...]]]></description>
			<content:encoded><![CDATA[<p>I tinker around a lot with <a href="http://www.wordpress.org" target="_blank">WordPress</a>. As a matter of fact, I tinker a lot and am quite good at it. I have created various custom modules (unpublished) as well as written a <a href="http://www.phpbb.com" target="_blank">PHPBB</a> to WordPress migration utility (long lost unfortunately). Lately I have been keen to develop custom sidebar widgets by mashing up social site widgets. My latest, the Facebook badge sidebar widget.</p>
<p>This is alpha code and is not intended for those unfamiliar with PHP and/or the WordPress API.</p>
<p>You will also need to be familiar with the <a href="http://automattic.com/code/widgets/api/" target="_blank">WordPress widget API</a>.</p>
<p><span id="more-808"></span></p>
<ol>
<li>Create a <a href="http://www.new.facebook.com/badges.php" target="_blank">Facebook badge</a></li>
<li>Copy the script code they provide following a successful build

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://badge.facebook.com/badge/xxxxxxx.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">noscript</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.new.facebook.com/people/xxxxxx/xxxxxxx&quot;</span>&gt;</span>Facebook profile<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">noscript</span>&gt;</span></pre></div></div>

</li>
<li>Add the following PHP function into your widget.php file with the generated code between the badge tags

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">function widget_facebook($p)
{
?&gt;
&lt;li&gt;
&lt;!-- Facebook Badge --&gt;
&lt;script src=&quot;http://badge.facebook.com/badge/xxxxxxx.js&quot;&gt;&lt;/script&gt;
&lt;noscript&gt;
	&lt;a href=&quot;http://www.new.facebook.com/people/xxxxxx/xxxxxxx&quot;&gt;Facebook profile&lt;/a&gt;
&lt;/noscript&gt;
&lt;!-- /Facebook Badge --&gt;
&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

</li>
<li>Register the widget with your sidebar in the function.php script

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">if ( function_exists('register_sidebar_widget') )
{
		register_sidebar_widget(__('Facebook'), 'widget_facebook', '');
}</pre></div></div>

</li>
<li>Make sure you have dynamic sidebar enabled in your sidebar.php script

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sidebar&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
<span style="color: #009900;">&lt;?php</span>
<span style="color: #009900;">	if <span style="color: #66cc66;">&#40;</span>function_exists<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'dynamic_sidebar'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></span>
<span style="color: #009900;">	<span style="color: #66cc66;">&#123;</span></span>
<span style="color: #009900;">		dynamic_sidebar<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;</span>
<span style="color: #009900;">	<span style="color: #66cc66;">&#125;</span></span>
<span style="color: #009900;">?&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

</li>
<li>Finally, update your stylesheet to override the Facebook style settings.

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.fb_root_vert</span>
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">195px</span> !important
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.fb_vert</span>
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">193px</span> !important
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.fb_object</span> table tr td
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">185px</span> !important
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.fb_badge</span> <span style="color: #00AA00;">&gt;</span> a
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span> !important<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.fb_badge</span>
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#3B5998</span> !important<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">8px</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

</li>
</ol>
<p>Now that you have the code, you can add the widget to your sidebar through the WordPress widget administration screen.</p>
<p>That&#8217;s all. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skowronek.org/2008/08/22/facebook-badge-as-a-wordpress-sidebar-widget/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Ektron and Localization Tags</title>
		<link>http://www.skowronek.org/2008/05/23/ektron-and-localization-tags/</link>
		<comments>http://www.skowronek.org/2008/05/23/ektron-and-localization-tags/#comments</comments>
		<pubDate>Sat, 24 May 2008 04:37:23 +0000</pubDate>
		<dc:creator>Skowronek</dc:creator>
				<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[Ektron]]></category>
		<category><![CDATA[l10n]]></category>
		<category><![CDATA[Localization]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.skowronek.org/?p=750</guid>
		<description><![CDATA[I ran across an interesting API library deep in the Ektron API framework that allows you to pull the actual localization tag (e.g. en-US, en-GB, etc.) for the current language type id of the site (e.g. 1033, 2058, etc.). Previous to this, we had to create our own associative, key/value pair XML file that stored [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across an interesting API library deep in the Ektron API framework that allows you to pull the actual <a href="http://www.iana.org/assignments/language-tags" target="_blank">localization tag</a> (e.g. en-US, en-GB, etc.) for the current language type id of the site (e.g. 1033, 2058, etc.). Previous to this, we had to create our own associative, key/value pair XML file that stored the relationships. Since I could only find a single reference to this library on the Ektron site, I hoping this information proves useful to others. Enjoy.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008080; font-style: italic;">// get and instance of the current site API object</span>
Ektron<span style="color: #008000;">.</span><span style="color: #0000FF;">Cms</span><span style="color: #008000;">.</span><span style="color: #0000FF;">SiteAPI</span> sAPI <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Ektron<span style="color: #008000;">.</span><span style="color: #0000FF;">Cms</span><span style="color: #008000;">.</span><span style="color: #0000FF;">SiteAPI</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008080; font-style: italic;">// retrieve the language date for the current site API instance</span>
Ektron<span style="color: #008000;">.</span><span style="color: #0000FF;">Cms</span><span style="color: #008000;">.</span><span style="color: #0000FF;">LanguageData</span> ld <span style="color: #008000;">=</span> sAPI<span style="color: #008000;">.</span><span style="color: #0000FF;">GetLanguageById</span><span style="color: #008000;">&#40;</span>ContentBlock<span style="color: #008000;">.</span><span style="color: #0000FF;">LanguageID</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008080; font-style: italic;">// assign the localization tag</span>
<span style="color: #6666cc; font-weight: bold;">string</span> langTag <span style="color: #008000;">=</span> Ld<span style="color: #008000;">.</span><span style="color: #0000FF;">XmlLang</span><span style="color: #008000;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.skowronek.org/2008/05/23/ektron-and-localization-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo! YPod?</title>
		<link>http://www.skowronek.org/2008/03/10/yahoo-ypod/</link>
		<comments>http://www.skowronek.org/2008/03/10/yahoo-ypod/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 22:15:35 +0000</pubDate>
		<dc:creator>Skowronek</dc:creator>
				<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.skowronek.org/2008/03/10/yahoo-ypod/</guid>
		<description><![CDATA[I ran across this little morsel today while Googleing more Ektron issues. Yahoo!, Google, Live&#8230;how many technologies am I going to need to know to stay afloat in this industry?! Yahoo! Music Launches New Media PlayerYahoo! Music Player Site]]></description>
			<content:encoded><![CDATA[<p>I ran across this little morsel today while Googleing more Ektron issues. Yahoo!, Google, Live&#8230;how many technologies am I going to need to know to stay afloat in this industry?!</p>
<p><a href="http://developer.yahoo.net/blog/archives/2008/01/post.html" target="_blank">Yahoo! Music Launches New Media Player</a><br /><a href="http://developer.yahoo.com/mediaplayer/" target="_blank">Yahoo! Music Player Site</a></p>
<p><iframe border="0" name="yahoomp" id="yahoomp" frameborder="0" scrolling="auto" src="/wp-content/uploads/2008/03/yahoo-mp.htm" height="50" width="500"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.skowronek.org/2008/03/10/yahoo-ypod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ektron and Virtual Directories</title>
		<link>http://www.skowronek.org/2008/03/08/ektron-and-virtual-directories/</link>
		<comments>http://www.skowronek.org/2008/03/08/ektron-and-virtual-directories/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 05:56:30 +0000</pubDate>
		<dc:creator>Skowronek</dc:creator>
				<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Ektron]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.skowronek.org/2008/03/08/ektron-and-virtual-directories/</guid>
		<description><![CDATA[Note to self: do not use a virtual directory for the AssetManagement DMS folder when configuring Ektron web sites. I learned this the hard way (again) today while trying to figure out why my DMS assets were not uploading properly. After a couple of hours (and a night of sleep) and setting up a completely [...]]]></description>
			<content:encoded><![CDATA[<p>Note to self: do not use a virtual directory for the AssetManagement DMS folder when configuring <a href="http://www.ektron.com" target="_blank">Ektron</a> web sites.</p>
<p>I learned this the hard way (again) today while trying to figure out why my DMS assets were not uploading properly. After a couple of hours (and a night of sleep) and setting up a completely new instance of a bare bones Ektron CMS that functioned properly, it finally dawned on me that perhaps one of the various virtual directories were causing the issues. Apparently, the AssetManagement folder cannot be virtual or it throws off their file upload processor (at least for v7.01).</p>
<p>I believe they have fixed this with the latest version (I hope.)</p>
<p>Let this be yet another learning lesson and hopefully assistance to anyone else running into this similar issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skowronek.org/2008/03/08/ektron-and-virtual-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

