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

<channel>
	<title>D Goins Espiriance</title>
	<atom:link href="http://dgoins.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dgoins.wordpress.com</link>
	<description>Technological outformation for this day and age</description>
	<lastBuildDate>Mon, 23 Jan 2012 19:37:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dgoins.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>D Goins Espiriance</title>
		<link>http://dgoins.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dgoins.wordpress.com/osd.xml" title="D Goins Espiriance" />
	<atom:link rel='hub' href='http://dgoins.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Using the Cloud as a Media Hosting Option For SharePoint 2010 (Part 1&#8211;Amazon S3)</title>
		<link>http://dgoins.wordpress.com/2012/01/19/using-amazon-s3-as-a-media-hosting-option-for-sharepoint-2010/</link>
		<comments>http://dgoins.wordpress.com/2012/01/19/using-amazon-s3-as-a-media-hosting-option-for-sharepoint-2010/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 21:17:00 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dgoins.wordpress.com/?p=402</guid>
		<description><![CDATA[I know it&#8217;s been a while since I&#8217;ve posted anything to the blogsphere&#8230; I have to be honest to Abe, I had good reason. I have been working and working hard I should say. This means I have a lot of topics in the next upcoming months&#8230; For this topic I&#8217;d like to focus on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=402&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s been a while since I&#8217;ve posted anything to the blogsphere&#8230; I have to be honest to Abe, I had good reason. I have been working and working hard I should say. This means I have a lot of topics in the next upcoming months&#8230;</p>
<p>For this topic I&#8217;d like to focus on something my team and I have been working on and that&#8217;s SharePoint 2010 and Media files like videos, pictures and anything related to media. We recently had the requirement to create a SharePoint Web Application which used a ton of technologies. I&#8217;ll blog specifically about each at a later date, however one that caught my attention was the usage of Amazon S3 and Amazon CloudFront. In this post I&#8217;ll talk about how we are using Amazon S3, Windows Media Encoder SDK, and SharePoint to provide a great performing media experience to your SharePoint End Users.</p>
<p>For those that have worked with SharePoint before know that SharePoint&#8230; no matter what version&#8230; is not the best server or software for media, especially HD Videos, and high resolution pictures. Proof of this can be found in Microsoft&#8217;s attempt at supporting this through SQL&#8217;s <a href="http://technet.microsoft.com/en-us/library/ff628583.aspx">Remote BLOB Storage</a> (RBS). The RBS feature allows you the option of not storing BLOBs (Binary Large Objects) inline with other SharePoint Content Table entries. In other words, when you enter in items in a list, if one of the fields in the list is a File such as a large video file (the whole bit stream&#8230;), by default SharePoint stores that entry in the same SQL Content Table record entry as the other metadata details such as Title, Author, date and etc. Can you imagine the load this places on a server which needs to serve up 100&#8242;s if not 1000&#8242;s of entries all with their own large video file? While SharePoint does support this, your media experience will be horrible and that&#8217;s putting it politically correct. Acknowledging this, is one of the reasons Microsoft&#8217;s SQL team created RBS. RBS will allow you to offload your large files to another storage mechanism using &#8220;RBS Providers&#8221; which are effectively data storage providers. These providers work in sync with the inline metadata entries for a specified SQL Table and in this case your SharePoint List by communicating with RBS api&#8217;s and SQL.&nbsp; There are many debatable reasons to either use the default (SQL FILESTREAM) or create your own providers (which by the way Microsoft only reccomends ISV&#8217;s do&#8230;), we have chosen to go down a different path. Maybe we will incorporate our design with the RBS provider architecture Microsoft provides&#8230; but then again maybe not. That&#8217;s another post for another time. With that, I&#8217;ll get into our design.</p>
<p>In order to understand our design, let&#8217;s first get started talking about our requirements. At first we thought some of the requirements were going to be way to complex to implement in the little amount of time given to implement this. However after a quick Proof Of Concept (POC) and a little light at the end of the tunnel things started going our way. To start, our requirements actually turned out to be simple, create a list which allows end users to upload vidoes, pictures, audio and other files. The files must not be uploaded on the Web Front end servers, but rather on Media Hosting servers so as to not put too much pressure and resource servicing on the Presentation Servers. Along with the first two requirements, we also had to convert and encode all the vidoes to a standard MP4 format, along with create a thumbnail, and validate the length 10minutes and less. The Architecture and implementation we put in place was done by <a href="http://weblogs.asp.net/spano/archive/2012/01/12/media-processing-component-for-sharepoint.aspx">my colleague (Soledad Pano) here.</a> In her post she outlines the three major components she used to build it: </p>
<ol style="background-color:#ffffff;font-family:tahoma, arial, helvetica;font-size:13px;">
<li>
<blockquote>
<p><strong>Custom Upload Process</strong>: This is the front end of the solution. It consists of a custom list with a custom upload form. The list has the link to the media file and more metadata fields (title, author, date, keywords, etc). When you click on create a new item on the list the custom upload form is opened and you can browse for a file to upload. The form has the required validation logic and it serves to save the assets to the configured location, which can be a Sharepoint library or an external location, like File System or FTP server. When the upload finishes you are redirected to the list item edit form so you can enter the metadata. The experience is similar to uploading a file to a Sharepoint document library.</p>
</blockquote>
<li>
<blockquote>
<p><strong>Media Processing Backend Process</strong>: This consists of a timer job that queries the Media Assets list for items to process. It encodes the videos, generates thumbnail and poster images and uploads everything to the final destination. Finally, it notifies the user of the result of the process by email. For the video encoding we used the Microsoft Expression Encoder SDK. As I will explain later, this SDK cannot be used inside a Sharepoint process, so it runs in a separated process that is invoked from the timer job.</p>
</blockquote>
<li>
<blockquote>
<p><strong>Storage Manager</strong>: this is a flexible and extensible component that abstracts the logic of saving (and deleting) a file to the final location depending on the flavor chosen thru configuration (File System, Sharepoint library or FTP). This component is used both by the front end upload mechanism and the back end media processing job.</p>
</blockquote>
</li>
</ol>
<p>The above is take from Soledad&#8217;s post, In which she utilizes the <strong>Storage Manager </strong>component as one of the extensible points we can use to integrate with Amazon S3. </p>
<p>The Storage manager implements a single interface: IAssetStorageManager</p>
<pre class="code"><span style="color:blue;">public interface </span><span style="color:#2b91af;">IAssetStorageManager
</span>{
    <span style="color:blue;">void </span>Delete(<span style="color:blue;">string </span>fileUrl);
    <span style="color:blue;">string </span>Save(System.IO.<span style="color:#2b91af;">FileInfo </span>file);
    <span style="color:blue;">string </span>Save(<span style="color:blue;">string </span>fileName, System.IO.<span style="color:#2b91af;">Stream </span>fileStream);
}</pre>
<p>The above interface tells you everything you need to know about what to implement. If you want to upload a file or stream, use the “Save” methods. if you want to delete the file, use the “Delete” Method. So with Soledad’s design, I implemented a StorageManager that uploads to AmazonS3.</p>
<h1>Getting Started with Amazon</h1>
<p>To use AmazonS3, you must first sign up on Amazon’s site: <a href="http://aws.amazon.com/">http://aws.amazon.com/</a></p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2012/01/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2012/01/image_thumb.png?w=977&#038;h=603" width="977" height="603"></a></p>
<p>Click the Sign Up button, enter in your information, give em’ a credit card, and you’re done. If you already have an Amazon account from purchasing books and other items, you can use that account.</p>
<p>Once you have an account, you can login to your AWS management console and get your AmazonS3 Access KeyID, SecretID key (Remember your Access Key ID and Secret Key ID, you’ll need this for access to the AmazonS3 through the API):</p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2012/01/snaghtml6950e0.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML6950e0" border="0" alt="SNAGHTML6950e0" src="http://dgoins.files.wordpress.com/2012/01/snaghtml6950e0_thumb.png?w=995&#038;h=1103" width="995" height="1103"></a></p>
<p>You can also navigate to the AmazonS3 Area (<a href="https://console.aws.amazon.com/console/home">https://console.aws.amazon.com/console/home</a>):</p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2012/01/snaghtml3fb17b.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML3fb17b" border="0" alt="SNAGHTML3fb17b" src="http://dgoins.files.wordpress.com/2012/01/snaghtml3fb17b_thumb.png?w=1476&#038;h=467" width="1476" height="467"></a></p>
<p>Once inside AmazonS3, the AWS Panel is easy to navigate. If you want to create AmazonS3 Buckets you can, if you want to see which items are inside the Buckets you can and so on and so forth. The only catch is that the AWS Panel is rather lacking as far as functionality, no searching; no sorting; just really a look inside what you have.</p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2012/01/snaghtml59950b.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML59950b" border="0" alt="SNAGHTML59950b" src="http://dgoins.files.wordpress.com/2012/01/snaghtml59950b_thumb.png?w=1476&#038;h=394" width="1476" height="394"></a></p>
<p>Create your bucket name, remember this name because it’s the name you will use for the AmazonS3StorageManager.</p>
<h1>AmazonS3AssetStorageManager</h1>
<p>The implementation is below:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#0000ff;">using</span> System;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> <span style="color:#0000ff;">using</span> System.Collections.Generic;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span> <span style="color:#0000ff;">using</span> System.Linq;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span> <span style="color:#0000ff;">using</span> System.Text;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span> <span style="color:#0000ff;">using</span> System.Net;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span> <span style="color:#0000ff;">using</span> System.IO;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span> <span style="color:#0000ff;">using</span> Amazon.S3;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span> <span style="color:#0000ff;">using</span> Amazon.S3.Model;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum10">  10:</span> <span style="color:#0000ff;">using</span> Amazon.S3.Util;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum11">  11:</span> <span style="color:#0000ff;">using</span> Microsoft.SharePoint.Administration;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum12">  12:</span> <span style="color:#0000ff;">using</span> Common.Logging;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum13">  13:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum14">  14:</span> <span style="color:#0000ff;">namespace</span> Common.AssetStorage</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum15">  15:</span> {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum16">  16:</span>     <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> AmazonS3AssetStorageManager : IAssetStorageManager</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum17">  17:</span>     {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum18">  18:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum19">  19:</span>         <span style="color:#0000ff;">private</span> <span style="color:#0000ff;">string</span> bucketName = <span style="color:#0000ff;">string</span>.Empty;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum20">  20:</span>         <span style="color:#0000ff;">private</span> <span style="color:#0000ff;">string</span> keyPrefix = <span style="color:#0000ff;">string</span>.Empty;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum21">  21:</span>         <span style="color:#0000ff;">private</span> <span style="color:#0000ff;">string</span> accessKeyID = <span style="color:#0000ff;">string</span>.Empty;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum22">  22:</span>         <span style="color:#0000ff;">private</span> <span style="color:#0000ff;">string</span> secretAccessKeyID = <span style="color:#0000ff;">string</span>.Empty;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum23">  23:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum24">  24:</span>         AmazonS3 client;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum25">  25:</span>         <span style="color:#0000ff;">private</span> Logger logger;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum26">  26:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum27">  27:</span>         <span style="color:#0000ff;">public</span> AmazonS3AssetStorageManager(<span style="color:#0000ff;">string</span> _bucketName, <span style="color:#0000ff;">string</span> _keyName, <span style="color:#0000ff;">string</span> _accessKeyID, <span style="color:#0000ff;">string</span> _secretAccessKeyID)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum28">  28:</span>         {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum29">  29:</span>             <span style="color:#008000;">// setup some class level variables</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum30">  30:</span>             bucketName = _bucketName;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum31">  31:</span>             keyPrefix = _keyName;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum32">  32:</span>             accessKeyID = _accessKeyID;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum33">  33:</span>             secretAccessKeyID = _secretAccessKeyID;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum34">  34:</span>             logger = <span style="color:#0000ff;">new</span> Logger();</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum35">  35:</span>         }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum36">  36:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum37">  37:</span>         <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">void</span> Delete(<span style="color:#0000ff;">string</span> fileName)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum38">  38:</span>         {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum39">  39:</span>             <span style="color:#008000;">// To Delete we need the exact key of the file that is in AmazonS3</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum40">  40:</span>             <span style="color:#008000;">// as well as the bucketName where the file exists</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum41">  41:</span>             <span style="color:#008000;">// In my implementation the key is the KeyPrefix-FileName</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum42">  42:</span>             <span style="color:#0000ff;">string</span> uniqueKeyItemName = <span style="color:#0000ff;">string</span>.Format(<span style="color:#006080;">"{0}-{1}"</span>, keyPrefix, fileName);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum43">  43:</span>             DeleteObjectRequest deleteObjectRequest =</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum44">  44:</span>          <span style="color:#0000ff;">new</span> DeleteObjectRequest()</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum45">  45:</span>          .WithBucketName(bucketName)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum46">  46:</span>          .WithKey(uniqueKeyItemName );</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum47">  47:</span>                        </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum48">  48:</span>             <span style="color:#0000ff;">using</span> (client = <span style="color:#0000ff;">new</span> AmazonS3Client())</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum49">  49:</span>             {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum50">  50:</span>                 <span style="color:#0000ff;">try</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum51">  51:</span>                 {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum52">  52:</span>                     client.DeleteObject(deleteObjectRequest);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum53">  53:</span>                     logger.LogToOperations(Categories.Media, EventSeverity.Information, <span style="color:#006080;">"Amazon Object KeyID: {0} deleted successfully"</span>, uniqueKeyItemName   );</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum54">  54:</span>                 }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum55">  55:</span>                 <span style="color:#0000ff;">catch</span> (AmazonS3Exception s3Exception)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum56">  56:</span>                 {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum57">  57:</span>                     logger.LogToOperations(s3Exception, Categories.Media, EventSeverity.ErrorCritical,</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum58">  58:</span>                                            <span style="color:#006080;">"Error Occurred in Delete operation for ObjectKeyID: {0}"</span>, uniqueKeyItemName );</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum59">  59:</span>                 }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum60">  60:</span>             }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum61">  61:</span>            </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum62">  62:</span>         }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum63">  63:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum64">  64:</span>         <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">string</span> Save(FileInfo file)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum65">  65:</span>         {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum66">  66:</span>             <span style="color:#0000ff;">using</span> (FileStream fileStream = <span style="color:#0000ff;">new</span> FileStream(file.FullName, FileMode.Open))</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum67">  67:</span>             {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum68">  68:</span>                 <span style="color:#0000ff;">return</span> Save(file.Name, fileStream);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum69">  69:</span>             }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum70">  70:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum71">  71:</span>         }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum72">  72:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum73">  73:</span>         <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">string</span> Save(<span style="color:#0000ff;">string</span> fileName, Stream fileStream)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum74">  74:</span>         {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum75">  75:</span>             <span style="color:#008000;">// ToUpload to AmazonS3, we can use either HTTP or HTTPS</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum76">  76:</span>             <span style="color:#008000;">// When using HTTPS, you have to make sure you have the AmazonS3 x.509 cert</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum77">  77:</span>             <span style="color:#008000;">// trusted in your cert store</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum78">  78:</span>             AmazonS3Config S3Config = <span style="color:#0000ff;">new</span> AmazonS3Config()</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum79">  79:</span>             {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum80">  80:</span>                 ServiceURL = <span style="color:#006080;">"s3.amazonaws.com"</span>,</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum81">  81:</span>                 CommunicationProtocol = Amazon.S3.Model.Protocol.HTTP,</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum82">  82:</span>             };</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum83">  83:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum84">  84:</span>             <span style="color:#0000ff;">using</span> (client = Amazon.AWSClientFactory.CreateAmazonS3Client(</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum85">  85:</span>                     accessKeyID, secretAccessKeyID, S3Config ))</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum86">  86:</span>                 {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum87">  87:</span>                     <span style="color:#0000ff;">return</span> UploadToAmazon(fileName, fileStream);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum88">  88:</span>                 }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum89">  89:</span>           </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum90">  90:</span>         }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum91">  91:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum92">  92:</span>         <span style="color:#0000ff;">string</span>  UploadToAmazon(<span style="color:#0000ff;">string</span> fileName, Stream fileStream)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum93">  93:</span>         {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum94">  94:</span>             <span style="color:#0000ff;">try</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum95">  95:</span>             {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum96">  96:</span>               </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum97">  97:</span>                 <span style="color:#0000ff;">string</span> uniqueKeyItemName = <span style="color:#0000ff;">string</span>.Format(<span style="color:#006080;">"{0}-{1}"</span>, keyPrefix, fileName);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum98">  98:</span>                 PutObjectRequest request = <span style="color:#0000ff;">new</span> PutObjectRequest();</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum99">  99:</span>                 request.WithInputStream(fileStream);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum100"> 100:</span>                 request.WithBucketName(bucketName)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum101"> 101:</span>                     .WithKey(uniqueKeyItemName);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum102"> 102:</span>                 request.WithMetaData(<span style="color:#006080;">"title"</span>, fileName);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum103"> 103:</span>                </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum104"> 104:</span>                 <span style="color:#008000;">// if header is needed...</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum105"> 105:</span>                 <span style="color:#008000;">// Add a header to the request</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum106"> 106:</span>                 <span style="color:#008000;">// You can add custom header values as well as specific values to use in AmazonS3</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum107"> 107:</span>                 <span style="color:#008000;">// for Querying the item in AmazonS3</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum108"> 108:</span>                 <span style="color:#008000;">//request.AddHeaders(AmazonS3Util.CreateHeaderEntry ("ContentType", contentType));</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum109"> 109:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum110"> 110:</span>                 <span style="color:#008000;">// Here we explicitly allow all users the ability to read the specific file.</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum111"> 111:</span>                 <span style="color:#008000;">// We can put security policies on files, buckets, and other items in AmazonS3</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum112"> 112:</span>                 S3CannedACL anonPolicy = S3CannedACL.PublicRead;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum113"> 113:</span>                 request.WithCannedACL(anonPolicy);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum114"> 114:</span>                 S3Response response = client.PutObject(request);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum115"> 115:</span>                 </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum116"> 116:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum117"> 117:</span>                 <span style="color:#008000;">// if you want to create a temporary  AmazonS3 upload location based on some expired time</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum118"> 118:</span>                 <span style="color:#008000;">// for security reasons you can do the below:</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum119"> 119:</span>                 <span style="color:#008000;">//GetPreSignedUrlRequest publicUrlRequest = new GetPreSignedUrlRequest().WithBucketName(bucketName).WithKey( uniqueKeyItemName ).WithExpires(DateTime.Now.AddMonths(3) );</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum120"> 120:</span>                 <span style="color:#008000;">//var urlResponse = client.GetPreSignedURL(publicUrlRequest);</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum121"> 121:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum122"> 122:</span>                 response.Dispose();</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum123"> 123:</span>  </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum124"> 124:</span>                 <span style="color:#008000;">// otherwise the url will be a public url </span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum125"> 125:</span>                 <span style="color:#008000;">// which is always https://s3.amazonaws.com/[yourBucketName]/[YourUploadedFileKey]</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum126"> 126:</span>                 var urlResponse = <span style="color:#0000ff;">string</span>.Format(<span style="color:#006080;">"https://s3.amazonaws.com/{0}/{1}"</span>, bucketName, uniqueKeyItemName );</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum127"> 127:</span>                 <span style="color:#0000ff;">return</span> urlResponse;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum128"> 128:</span>             }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum129"> 129:</span>             <span style="color:#0000ff;">catch</span> (AmazonS3Exception amazonS3Exception)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum130"> 130:</span>             {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum131"> 131:</span>                 <span style="color:#0000ff;">if</span> (amazonS3Exception.ErrorCode != <span style="color:#0000ff;">null</span> &amp;&amp;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum132"> 132:</span>                     (amazonS3Exception.ErrorCode.Equals(<span style="color:#006080;">"InvalidAccessKeyId"</span>)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum133"> 133:</span>                     ||</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum134"> 134:</span>                     amazonS3Exception.ErrorCode.Equals(<span style="color:#006080;">"InvalidSecurity"</span>)))</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum135"> 135:</span>                 {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum136"> 136:</span>             </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum137"> 137:</span>                     logger.LogToOperations(amazonS3Exception, Categories.Media, EventSeverity.ErrorCritical,</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum138"> 138:</span>                                            <span style="color:#006080;">"Error - Invalid Credentials - please check the provided AWS Credentials"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum139"> 139:</span>                     <span style="color:#0000ff;">return</span> <span style="color:#0000ff;">null</span>;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum140"> 140:</span>                 }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum141"> 141:</span>                 <span style="color:#0000ff;">else</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum142"> 142:</span>                 {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum143"> 143:</span>                     logger.LogToOperations(amazonS3Exception, Categories.Media, EventSeverity.ErrorCritical,</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum144"> 144:</span>                                                    <span style="color:#006080;">"Error occured when uploading media: {0}"</span>,amazonS3Exception.Message );</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum145"> 145:</span>                     <span style="color:#0000ff;">return</span> <span style="color:#0000ff;">null</span>;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum146"> 146:</span>                 }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum147"> 147:</span>             }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum148"> 148:</span>         }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum149"> 149:</span>     }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum150"> 150:</span>     </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum151"> 151:</span> }</pre>
<p><!--CRLF--></div>
</div>
<p>The AmazonS3 Storage Manager implements the 3 methods Save(x2) and Delete. To programmatically work with AmazonS3, you have a variety of options. You can use the REST interface, SOAP interface, or use the SDK Frameworks provided by Amazon and the community. </p>
<p>Using the REST interface is the Rawest way to communicate and by far the most complex, and in my opinion the most powerful way. When using the REST interface, many different programming languages and environments are supported, such as JavaScript, Perl, PHP, Java, .Net (C#, F#, VB.Net, C++), Ruby, Node.js, objective C++, and the essence of this article SharePoint development. The catch is using the RAW interface requires deep knowledge of basic Web programming stacks, such as manipulating HTTP Headers, working with the HTTP Body, HTTP Response and streams.</p>
<p>Using the SOAP Interface is easier to work with if you’ve ever done Web Service Programming. Just create a proxy based on the SOAP WSDL, and you can write code against the WSDL generated proxies. Most programming languages support proxy generation. The only caveat here is when working with certificates, security policies and all things related to security the SOAP interface can easily get in the way and cause headaches and issues later down the road.</p>
<p>Using SDK’s for specific programming languages is the simplest approach because it hides and encapsulates all the gory details from the previous two methods: REST and SOAP. Underneath the SDK frameworks, they use a mixture of REST and SOAP calls depending on the SDK. Luckily for SharePoint Developers, there is a .Net SDK available that even includes a VS.NET Plugin and project template that expedites your usage of Amazon S3 into the SharePoint world. If you navigate to this URL: <a href="https://aws.amazon.com/net/">https://aws.amazon.com/net/</a> you will find a ton of videos, sample code, articles and etc, pointing you to how to best write code against the .Net SDK.</p>
<p>Thus, for the purpose of speed, I will outline my steps used to work with the .NET SDK for Amazon to upload media to a SharePoint List using the AmazonS3AssetStorageManager.</p>
<h1>Using the Amazon S3 .NET SDK </h1>
<p>The first thing I did was to <a href="http://aws.amazon.com/visualstudio/">download the SDK for .Net</a> and install it inside the VS.NET 2010 development environment. Once that was done, I opened a dummy project inside VS.NET to see how the AWS project template lead me to interact with AWS.</p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2012/01/snaghtml87051f.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML87051f" border="0" alt="SNAGHTML87051f" src="http://dgoins.files.wordpress.com/2012/01/snaghtml87051f_thumb.png?w=1058&#038;h=634" width="1058" height="634"></a></p>
<p>I let the wizard run and I examined the code produced by the project template wizard. The Wizard first asked me to enter in my AWS Credentials and setup my account information:</p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2012/01/snaghtml88e24c.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML88e24c" border="0" alt="SNAGHTML88e24c" src="http://dgoins.files.wordpress.com/2012/01/snaghtml88e24c_thumb.png?w=429&#038;h=452" width="429" height="452"></a></p>
<p>I typed in my display name, Access Key ID, and Secret Access Key. The Account number is optional. Immediately a project opened with all the information needed to programmatically work with Amazon S3 in Visual Studio .Net 2010:</p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2012/01/snaghtml8e5a62.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML8e5a62" border="0" alt="SNAGHTML8e5a62" src="http://dgoins.files.wordpress.com/2012/01/snaghtml8e5a62_thumb.png?w=1500&#038;h=792" width="1500" height="792"></a></p>
<p>The actual source code revealed that was of importance to my Amazon S3 implementation was this:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#008000;">// Print the number of Amazon S3 Buckets.</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span>               AmazonS3 s3Client = AWSClientFactory.CreateAmazonS3Client();</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span>               <span style="color:#0000ff;">try</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>               {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span>                   ListBucketsResponse response = s3Client.ListBuckets();</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span>                   <span style="color:#0000ff;">int</span> numBuckets = 0;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span>                   <span style="color:#0000ff;">if</span> (response.Buckets != <span style="color:#0000ff;">null</span> &amp;&amp;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span>                       response.Buckets.Count &gt; 0)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum10">  10:</span>                   {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum11">  11:</span>                       numBuckets = response.Buckets.Count;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum12">  12:</span>                   }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum13">  13:</span>                   sr.WriteLine(<span style="color:#006080;">"You have "</span> + numBuckets + <span style="color:#006080;">" Amazon S3 bucket(s) in the US Standard region."</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum14">  14:</span>               }</pre>
<p><!--CRLF--></div>
</div>
<p>The code above simply lists the buckets based on my Amazon&nbsp;&nbsp;&nbsp; S3 account and credentials. This lead me to investigate the AWSClientFactory, and AmazonS3Client&nbsp; classes. Lo and Behold there are many methods, and classes that make it very easy to upload entries into your amazon bucket. The main object to work with is the AmazonS3Client object. this object allows you to delete, create, upload, modify and retrieve almost any item in AmazonS3. The object supports synchronous and asynchronous calls for more efficient development and implementation patterns.</p>
<p>So basically, all I needed was the AmazonS3Client, the media file stream, the file stream name, bucketName, AccessID, and Secret ID values to upload the item into the AmazonS3 Bucket. Once I uploaded the media into the bucket I simply returned the URL to where this item resided inside AmazonS3. I won’t go into the specifics as you can step through the code from above and read the very detailed <a href="https://aws.amazon.com/documentation/">documentation</a> Amazon has.</p>
<p>So you may be wondering how I got it all to run with Soledad’s design?</p>
<p>Well, getting all this to run, required me to hook up to the Storage manager. In Soledad’s design she also makes use of the “Factory” pattern. Thus, there is a factory class that will give you the particular storage manager based on a setting inside the config store list. All configuration is saved in a Sharepoint list, and the <a href="http://spconfigstore.codeplex.com/">Sharepoint Config Store</a> is used for retrieving it. Here is part of the factory code outlining the AmazonS3StorageManager class:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> AssetStorageFactory</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span>   …</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>  <span style="color:#0000ff;">static</span> <span style="color:#0000ff;">public</span> IAssetStorageManager GetStorageManager(<span style="color:#0000ff;">string</span> configCategory,<span style="color:#0000ff;">string</span> webUrl)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span>  {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>      var configHelper = <span style="color:#0000ff;">new</span> ConfigHelper(webUrl);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span>      <span style="color:#0000ff;">string</span> storageMethod = configHelper.GetValue(configCategory, StorageMethodConfigKey);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span>      <span style="color:#0000ff;">if</span> (<span style="color:#006080;">"AmazonS3"</span>.Equals(storageMethod, StringComparison.InvariantCultureIgnoreCase))</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span>      {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span>          <span style="color:#0000ff;">return</span> <span style="color:#0000ff;">new</span> AmazonS3AssetStorageManager(<span style="color:#006080;">"test"</span>, <span style="color:#006080;">"devPrefix"</span>, <span style="color:#006080;">"AB123-myAmazonKEYID-ZZZ"</span>, <span style="color:#006080;">"123ABC-MySecretKeyID-ZZZ"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum10">  10:</span>      }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum11">  11:</span>      <span style="color:#0000ff;">else</span> <span style="color:#0000ff;">if</span> (<span style="color:#0000ff;">true</span>)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum12">  12:</span>      {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum13">  13:</span>          <span style="color:#008000;">// ...Other Storage Managers </span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum14">  14:</span>      }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum15">  15:</span>      <span style="color:#0000ff;">throw</span> <span style="color:#0000ff;">new</span> ArgumentException(String.Format(<span style="color:#006080;">"Incorrect configuration Value '{0}' in ConfigStore for category '{1}' and key '{2}'. Supported options are: '{3}'"</span>,</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum16">  16:</span>          storageMethod, configCategory, StorageMethodConfigKey, <span style="color:#006080;">"FileSystem|FTP|SPLibrary"</span>));</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum17">  17:</span>  }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum18">  18:</span> }</pre>
<p><!--CRLF--></div>
</div>
<p>Once everything was hooked up, all I had to do was deploy the components and configure the entries inside the Config Store and rest is… “ourstory”</p>
<p>In case you’re wondering what the requirements are for deploying only the AmazonS3 part, that’s even more simpler. The AmazonS3 SDK provides all of its functionality inside 1 Assembly (<strong>AWSSDK.dll)</strong>, by default install it can be found here: <strong>C:\Program Files (x86)\AWS SDK for .NET\bin. </strong>The best thing about this assembly is that it’s strongly named. This means that to install it on SharePoint, just install it /register it inside the Global Assembly Cache (GAC). This assembly will need to be installed on all servers that need to run or interact with the AmazonS3 system.</p>
<p>&nbsp;</p>
<p>Happy SharePointing!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/402/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=402&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2012/01/19/using-amazon-s3-as-a-media-hosting-option-for-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2012/01/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2012/01/snaghtml6950e0_thumb.png" medium="image">
			<media:title type="html">SNAGHTML6950e0</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2012/01/snaghtml3fb17b_thumb.png" medium="image">
			<media:title type="html">SNAGHTML3fb17b</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2012/01/snaghtml59950b_thumb.png" medium="image">
			<media:title type="html">SNAGHTML59950b</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2012/01/snaghtml87051f_thumb.png" medium="image">
			<media:title type="html">SNAGHTML87051f</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2012/01/snaghtml88e24c_thumb.png" medium="image">
			<media:title type="html">SNAGHTML88e24c</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2012/01/snaghtml8e5a62_thumb.png" medium="image">
			<media:title type="html">SNAGHTML8e5a62</media:title>
		</media:content>
	</item>
		<item>
		<title>Azure EAI CTP &#8211; First Public Review</title>
		<link>http://dgoins.wordpress.com/2011/12/19/azure-eai-ctp-first-public-review/</link>
		<comments>http://dgoins.wordpress.com/2011/12/19/azure-eai-ctp-first-public-review/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 01:51:18 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dgoins.wordpress.com/?p=272</guid>
		<description><![CDATA[http://blogs.msdn.com/b/avkashchauhan/archive/2011/12/17/windows-azure-service-bus-eai-and-edi-first-public-ctp-availability.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=272&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://blogs.msdn.com/b/avkashchauhan/archive/2011/12/17/windows-azure-service-bus-eai-and-edi-first-public-ctp-availability.aspx</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=272&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/12/19/azure-eai-ctp-first-public-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>
	</item>
		<item>
		<title>Biased Comparison Most Popular Cloud OS&#8217; part 1</title>
		<link>http://dgoins.wordpress.com/2011/08/06/biased-comparison-most-popular-cloud-os-part-1/</link>
		<comments>http://dgoins.wordpress.com/2011/08/06/biased-comparison-most-popular-cloud-os-part-1/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 19:18:21 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://dgoins.wordpress.com/?p=341</guid>
		<description><![CDATA[In this post I attempt to give you a biased view of the most Popular Cloud OS’ in the industry today. I will cover downloading and installing, Usage, and general feedback on what I’ve noticed about each system. The Cloud computing systems I will cover are; Windows Thin PC, Google Chrome OS, and Joli OS. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=341&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this post I attempt to give you a biased view of the most Popular Cloud OS’ in the industry today. I will cover downloading and installing, Usage, and general feedback on what I’ve noticed about each system. The Cloud computing systems I will cover are; Windows Thin PC, Google Chrome OS, and Joli OS. The reason I’m doing a biased comparison is because I have already found a like and dislike to the various systems I will be comparing, which obviously skews any objective thought, or difference.</p>
<h1>Downloading:</h1>
<h3>Windows Thin PC</h3>
<p>To access and download the bits of Windows Thin PC, you’ll need either a MSDN, TechNet license. Here depending on your license, the install&nbsp; consists of one 1.6GB ISO file. <a href="http://msdn.microsoft.com">http://msdn.microsoft.com</a> </p>
<h3>Google Chrome OS</h3>
<p align="left">To access Google Chromium or Chrome OS, there are a couple of ways to get the bits. The first way is officially to download the source codee and compile the system yourself. You can download the system from the developer pages on the Chromium projects and developer guide: (<a title="http://www.chromium.org/chromium-os/developer-guide" href="http://www.chromium.org/chromium-os/developer-guide">http://www.chromium.org/chromium-os/developer-guide</a>). The second way is a more un-official way. Since this OS is a open source project, there are many developers who keep track of the progress and maintain sites for downloading the latest builds. You can find such a site maintained by Hexxeh (<a title="http://chromeos.hexxeh.net/" href="http://chromeos.hexxeh.net/">http://chromeos.hexxeh.net/</a>) </p>
<p align="left">If you plan to build your own copy, which means you’ll have total control over content and accounts, you’ll need to have a Linux system on hand to compile the OS. In the developer guide, it mentions using Ubuntu, however any flavor of Linux should work as I used Gentoo to build my images.</p>
<p align="left">I must warn you, compiling the OS is not for the faint at heart, and depending on the options you choose when downloading from the Git hub source tree, the process can take about an hour or more depending on the speed of your network and computer system.</p>
<p align="left">The Google Chrome OS experience is a trying one… Just in getting access to the installation bits is a challenge, and building and compiling is not for the faint at heart as I mentioned previously. Once you have the bits, you can either create a bootable USB Thumb drive, VM Image such as VM Ware, Virtual Box or the Open Source Qemu image. Qemu images appear to be the best image format, because depending on the version you download, some of the daily builds break VM Ware and VBox images. To give you an example, when I first tried to download and build the image, I created a VM Ware image and place it on one of my USB Drives. The Image itself couldn’t access the Network stack thus the image was useless. My Qemu image on the other hand was fine. A couple of days later, I downloaded the new builds, and the VM Ware image worked, my Qemu image worked, but my VBox image didn’t…</p>
<h3>Joli OS</h3>
<p>To access JoliOS, you will need to download it’s ISO file located here <a title="http://www.jolicloud.com/download" href="http://www.jolicloud.com/download">http://www.jolicloud.com/download</a>. The current version if JoliOS v1.2 and it’s a 691 mb download.</p>
<p>&nbsp;</p>
<h1>Installation:</h1>
<h3>Windows Thin PC</h3>
<p>First and foremost I’ll say the installation experience of Windows 7, oops, I mean Windows Thin PC is like any normal Windows Installation. Click Next a few dozen times and you’re done. The Windows Thin PC leaves only like 2 screens that differ from your normal Windows 7 installation. If you’re not careful, you’d swear you were still in Windows 7. Here are some screen shots of the windows 7, I mean Windows Thin PC installation:</p>
<table border="0" cellspacing="2" cellpadding="2" width="643">
<tbody>
<tr>
<td valign="top" width="318"><a class="thickbox" href="http://dgoins.files.wordpress.com/2011/08/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb.png?w=244&#038;h=187" width="244" height="187"></a></td>
<td valign="top" width="317"><a class="thickbox" href="http://dgoins.files.wordpress.com/2011/08/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb1.png?w=244&#038;h=186" width="244" height="186"></a></td>
</tr>
<tr>
<td valign="top" width="319"><a class="thickbox" href="http://dgoins.files.wordpress.com/2011/08/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb2.png?w=244&#038;h=185" width="244" height="185"></a></td>
<td valign="top" width="317"><a class="thickbox" href="http://dgoins.files.wordpress.com/2011/08/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb3.png?w=244&#038;h=173" width="244" height="173"></a></td>
</tr>
<tr>
<td valign="top" width="319">&nbsp;</td>
<td valign="top" width="317">&nbsp;</td>
</tr>
</tbody>
</table>
<h3><a class="thickbox" href="http://dgoins.files.wordpress.com/2011/08/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;margin-right:auto;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb4.png?w=1024&#038;h=772" width="1024" height="772"></a></h3>
<h3>Overall the experience is a rather pleasant and rather quick, like 5-10 minutes quick. For those advanced techies out there, you do have advanced options where you can change many of the default settings</h3>
<h3>Google Chrome OS</h3>
<p>Overall, my impression of the Google Chrome OS installation experience was also a quick and pleasant one. It too gave the feeling of click a few dozen times and you were finished. There were some mandatory hardware requirements, as you couldn’t get pass the first screen unless you have a supported Network card/Adapter. The next screen prompted you for a Google account, no surprise there, being this whole OS is based upon the Google Cloud system/services. After you type in your google account credentials, you choose a profile picture, and you’re done. If you’re following and wondering “wait, that wasn’t an install, that was really just a configuration of your user account” You’re right.&nbsp; To be honest, there was no install!</p>
<p>The installation was simply start up the OS, and login with your Google Account credentials. Don’t you just love the *nix systems, just turn on a go!!!</p>
<p>Below are some screenshots showing the install/ or better yet User Profile experience.</p>
<table border="0" cellspacing="2" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image5.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb5.png?w=244&#038;h=190" width="244" height="190"></a></td>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image6.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb6.png?w=244&#038;h=147" width="244" height="147"></a></td>
</tr>
<tr>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image7.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb7.png?w=244&#038;h=184" width="244" height="184"></a></td>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image8.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb8.png?w=244&#038;h=165" width="244" height="165"></a></td>
</tr>
<tr>
<td valign="top" width="200">&nbsp;</td>
<td valign="top" width="200">&nbsp;</td>
</tr>
</tbody>
</table>
<h3><a href="http://dgoins.files.wordpress.com/2011/08/image9.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb9.png?w=1028&#038;h=672" width="1028" height="672"></a></h3>
<p>Within seconds I was online and communicating with my new Google-Chrome Book. BTW I installed this on a Dell Mini, but my wireless adapter didn’t work so I had to use my Gentoo skillz to get it working… <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://dgoins.files.wordpress.com/2011/08/wlemoticon-smile.png?w=645"></p>
<p>Compared to the Windows Thin PC, this installation was actually WAY quicker, we’re talking about 45 seconds and I was done!</p>
<p>Well I must digress a little there is an install experience, however it’s unlike the normal installation of your Windows Thin PC and JoliOS systems. To be more fair to the other too, what I explained above was the “Start Up” experience and not the installation experience. While it’s true there is no “Installation experience” when you boot up to Google Chrome OS, there is one if you want to not use a USB Thumb drive to boot from, and boot directly from the hard drive on your system. To do this requires that you login into your system as root (If you compiled your own system you created your own root password so this shouldn’t be a problem) otherwise if you downloaded a pre-built system, you’re at the mercy of the creator to provide you with this password.</p>
<p>Once you’re logged in as root, there is a command that you can run that will reformat, and copy the USB Thumb drive bootup image and files on to your system. The process takes seconds, like 30 seconds or so. </p>
<p>Thus the real installation experience is one where you need to open up a command prompt by pressing Ctrl+ Alt + F1 , and then typing a few dd and fdisk command prompts…</p>
<h3>Joli OS</h3>
<p>Now the JoliCloud based OS installation was a true installation like that of WIndows Thin PC. It’s installation package and feel renders the same feel of a debian based Linux system like Ubuntu. It contained all the screens your normal Ubuntu system contains, including the more advanced options such as creating partitions, choosing mount points and etc. Overall the installation experience was smooth and painless like that of Windows Thin PC and Google, a few dozen clicks and you’re done. Unlike the Google Chromium OS, there were no requirements to actually have a network connection, as&nbsp; you could actually install it. Below are some screen shots of the installation process and screens:</p>
<table border="0" cellspacing="2" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image10.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb10.png?w=244&#038;h=186" width="244" height="186"></a></td>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image11.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb11.png?w=244&#038;h=175" width="244" height="175"></a></td>
</tr>
<tr>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image12.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb12.png?w=244&#038;h=186" width="244" height="186"></a></td>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image13.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb13.png?w=244&#038;h=184" width="244" height="184"></a></td>
</tr>
<tr>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image14.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb14.png?w=244&#038;h=184" width="244" height="184"></a></td>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image15.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb15.png?w=244&#038;h=183" width="244" height="183"></a></td>
</tr>
<tr>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image16.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb16.png?w=244&#038;h=185" width="244" height="185"></a></td>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image17.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb17.png?w=244&#038;h=186" width="244" height="186"></a></td>
</tr>
<tr>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image18.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb18.png?w=244&#038;h=186" width="244" height="186"></a></td>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image19.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb19.png?w=244&#038;h=184" width="244" height="184"></a></td>
</tr>
<tr>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image20.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb20.png?w=244&#038;h=185" width="244" height="185"></a></td>
<td valign="top" width="200"><a href="http://dgoins.files.wordpress.com/2011/08/image21.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb21.png?w=244&#038;h=184" width="244" height="184"></a></td>
</tr>
</tbody>
</table>
<h1><a href="http://dgoins.files.wordpress.com/2011/08/image22.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/08/image_thumb22.png?w=1025&#038;h=772" width="1025" height="772"></a></h1>
<p>In the next posting, I’ll go over the differences of each OS when using it, applications, and general feedback of the look, feel, speed, and impression of the OS’s</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/341/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=341&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/08/06/biased-comparison-most-popular-cloud-os-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/wlemoticon-smile.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb15.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb17.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb18.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb19.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb20.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb21.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/08/image_thumb22.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Locating SharePoint Features with PowerShell</title>
		<link>http://dgoins.wordpress.com/2011/07/29/locating-sharepoint-features-with-powershell/</link>
		<comments>http://dgoins.wordpress.com/2011/07/29/locating-sharepoint-features-with-powershell/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 23:51:04 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://dgoins.wordpress.com/2011/07/29/locating-sharepoint-features-with-powershell/</guid>
		<description><![CDATA[I figure I’d write this quick post moreso for remembering sake than anything else…. We are in the middle of creating deployment scripts for our SharePoint Development cycle. Today we have the task of enabling various different features using PowerShell. A good site to view various different powershell syntax can be found here: http://www.sharepointanalysthq.com/2010/09/sharepoint-2010-powershell-feature-cmdlets-2/ One [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=350&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I figure I’d write this quick post moreso for remembering sake than anything else….</p>
<p>We are in the middle of creating deployment scripts for our SharePoint Development cycle. Today we have the task of enabling various different features using PowerShell. A good site to view various different powershell syntax can be found here:</p>
<p><a title="http://www.sharepointanalysthq.com/2010/09/sharepoint-2010-powershell-feature-cmdlets-2/" href="http://www.sharepointanalysthq.com/2010/09/sharepoint-2010-powershell-feature-cmdlets-2/">http://www.sharepointanalysthq.com/2010/09/sharepoint-2010-powershell-feature-cmdlets-2/</a></p>
<p>One of the tasks we needed to do was to enable some of the standard SharePoint features, such as the SharePoint Enterprise Features explained <a href="http://www.sharepointchick.com/archive/2011/01/12/sharepoint-enterprise-features-functionality.aspx">here</a>.</p>
<p>Well naturally we decided to place these features inside a web site template, and then upon deployment run a powershell script to apply the web template to the site as found in this code below:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> Param($SiteUrl,[String]$WebTemplateName,$ScriptsFolder)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span> #### Properties ####</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span> $getValue = $EnvConfig</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span> $watch = New-Object System.Diagnostics.StopWatch</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span> #### End Properties ####</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span> echo <span style="color:#006080;">"Checking Execution Policy"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum10">  10:</span> &amp;<span style="color:#008000;">;$ScriptsFolder\WriteLog.ps1 -Message "Checking Execution policy"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum11">  11:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum12">  12:</span> $execPolicy = Get-ExecutionPolicy</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum13">  13:</span> <span style="color:#0000ff;">if</span>(!(($execPolicy) -eq <span style="color:#006080;">"RemoteSigned"</span>)){</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum14">  14:</span>     Set-ExecutionPolicy RemoteSigned</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum15">  15:</span>     echo <span style="color:#006080;">"Setting Execution Policy to RemoteSigned"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum16">  16:</span>     &amp;<span style="color:#008000;">;$ScriptsFolder\WriteLog.ps1 -Message "Setting Execution policy to RemoteSigned"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum17">  17:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum18">  18:</span> }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum19">  19:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum20">  20:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum21">  21:</span> function apply-web-template(){</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum22">  22:</span>     [System.Reflection.Assembly]::Load(<span style="color:#006080;">"Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"</span>) </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum23">  23:</span>     echo <span style="color:#006080;">"Applying web template to site collection"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum24">  24:</span>     &amp;<span style="color:#008000;">;$ScriptsFolder\WriteLog.ps1 -Message "Applying web template to site collection"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum25">  25:</span>     </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum26">  26:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum27">  27:</span>     $site= new-Object Microsoft.SharePoint.SPSite($SiteUrl)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum28">  28:</span>     $site.RootWeb.ApplyWebTemplate($WebTemplateName)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum29">  29:</span>     $site.Dispose()</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum30">  30:</span> }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum31">  31:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum32">  32:</span> #Not continue on error</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum33">  33:</span> trap [Exception] {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum34">  34:</span>     echo <span style="color:#006080;">"There was errors"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum35">  35:</span>     break<span style="color:#008000;">;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum36">  36:</span> <span style="color:#008000;">}</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum37">  37:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum38">  38:</span> $watch.Start()</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum39">  39:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum40">  40:</span> apply-web-template</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum41">  41:</span> $watch.Stop()</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum42">  42:</span> $time = $watch.Elapsed.ToString()</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum43">  43:</span> echo <span style="color:#006080;">"Time elapsed: $time"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum44">  44:</span> &amp;<span style="color:#008000;">;$ScriptsFolder\WriteLog.ps1 -Message "Time elapsed: $time"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum45">  45:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum46">  46:</span> echo <span style="color:#006080;">"Setting Execution policy back to $execPolicy"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum47">  47:</span> &amp;<span style="color:#008000;">;$ScriptsFolder\WriteLog.ps1 -Message "Setting Execution policy back to $execPolicy"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum48">  48:</span> Set-ExecutionPolicy $execPolicy</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>However upon running the script we ran into some errors. These errors were dealing with individual features not being enabled for various reasons. We wanted to test individual features being enabled using PowerShell. Question is, how do you determine some of the SharePoint Features Out of the box, because they are not named according to anything that make sense…</p>
<p>Take a look:</p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2011/07/image16.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb16.png?w=644&#038;h=256" width="644" height="256"></a></p>
<p>What’s the name of the above feature? It’s not: <strong>SharePoint Server Enterprise Site Collection</strong>&nbsp; It’s actually named <strong>PremiumSite</strong>. </p>
<p>So How do you figure out some of the others?</p>
<p>Well this is what I did. I knew from google that one of the features I was interested in was the SharePoint Enterprise Features thus I started there. From google I learned that this feature can be found in the <strong>Folder: C:\program files\common files\microsoft shared\web server extensions\14\template\features\PremiumSite.</strong></p>
<p>When I went to this location I found this file:</p>
<p><strong>Feature.xml</strong></p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image17.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb17.png?w=595&#038;h=484" width="595" height="484"></a></p>
<p>Notice above the value for <strong>Title </strong>and <strong>Description</strong>. These values use the embedded resource mechanism of the .Net Framework, and the <strong>Resources</strong> token to get exactly what these names mean. Thus I went searching, the file, <strong>osrvcore</strong> either had to be an assembly or a resource file that could dynamically be converted into an assembly at runtime, so I searched my computer.</p>
<p>What I found was a file in this directory:</p>
<p><strong>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources</strong></p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image18.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb18.png?w=644&#038;h=400" width="644" height="400"></a></p>
<p>The file name <strong>osrvcore.en-US.resx</strong>&nbsp; was just the file I was looking for. I opened this file up and saw all the names of the Out of the box SharePoint Features, and where they point to feature folder wise.</p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image19.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb19.png?w=1326&#038;h=732" width="1326" height="732"></a></p>
<p>In this resource file, the name of the feature found in the <strong>c:\program files\common files\microsoft shared\web server extensions\14\template\features </strong>will be <strong>PremiumSite</strong> minus the suffix “FeatureTitle”.</p>
<p>Now we can write a powershell script such as this to get this and related features, and also enable them such as this:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> Get-SPFeature </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span>     | where-object {$_.displayname -eq <span style="color:#006080;">"PremiumSite"</span> } </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>     | %{ Enable-SPFeature -Identity $_ -url <span style="color:#006080;">"http://localhost"</span> }</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>Done…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/350/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=350&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/07/29/locating-sharepoint-features-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb17.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb18.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb19.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Is Rain in our forecast, because of heavy cloud computing?</title>
		<link>http://dgoins.wordpress.com/2011/07/24/is-rain-in-our-forecast-because-of-heavy-cloud-computing/</link>
		<comments>http://dgoins.wordpress.com/2011/07/24/is-rain-in-our-forecast-because-of-heavy-cloud-computing/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 19:12:34 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://dgoins.wordpress.com/?p=304</guid>
		<description><![CDATA[For those not up on the latest and greatest. Cloud computing seems to be the buzz word in the industry. Cloud computing refers to Computers, devices, servers, clients, applications, solutions and anything you can think of in this modern time running in the clouds. Pretty soon it will be running on systems in Quadrants and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=304&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For those not up on the latest and greatest. Cloud computing seems to be the buzz word in the industry. Cloud computing refers to Computers, devices, servers, clients, applications, solutions and anything you can think of in this modern time running in the clouds. Pretty soon it will be running on systems in Quadrants and start clusters, but that’s another story for another era, even though we’re supposed to be in the age of Aquarius or the age of Aires depending on if you’re astrologist or sun solstice subscriber. This age some say deals with fire, electricity, motion, energy, which can easily relate to computers, lasers, and technology .</p>
<p>But I digress, Cloud computing deals with the idea that applications and systems will run on computers on the “Internet” hosted by Major Companies like Amazon, Google, IBM, Oracle and Microsoft. This new network of computers is termed “The Cloud”.&nbsp; One of the going thoughts is there will no longer be a need for Personal Computers at home (the Home PC), as new computers henceforth known as “Devices” will run with less powerful components, but still maintain the speed and functionality of PC. The idea stems from the fact that almost everyone has a mobile device with them, and no longer is that device constrained to remain at home. It can go everywhere with you. Kind of like the American express slogan “Never leave home without it”.</p>
<p>Most of the major computer manufacturers and software developers are building “devices” and software that will run&nbsp; run “in the cloud”. For example, Microsoft&nbsp; just announced it’s release of <a href="http://www.microsoft.com/windows/enterprise/solutions/virtualization/products/thinpc.aspx">Microsoft Thin PC</a>.</p>
<p>&nbsp;</p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image11.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb11.png?w=639&#038;h=484" width="639" height="484"></a></p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image12.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb12.png?w=644&#038;h=350" width="644" height="350"></a></p>
<p> A very scaled down version of Windows 7 designed to run on the new “Netbooks”, and other less powerful computers. This OS kind of rivals <a href="http://www.chromium.org/chromium-os">Google’s Chrome OS</a>,</p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image13.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb13.png?w=644&#038;h=455" width="644" height="455"></a></p>
<p>which in a sense better rivals <a href="http://www.jolicloud.com/">JoliCloud,</a> and it’s JoliOS&nbsp; </p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image14.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb14.png?w=644&#038;h=351" width="644" height="351"></a></p>
<p>&nbsp;</p>
<p>and as a far stretch the likes of <a href="https://meego.com/">MeeGo</a> </p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image15.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb15.png?w=644&#038;h=484" width="644" height="484"></a></p>
<p>and <a href="http://en.wikipedia.org/wiki/Ubuntu_Netbook_Edition">Ubuntu’s NBE</a> (which has been merged into Ubuntu 11.04).</p>
<p>The applications, that can run in the cloud are too numerous to list, however I’ll mention a few, because you’ve probably been using these already without knowing they are running on cloud based infrastructure:</p>
<ul>
<li>Google Docs, and anything Google Related. I call these guys the Cloud trackers!!!</li>
<li>Amazon EC2</li>
<li>Office 365</li>
<li>DropBox</li>
<li>OpenGoo</li>
<li>MSN Live</li>
<li>Skype</li>
</ul>
<p>These are just some of the software applications that are running in the “Cloud”.</p>
<p>So now, I ask the question are we relying too much on “The Cloud” Will the cloud get too heavy and eventually start raining on us bits and bytes, and cluster storms, and hit us with bytening!? Will we get so out of sync that the Maxtrix will be here sooner than we think. Can you imagine the Microsoft, Amazon, Google, IBM, or Oracle becoming the “Agent Smith’s” of the world telling us what we can and can’t have “in the Cloud”. Controlling our very devices to the point where it wakes us up to tell us we have a meeting or our device will be rendered obsolete? Just a thought&#8230; Up Next a comprehensive comparison of the Cloud OS&#8217;s</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=304&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/07/24/is-rain-in-our-forecast-because-of-heavy-cloud-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb15.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Start of the Cloud Computing Wars</title>
		<link>http://dgoins.wordpress.com/2011/07/11/start-of-the-cloud-computing-wars/</link>
		<comments>http://dgoins.wordpress.com/2011/07/11/start-of-the-cloud-computing-wars/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 20:30:27 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://dgoins.wordpress.com/2011/07/11/start-of-the-cloud-computing-wars/</guid>
		<description><![CDATA[Most of the major computer manufacturers and software developers are building “devices” and software that will run run “in the cloud”. Microsoft just announced it’s release of Microsoft Thin PC. A very scaled down version of Windows 7 designed to run on the new “Netbooks”, and other less powerful computers. This OS rivals Google’s Chrome [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=305&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Most of the major computer manufacturers and software developers are building “devices” and software that will run run “in the cloud”. Microsoft just announced it’s release of <a href="http://www.microsoft.com/windows/enterprise/solutions/virtualization/products/thinpc.aspx">Microsoft Thin PC</a>. A very scaled down version of Windows 7 designed to run on the new “Netbooks”, and other less powerful computers. This OS rivals <a href="http://www.chromium.org/chromium-os">Google’s Chrome OS</a>, which in a sense rivals <a href="http://www.jolicloud.com/">JoliCloud,</a> and as a far stretch the likes of <a href="https://meego.com/">MeeGo</a> and <a href="http://en.wikipedia.org/wiki/Ubuntu_Netbook_Edition">Ubuntu’s NBE</a> (which has been merged into Ubuntu 11.04).</p>
<p>In a future post, I’ll try to do a small comparison between the different OS’s</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/305/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=305&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/07/11/start-of-the-cloud-computing-wars/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>
	</item>
		<item>
		<title>The 960 Grid in SharePoint Made Easy</title>
		<link>http://dgoins.wordpress.com/2011/07/07/the-960-grid-in-sharepoint-made-easy/</link>
		<comments>http://dgoins.wordpress.com/2011/07/07/the-960-grid-in-sharepoint-made-easy/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 05:23:37 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://dgoins.wordpress.com/2011/07/07/the-960-grid-in-sharepoint-made-easy/</guid>
		<description><![CDATA[Recently my team and I were tasked with creating a SharePoint 2010 solution utilizing windows workflow, WCF REST, web parts, and SharePoint out of the box functionality. The project in general is to create 2 different SharePoint web sites. Without going into all the specifics, one site is a public site and the other an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=303&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><sub></sub><sub></sub><sub></sub><sub></sub>Recently my team and I were tasked with creating a SharePoint 2010 solution utilizing windows workflow, WCF REST, web parts, and SharePoint out of the box functionality. The project in general is to create 2 different SharePoint web sites. Without going into all the specifics, one site is a public site and the other an internal portal. One of the requirements is to convert the SharePoint Default look and feel into&nbsp; customer branded site, no surprise there!</p>
<p>Well the surprise comes in the form of how the Branded site will look and behave. Our client requires us to use the&nbsp; <a href="http://www.960.gs">960 grid system</a> to position sections and elements on the page… What Fun!!!</p>
<p>So, anyone who has done SharePoint Branding project before know that SharePoint is very picky about what we change, and how we change it, thus the challenges. Accomplishing this we were presented with quite a few obstacles, such as the <strong>infamous </strong>Office Ribbon, SharePoint Menus, the “Site Actions” button, and architecture of how SharePoint 2010 works just to name a few. In this series of Posts I will attempt to explain how we overcame these tasks and still designed a SharePoint Branded Solution using the 960 grid system.</p>
<p>One of the main topics I’d like to discuss here is&nbsp; exactly what the 960 grid is all about for those that don’t understand it or have never heard of it, and how it affects SharePoint 2010 branding solutions. So Shall I proceed????</p>
<p><strong>Act I: The Preface</strong></p>
<p>Initially, we were thinking this should be easy, until we realized that the client would have to maintain the site after we’re gone. Easy task you say…. Well the client doesn’t have any SharePoint developers on staff, nor are they looking to get some in the future.</p>
<p>We have to adjust the default SharePoint 2010 master pages in a sway so that it would be easy for&nbsp; graphical Designers to modify the the pages and page layouts. According to Microsoft, one of the reasons SharePoint 2010 is not “sexy” upon default deployment is to enforce the point that SharePoint should be branded for your company. So Microsoft makes it “ugly” so that you would want to change it, brand it, change the look and feel of it. </p>
<p>I say this is hogwash…. there are other ways you could accomplish this by just using placeholders saying things like “Your company logo goes here” or something obvious. Along with this Microsoft could make SharePoint 2010 just plain ol “sexy”.</p>
<p>One way in which to do this is to just allow graphical designers design the UI. I mean it only makes sense that’s what they went to school for, and it is what&nbsp; a designer does best. However, to do this, the tools, and capability to brand and design must be easy, useful and not full of developer jargon and fluff. </p>
<p>One of the common patterns graphical designers and web developers are using to build great web sites is a Cascading style system known as the 960 Grid system. The 960 Grid system is simply a set of CSS classes defined in such a way to turn the design of your pages into a 960 pixel grid of columns. This fake grid, allows you to position elements, blocks, and sections of the web page into nicely even sections on the page. You can read more about the <a href="http://960.gs">960 grid here</a> and <a href="http://sixrevisions.com/web_design/the-960-grid-system-made-easy/">here</a>.</p>
<blockquote><p><strong><font size="4">Bringing the 960 Grid into the SharePoint 2010 system is easy, getting it to play nicely with SharePoint, well that’s another story.</font></strong></p>
</blockquote>
<p> The first thing you need to do is register the 2 major css files into your master page. The first css, is a <strong>“Reset.css”</strong> style sheet. This style sheet contains some classes that resets and clears out margins&nbsp; on the page so that if there are any inconsistencies between browsers it starts everyone off with a clean slate or “grid” I should say.</p>
<p>The next style sheet is the main style sheet that creates the fake grid. With the 960 Grid system you can choose&nbsp; many column formulas to design your page. the defaults are 12, 16, and 24. However there are <a href="http://www.spry-soft.com/grids/">tools</a> that allow you to define you own grid system with differing columns widths, you choose. The Main style sheet contains classes like “grid_1”, “push_1”, “suffix_2”, “pull_1”, “prefix_1”, “alpha” and “omega”. These css classes tell the element in question where to position itself in a container horizontally speaking. These classes do not affect the vertical aspect of positioning. You’ll have to calculate that you self, however as far as horizontal, you can’t ask for a easier system to use.</p>
<p>The catch to using these classes with SharePoint requires knowing a few things:</p>
<p>1. Understanding the 960 Grid System. I suggest you step through the tutorials to get a good feel of how the 960 grid works.</p>
<p>2. Remove or Override any SharePoint CSS Classes that affect positioning from a horizontal perspective. This&nbsp; may mean overriding the default styles in some cases, and actually removing the absolute horizontal positioning values.</p>
<p>To get started I suggest using <a href="http://blog.drisgill.com/2010/02/microsofts-sharepoint-2010-starter.html">Randy Drisgill’s starter Master Page</a>, or Microsoft’s starter Master Page to apply your first branding project with SharePoint 2010. Once you have a clean working&nbsp; starter master page, remove all the style sheets and default classes&nbsp; that control positioning. Download or generate the 960 css files and place them in a SharePoint style library</p>
<p>Next add in the the 960 CSS files inside your master page right before any <strong>&lt;script&gt;</strong> tags inside your <strong>&lt;head</strong>&gt; tag;</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:CssRegistration</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="CssRegistrationReset"</span> <span style="color:#ff0000;">name</span><span style="color:#0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/css/reset.css %&gt;"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:CssRegistration</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="CssRegistrationText"</span> <span style="color:#ff0000;">name</span><span style="color:#0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/css/text.css %&gt;"</span> <span style="color:#ff0000;">after</span><span style="color:#0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/css/reset.css %&gt;"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:CssRegistration</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="CssRegistration960"</span> <span style="color:#ff0000;">name</span><span style="color:#0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/css/960.css %&gt;"</span> <span style="color:#ff0000;">after</span><span style="color:#0000ff;">="&lt;% $SPUrl:~sitecollection/Style Library/css/text.css %&gt;"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>The above lines will include the CSS StyleSheets for resetting the margins, and creating the fake 960 pixel grid for styling the page. After this I usually comment out any styles that set the width to 100%, such as this one:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">style</span> <span style="color:#ff0000;">type</span><span style="color:#0000ff;">="text/css"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span>     /* fix scrolling on list pages */</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>     #s4-bodyContainer {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span>         position: relative;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>     }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span>     /* hide body scrolling (SharePoint will handle) */</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span>     body {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span>         height:100%;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum10">  10:</span>         overflow: scroll;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum11">  11:</span>         /* comment out width because we're using 960px instead */</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum12">  12:</span>         /*width:100%;*/</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum13">  13:</span>     }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum14">  14:</span>     <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">style</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>Next wrap your body content into a single “<strong>&lt;div&gt;”</strong> element which uses the 960 Grid container. You’ll have to choose which column grid format you want to use for my example I’ll use the 16 Column format.</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#008000;">&lt;!-- this control is more navigation for mysites, otherwise it is empty --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:DelegateControl</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">ControlId</span><span style="color:#0000ff;">="GlobalNavigation"</span><span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span> <span style="color:#008000;">&lt;!-- this is the main 16 grid container for the 960Grid system --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="container_16"</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="container_16"</span> <span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>Once I have the container, I can now start designing, and placing the necessary SharePoint tags specifically where I want them. Here’s an example of how I want the SharePoint RIbbon structured:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#008000;">&lt;!-- =====  Begin Ribbon ============================================================ --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="ribbonWelcomeArea_16"</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="grid_16 welcomeMessageColor"</span> <span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="ribbonrow"</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="s4-ribbonrowColor"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span>     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="ribboncont"</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="s4-ribboncontColor "</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>     </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span>         <span style="color:#008000;">&lt;!-- ribbon starts here --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span>         <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:SPRibbon</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span>             <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span>             <span style="color:#ff0000;">PlaceholderElementId</span><span style="color:#0000ff;">="RibbonContainer"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum10">  10:</span>             <span style="color:#ff0000;">CssFile</span><span style="color:#0000ff;">=""</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum11">  11:</span>         </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum12">  12:</span>             <span style="color:#008000;">&lt;!-- ribbon left side content starts here --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum13">  13:</span>             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:SPRibbonPeripheralContent</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum14">  14:</span>                 <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum15">  15:</span>                 <span style="color:#ff0000;">Location</span><span style="color:#0000ff;">="TabRowLeft"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum16">  16:</span>                 <span style="color:#ff0000;">CssClass</span><span style="color:#0000ff;">="ms-siteactionscontainer s4-notdlg"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum17">  17:</span>                     </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum18">  18:</span>                     <span style="color:#008000;">&lt;!-- site actions --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum19">  19:</span>                     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">span</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="ms-siteactionsmenu "</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="siteactiontd"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum20">  20:</span>                     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:SiteActions</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">accesskey</span><span style="color:#0000ff;">="&lt;%$Resources:wss,tb_SiteActions_AK%&gt;"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="SiteActionsMenuMain"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum21">  21:</span>                         <span style="color:#ff0000;">PrefixHtml</span><span style="color:#0000ff;">=""</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum22">  22:</span>                         <span style="color:#ff0000;">SuffixHtml</span><span style="color:#0000ff;">=""</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum23">  23:</span>                         <span style="color:#ff0000;">MenuNotVisibleHtml</span><span style="color:#0000ff;">="&amp;amp;nbsp;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum24">  24:</span>                         <span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum25">  25:</span>                         <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">CustomTemplate</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum26">  26:</span>                         <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:FeatureMenuTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum27">  27:</span>                             <span style="color:#ff0000;">FeatureScope</span><span style="color:#0000ff;">="Site"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum28">  28:</span>                             <span style="color:#ff0000;">Location</span><span style="color:#0000ff;">="Microsoft.SharePoint.StandardMenu"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum29">  29:</span>                             <span style="color:#ff0000;">GroupId</span><span style="color:#0000ff;">="SiteActions"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum30">  30:</span>                             <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum31">  31:</span>                             <span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum32">  32:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_EditPage"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum33">  33:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_editpage%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum34">  34:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_editpagedescriptionv4%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum35">  35:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/ActionsEditPage.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum36">  36:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="100"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum37">  37:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="110"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum38">  38:</span>                                 <span style="color:#ff0000;">ClientOnClickNavigateUrl</span><span style="color:#0000ff;">="javascript:ChangeLayoutMode(false);"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum39">  39:</span>                                 <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum40">  40:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_TakeOffline"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum41">  41:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_takeoffline%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum42">  42:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_takeofflinedescription%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum43">  43:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/connecttospworkspace32.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum44">  44:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="100"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum45">  45:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="120"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum46">  46:</span>                                 <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum47">  47:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_CreatePage"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum48">  48:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_createpage%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum49">  49:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_createpagedesc%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum50">  50:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/NewContentPageHH.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum51">  51:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="200"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum52">  52:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="210"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum53">  53:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum54">  54:</span>                                 <span style="color:#ff0000;">ClientOnClickScriptContainingPrefixedUrl</span><span style="color:#0000ff;">="if (LaunchCreateHandler('Page')) { OpenCreateWebPageDialog('~site/_layouts/createwebpage.aspx') }"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum55">  55:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="AddListItems, EditListItems"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum56">  56:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="All"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum57">  57:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_CreateDocLib"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum58">  58:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_createdoclib%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum59">  59:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_createdoclibdesc%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum60">  60:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/NewDocLibHH.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum61">  61:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="200"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum62">  62:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="220"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum63">  63:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum64">  64:</span>                                 <span style="color:#ff0000;">ClientOnClickScriptContainingPrefixedUrl</span><span style="color:#0000ff;">="if (LaunchCreateHandler('DocLib')) { GoToPage('~site/_layouts/new.aspx?FeatureId={00bfea71-e717-4e80-aa17-d0c71b360101}&amp;amp;ListTemplate=101') }"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum65">  65:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="ManageLists"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum66">  66:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="Any"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum67">  67:</span>                                 <span style="color:#ff0000;">VisibilityFeatureId</span><span style="color:#0000ff;">="00BFEA71-E717-4E80-AA17-D0C71B360101"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum68">  68:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_CreateSite"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum69">  69:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_createsite%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum70">  70:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_createsitedesc%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum71">  71:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/newweb32.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum72">  72:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="200"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum73">  73:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="230"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum74">  74:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum75">  75:</span>                                 <span style="color:#ff0000;">ClientOnClickScriptContainingPrefixedUrl</span><span style="color:#0000ff;">="if (LaunchCreateHandler('Site')) { STSNavigate('~site/_layouts/newsbweb.aspx') }"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum76">  76:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="ManageSubwebs,ViewFormPages"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum77">  77:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="All"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum78">  78:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_Create"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum79">  79:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_create%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum80">  80:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_createdesc%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum81">  81:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="200"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum82">  82:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="240"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum83">  83:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum84">  84:</span>                                 <span style="color:#ff0000;">ClientOnClickScriptContainingPrefixedUrl</span><span style="color:#0000ff;">="if (LaunchCreateHandler('All')) { STSNavigate('~site/_layouts/create.aspx') }"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum85">  85:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="ManageLists, ManageSubwebs"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum86">  86:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="Any"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum87">  87:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_ViewAllSiteContents"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum88">  88:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,quiklnch_allcontent%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum89">  89:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_allcontentdescription%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum90">  90:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/allcontent32.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum91">  91:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="300"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum92">  92:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="302"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum93">  93:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum94">  94:</span>                                 <span style="color:#ff0000;">ClientOnClickNavigateUrl</span><span style="color:#0000ff;">="~site/_layouts/viewlsts.aspx"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum95">  95:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="ViewFormPages"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum96">  96:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="Any"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum97">  97:</span>                              <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_EditSite"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum98">  98:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_editsite%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum99">  99:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_editsitedescription%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum100"> 100:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/SharePointDesigner32.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum101"> 101:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="300"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum102"> 102:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="304"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum103"> 103:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum104"> 104:</span>                                 <span style="color:#ff0000;">ClientOnClickScriptContainingPrefixedUrl</span><span style="color:#0000ff;">="EditInSPD('~site/',true);"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum105"> 105:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="AddAndCustomizePages"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum106"> 106:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="Any"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum107"> 107:</span>                             <span style="color:#0000ff;">/&gt;</span>                            </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum108"> 108:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_SitePermissions"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum109"> 109:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,people_sitepermissions%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum110"> 110:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_sitepermissiondescriptionv4%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum111"> 111:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/Permissions32.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum112"> 112:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="300"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum113"> 113:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="310"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum114"> 114:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum115"> 115:</span>                                 <span style="color:#ff0000;">ClientOnClickNavigateUrl</span><span style="color:#0000ff;">="~site/_layouts/user.aspx"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum116"> 116:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="EnumeratePermissions"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum117"> 117:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="Any"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum118"> 118:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_Settings"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum119"> 119:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,settings_pagetitle%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum120"> 120:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_sitesettingsdescriptionv4%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum121"> 121:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/settingsIcon.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum122"> 122:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="300"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum123"> 123:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="320"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum124"> 124:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum125"> 125:</span>                                 <span style="color:#ff0000;">ClientOnClickNavigateUrl</span><span style="color:#0000ff;">="~site/_layouts/settings.aspx"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum126"> 126:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum127"> 127:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="Any"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum128"> 128:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:MenuItemTemplate</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="MenuItem_CommitNewUI"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum129"> 129:</span>                                 <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_commitnewui%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum130"> 130:</span>                                 <span style="color:#ff0000;">Description</span><span style="color:#0000ff;">="&lt;%$Resources:wss,siteactions_commitnewuidescription%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum131"> 131:</span>                                 <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/visualupgradehh.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum132"> 132:</span>                                 <span style="color:#ff0000;">MenuGroupId</span><span style="color:#0000ff;">="300"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum133"> 133:</span>                                 <span style="color:#ff0000;">Sequence</span><span style="color:#0000ff;">="330"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum134"> 134:</span>                                 <span style="color:#ff0000;">UseShortId</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum135"> 135:</span>                                 <span style="color:#ff0000;">ClientOnClickScriptContainingPrefixedUrl</span><span style="color:#0000ff;">="GoToPage('~site/_layouts/prjsetng.aspx')"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum136"> 136:</span>                                 <span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">="ManageWeb"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum137"> 137:</span>                                 <span style="color:#ff0000;">PermissionMode</span><span style="color:#0000ff;">="Any"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum138"> 138:</span>                                 <span style="color:#ff0000;">ShowOnlyIfUIVersionConfigurationEnabled</span><span style="color:#0000ff;">="true"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum139"> 139:</span>                         <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">SharePoint:FeatureMenuTemplate</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum140"> 140:</span>                         <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">CustomTemplate</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum141"> 141:</span>                       <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">SharePoint:SiteActions</span><span style="color:#0000ff;">&gt;&lt;/</span><span style="color:#800000;">span</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum142"> 142:</span>             </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum143"> 143:</span>               <span style="color:#008000;">&lt;!-- global navigation dhtml popout menu --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum144"> 144:</span>               <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">asp:ContentPlaceHolder</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="PlaceHolderGlobalNavigation"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum145"> 145:</span>                     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:PopoutMenu</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum146"> 146:</span>                         <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum147"> 147:</span>                         <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="GlobalBreadCrumbNavPopout"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum148"> 148:</span>                         <span style="color:#ff0000;">IconUrl</span><span style="color:#0000ff;">="/_layouts/images/fgimg.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum149"> 149:</span>                         <span style="color:#ff0000;">IconAlt</span><span style="color:#0000ff;">="&lt;%$Resources:wss,master_breadcrumbIconAlt%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum150"> 150:</span>                         <span style="color:#ff0000;">IconOffsetX</span>=<span style="color:#ff0000;">0</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum151"> 151:</span>                         <span style="color:#ff0000;">IconOffsetY</span>=<span style="color:#ff0000;">112</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum152"> 152:</span>                         <span style="color:#ff0000;">IconWidth</span>=<span style="color:#ff0000;">16</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum153"> 153:</span>                         <span style="color:#ff0000;">IconHeight</span>=<span style="color:#ff0000;">16</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum154"> 154:</span>                         <span style="color:#ff0000;">AnchorCss</span><span style="color:#0000ff;">="s4-breadcrumb-anchor"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum155"> 155:</span>                         <span style="color:#ff0000;">AnchorOpenCss</span><span style="color:#0000ff;">="s4-breadcrumb-anchor-open"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum156"> 156:</span>                         <span style="color:#ff0000;">MenuCss</span><span style="color:#0000ff;">="s4-breadcrumb-menu"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum157"> 157:</span>                         <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="s4-breadcrumb-top"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum158"> 158:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">asp:Label</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">CssClass</span><span style="color:#0000ff;">="s4-breadcrumb-header"</span> <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,master_breadcrumbHeader%&gt;"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum159"> 159:</span>                         <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum160"> 160:</span>                         <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">asp:ContentPlaceHolder</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="PlaceHolderTitleBreadcrumb"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum161"> 161:</span>                             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:ListSiteMapPath</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum162"> 162:</span>                                 <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum163"> 163:</span>                                 <span style="color:#ff0000;">SiteMapProviders</span><span style="color:#0000ff;">="SPSiteMapProvider,SPContentMapProvider"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum164"> 164:</span>                                 <span style="color:#ff0000;">RenderCurrentNodeAsLink</span><span style="color:#0000ff;">="false"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum165"> 165:</span>                                 <span style="color:#ff0000;">PathSeparator</span><span style="color:#0000ff;">=""</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum166"> 166:</span>                                 <span style="color:#ff0000;">CssClass</span><span style="color:#0000ff;">="s4-breadcrumb"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum167"> 167:</span>                                 <span style="color:#ff0000;">NodeStyle-CssClass</span><span style="color:#0000ff;">="s4-breadcrumbNode"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum168"> 168:</span>                                 <span style="color:#ff0000;">CurrentNodeStyle-CssClass</span><span style="color:#0000ff;">="s4-breadcrumbCurrentNode"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum169"> 169:</span>                                 <span style="color:#ff0000;">RootNodeStyle-CssClass</span><span style="color:#0000ff;">="s4-breadcrumbRootNode"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum170"> 170:</span>                                 <span style="color:#ff0000;">NodeImageOffsetX</span>=<span style="color:#ff0000;">0</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum171"> 171:</span>                                 <span style="color:#ff0000;">NodeImageOffsetY</span>=<span style="color:#ff0000;">353</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum172"> 172:</span>                                 <span style="color:#ff0000;">NodeImageWidth</span>=<span style="color:#ff0000;">16</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum173"> 173:</span>                                 <span style="color:#ff0000;">NodeImageHeight</span>=<span style="color:#ff0000;">16</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum174"> 174:</span>                                 <span style="color:#ff0000;">NodeImageUrl</span><span style="color:#0000ff;">="/_layouts/images/fgimg.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum175"> 175:</span>                                 <span style="color:#ff0000;">RTLNodeImageOffsetX</span>=<span style="color:#ff0000;">0</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum176"> 176:</span>                                 <span style="color:#ff0000;">RTLNodeImageOffsetY</span>=<span style="color:#ff0000;">376</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum177"> 177:</span>                                 <span style="color:#ff0000;">RTLNodeImageWidth</span>=<span style="color:#ff0000;">16</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum178"> 178:</span>                                 <span style="color:#ff0000;">RTLNodeImageHeight</span>=<span style="color:#ff0000;">16</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum179"> 179:</span>                                 <span style="color:#ff0000;">RTLNodeImageUrl</span><span style="color:#0000ff;">="/_layouts/images/fgimg.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum180"> 180:</span>                                 <span style="color:#ff0000;">HideInteriorRootNodes</span><span style="color:#0000ff;">="true"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum181"> 181:</span>                                 <span style="color:#ff0000;">SkipLinkText</span><span style="color:#0000ff;">=""</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum182"> 182:</span>                         <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">asp:ContentPlaceHolder</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum183"> 183:</span>                     <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">SharePoint:PopoutMenu</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum184"> 184:</span>                 <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">asp:ContentPlaceHolder</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum185"> 185:</span>                 </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum186"> 186:</span>             <span style="color:#008000;">&lt;!-- save button at top of ribbon --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum187"> 187:</span>             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:PageStateActionButton</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="PageStateActionButton"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">Visible</span><span style="color:#0000ff;">="false"</span> <span style="color:#0000ff;">/&gt;&lt;/</span><span style="color:#800000;">SharePoint:SPRibbonPeripheralContent</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum188"> 188:</span>             </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum189"> 189:</span>             <span style="color:#008000;">&lt;!-- ribbon right side content starts here --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum190"> 190:</span>             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:SPRibbonPeripheralContent</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum191"> 191:</span>                 <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum192"> 192:</span>                 <span style="color:#ff0000;">Location</span><span style="color:#0000ff;">="TabRowRight"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum193"> 193:</span>                 <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="RibbonTabRowRight"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum194"> 194:</span>                 <span style="color:#ff0000;">CssClass</span><span style="color:#0000ff;">="s4-trc-container s4-notdlg"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum195"> 195:</span>                 </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum196"> 196:</span>                 <span style="color:#008000;">&lt;!-- GlobalSiteLink0 delegate - the variation selector / shows nothing by default otherwise --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum197"> 197:</span>                 <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:DelegateControl</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="GlobalDelegate0"</span> <span style="color:#ff0000;">ControlId</span><span style="color:#0000ff;">="GlobalSiteLink0"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum198"> 198:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum199"> 199:</span>                 <span style="color:#008000;">&lt;!-- GlobalSiteLink2 delegate default shows nothing --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum200"> 200:</span>                 <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:DelegateControl</span> <span style="color:#ff0000;">ControlId</span><span style="color:#0000ff;">="GlobalSiteLink2"</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="GlobalDelegate2"</span> <span style="color:#ff0000;">Scope</span><span style="color:#0000ff;">="Farm"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum201"> 201:</span>                 </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum202"> 202:</span>                 <span style="color:#008000;">&lt;!-- link to launch developer dashboard if its activated by admin --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum203"> 203:</span>                 <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">span</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum204"> 204:</span>                     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">span</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="s4-devdashboard"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum205"> 205:</span>                     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">Sharepoint:DeveloperDashboardLauncher</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum206"> 206:</span>                         <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="DeveloperDashboardLauncher"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum207"> 207:</span>                         <span style="color:#ff0000;">NavigateUrl</span><span style="color:#0000ff;">="javascript:ToggleDeveloperDashboard()"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum208"> 208:</span>                         <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum209"> 209:</span>                         <span style="color:#ff0000;">ImageUrl</span><span style="color:#0000ff;">="/_layouts/images/fgimg.png"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum210"> 210:</span>                         <span style="color:#ff0000;">Text</span><span style="color:#0000ff;">="&lt;%$Resources:wss,multipages_launchdevdashalt_text%&gt;"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum211"> 211:</span>                         <span style="color:#ff0000;">OffsetX</span>=<span style="color:#ff0000;">0</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum212"> 212:</span>                         <span style="color:#ff0000;">OffsetY</span>=<span style="color:#ff0000;">222</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum213"> 213:</span>                         <span style="color:#ff0000;">Height</span>=<span style="color:#ff0000;">16</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum214"> 214:</span>                         <span style="color:#ff0000;">Width</span>=<span style="color:#ff0000;">16</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum215"> 215:</span>                     <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">span</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum216"> 216:</span>                 <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">span</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum217"> 217:</span>             <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">SharePoint:SPRibbonPeripheralContent</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum218"> 218:</span>       <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">SharePoint:SPRibbon</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum219"> 219:</span>       </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum220"> 220:</span>       <span style="color:#008000;">&lt;!-- end main ribbon control --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum221"> 221:</span>     <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum222"> 222:</span>     <span style="color:#008000;">&lt;!-- dynamic notification area --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum223"> 223:</span>     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="notificationArea"</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="s4-noti"</span><span style="color:#0000ff;">&gt;&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum224"> 224:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum225"> 225:</span>     <span style="color:#008000;">&lt;!-- old navigation delegate? --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum226"> 226:</span>     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">asp:ContentPlaceHolder</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="SPNavigation"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum227"> 227:</span>             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SharePoint:DelegateControl</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#ff0000;">ControlId</span><span style="color:#0000ff;">="PublishingConsole"</span> <span style="color:#ff0000;">Id</span><span style="color:#0000ff;">="PublishingConsoleDelegate"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum228"> 228:</span>            <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">SharePoint:DelegateControl</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum229"> 229:</span>     <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">asp:ContentPlaceHolder</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum230"> 230:</span>     </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum231"> 231:</span>     <span style="color:#008000;">&lt;!-- top web part panel --&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum232"> 232:</span>     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">="WebPartAdderUpdatePanelContainer"</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">="grid_16 webPartAdderUpdatePanelContainerColor hide "</span> <span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum233"> 233:</span>         <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">asp:UpdatePanel</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum234"> 234:</span>             <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="WebPartAdderUpdatePanel"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum235"> 235:</span>             <span style="color:#ff0000;">UpdateMode</span><span style="color:#0000ff;">="Conditional"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum236"> 236:</span>             <span style="color:#ff0000;">ChildrenAsTriggers</span><span style="color:#0000ff;">="false"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum237"> 237:</span>             <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum238"> 238:</span>             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">ContentTemplate</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum239"> 239:</span>                 <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">WebPartPages:WebPartAdder</span> <span style="color:#ff0000;">ID</span><span style="color:#0000ff;">="WebPartAdder"</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum240"> 240:</span>             <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">ContentTemplate</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum241"> 241:</span>             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">Triggers</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum242"> 242:</span>                 <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">asp:PostBackTrigger</span> <span style="color:#ff0000;">ControlID</span><span style="color:#0000ff;">="WebPartAdder"</span> <span style="color:#0000ff;">/&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum243"> 243:</span>             <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">Triggers</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum244"> 244:</span>         <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">asp:UpdatePanel</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum245"> 245:</span>     <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum246"> 246:</span> <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum247"> 247:</span> <span style="color:#008000;">&lt;!-- =====  End Ribbon and other Top Content ============================================================ --&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<p>Here’s an example of what the page looks like with the ribbon and a background image.</p>
<p><a href="http://dgoins.files.wordpress.com/2011/07/image.png" class="thickbox"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://dgoins.files.wordpress.com/2011/07/image_thumb.png?w=1028&#038;h=197" width="1028" height="197"></a></p>
<p>Once you get comfortable with the 960 grid system, you can place SharePoint tags and elements almost anywhere. </p>
<p>There are some challenges with using the 960 grid system. </p>
<p>1. When working with page layouts, if you’re not cognizant of the fact that your master page is using the 960 grid your layout will yield nasty vertical and horizontal scroll bars.</p>
<p>2. When editing the page, if you place the web part adder and it’s corresponding controls in their normal positions, the runtime web part design experience becomes non-existent. Basically it becomes practically&nbsp;&nbsp; impossible to add, edit and remove web parts because their may not be any scroll bars and the design time controls flow off the page.</p>
<p>3. Attempting to do this for the System Master pages is also impossible for the same reasons mentioned above, and the mere fact that system pages were designed to use the whole width of the page {width: 100%}. Leaving anything off would severely hinder system admin functionality.</p>
<p>In my next post I’ll talk about ways around the first two issues. As far as the third challenge, if you find a elegant way to get around this let me know, but for right now I lean towards the philosophy that System administration pages are not “public” and should not be in a 960 Grid format anyway.</p>
<p>Until next time… Happy web surfing!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=303&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/07/07/the-960-grid-in-sharepoint-made-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Tellago Studios Announces TeleSharp&#8230;</title>
		<link>http://dgoins.wordpress.com/2011/07/01/tellago-studios-announces-telesharp/</link>
		<comments>http://dgoins.wordpress.com/2011/07/01/tellago-studios-announces-telesharp/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 02:53:03 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://dgoins.wordpress.com/2011/07/01/tellago-studios-announces-telesharp/</guid>
		<description><![CDATA[That’s Right Folks!!! We have done it again. We at Tellago have created another solution for your configuration challenges in the .Net World. If you need a central repository to store .Net Enterprise application assets, this is what you’ve been looking for. You can check out our product, and more information here: http://tellagostudios.com/products/telesharp%E2%84%A2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=300&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>That’s Right Folks!!! We have done it again. We at Tellago have created another solution for your configuration challenges in the .Net World. If you need a central repository to store .Net Enterprise application assets, this is what you’ve been looking for.</p>
<p>You can check out our product, and more information here:</p>
<p><a title="http://tellagostudios.com/products/telesharp%E2%84%A2" href="http://tellagostudios.com/products/telesharp%E2%84%A2">http://tellagostudios.com/products/telesharp%E2%84%A2</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=300&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/07/01/tellago-studios-announces-telesharp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing the Gnome 3 Desktop with Images from Bing</title>
		<link>http://dgoins.wordpress.com/2011/06/27/changing-the-gnome-3-desktop-with-images-from-bing/</link>
		<comments>http://dgoins.wordpress.com/2011/06/27/changing-the-gnome-3-desktop-with-images-from-bing/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 15:52:40 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://dgoins.wordpress.com/2011/06/27/changing-the-gnome-3-desktop-with-images-from-bing/</guid>
		<description><![CDATA[This weekend I decided to take on a little challenge… Question: What’s the Challenge? Answer: Have any of you on Windows 7 or WIndows 2008 R2 noticed that there’s a background theme configuration selection that allows you to see a collection of Bing images? If so you probably already know that these images are downloaded [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=287&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This weekend I decided to take on a little challenge…</p>
<p><strong>Question: What’s the Challenge?</strong></p>
<p><strong>Answer:</strong> Have any of you on Windows 7 or WIndows 2008 R2 noticed that there’s a <a href="http://windows.microsoft.com/en-US/windows/downloads/personalize/themes">background theme</a> configuration selection that allows you to see a collection of Bing images? If so you probably already know that these images are downloaded from a Bing RSS feed and every minute of so and displays as the current wallpaper.</p>
<p>Well I wanted to see if I could get the same effect of building such a quick app for my Gnome3 desktops I run. It turns out that there are many ways to accomplish this. I could have written an Python script, Perl Script, Bash Script, C++ application, or just downloaded one of the <a href="http://www.makeuseof.com/tag/5-wallpaper-changer-apps-for-linux/">few wallpaper changer Linux applications</a> such as <a href="http://www.webilder.org/">Webilder</a>.</p>
<p>So, I decided to put on my developer hat and write one using one of the most difficult languages for a Microsoft raised and branded developer, Bash Script. The first thing I needed to do was determine, if it was indeed possible to do this. I binged around and found this: <a href="http://blog.fpmurphy.com/2011/03/customizing-the-gnome-3-shell.html">“Customizing the GNOME Shell”</a>. by fpmurphy. I must say the read was thorough and complete enough for me to figure out all I needed was one line of code to change the desktop settings: </p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> gsettings set org.gnome.desktop.background picture-uri “file:///home/dngoins/WALLPAPER/bingImage.jpg”</pre>
<p><!--CRLF--></div>
</div>
<p>Basically now all I needed to do was to get this “BingImage.jpg”. Well this was rather simple as well. All I needed to do was figure out what and where the Bing RSS Feed uri is, then parse the RSS Feed to get the image url’s and simply download them every few minutes or so.</p>
<p><strong>Question: How did you determine the Bing RSS Feed Url?</strong></p>
<p><strong>Answer:</strong> I used a little tool called <a href="http://www.fiddler2.com/fiddler2/">Fiddler2</a>. Well some of you know I’m a .Net Developer by trade and skill set, but a Linux developer by night, so I use tools from every platform to get a job done, and for my purpose of sniffing out the BIng RSS feed Url, this worked. I started up an instance of my Windows 2008 R2 vmware image, and I started Fiddler2. I then changed my background to use the Bing RSS feed wallpapers and I noticed this url:</p>
<p><a href="http://themeserver.microsoft.com/default.aspx?p=Bing&amp;c=Desktop&amp;m=en-US">http://themeserver.microsoft.com/default.aspx?p=Bing&amp;c=Desktop&amp;m=en-US</a> </p>
<p>This Url yields the Bing RSS Feed which contain links to the Bing Images. I also noticed that this list does not contain the&nbsp; “Today” image on the bing search site. The Current Bing image for “Today” can be found here: </p>
<p><a href="http://www.bing.com/HPImageArchive.aspx?format=xml&amp;idx=0&amp;n=1">http://www.bing.com/HPImageArchive.aspx?format=xml&amp;idx=0&amp;n=1</a> </p>
<p><strong>Question: After this what did you do?</strong></p>
<p><strong>Answer:</strong>&nbsp; I parsed the RSS Feeds for the themes, and current today images, and simply downloaded and overwrote the “BingImage.jpg” file. You can see the BASH script here:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> #!/bin/bash</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span> #Read more: http://blog.fpmurphy.com/2011/03/customizing-the-gnome-3-shell.html#ixzz1QdBESiym</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span> #change this <span style="color:#0000ff;">to</span> your user location</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span> cd /home/dngoins/WALLPAPER</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span> #change this <span style="color:#0000ff;">to</span> set the time between background downloads <span style="color:#0000ff;">in</span> seconds</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum10">  10:</span> changeBackgroundTime=300</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum11">  11:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum12">  12:</span> #<span style="color:#0000ff;">while</span> [! ifconfig eth0 | grep <span style="color:#006080;">"inet addr"</span>] &amp;<span style="color:#008000;">;&amp; [! ifconfig wlan0 | grep "init addr"  ] ; do</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum13">  13:</span> #    sleep 1</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum14">  14:</span> #done</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum15">  15:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum16">  16:</span> #wait <span style="color:#0000ff;">for</span> the network <span style="color:#0000ff;">to</span> start...</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum17">  17:</span> sleep 15</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum18">  18:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum19">  19:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum20">  20:</span> #get the current Bing image on the search window</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum21">  21:</span> #the current Search Bing Image can be found at HPImageArchive.aspx</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum22">  22:</span> #extract the &lt;<span style="color:#008000;">;url/&gt; content for the image link</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum23">  23:</span> currentBingImage=$(curl <span style="color:#006080;">"http://www.bing.com/HPImageArchive.aspx?format=xml&amp;idx=0&amp;n=1"</span> |grep <span style="color:#006080;">"&lt;url&gt;.*&lt;.url&gt;"</span> |sed -e <span style="color:#006080;">"s/^.*&lt;url/&lt;url/"</span> | cut -f2 -d<span style="color:#006080;">"&gt;"</span>| cut -f1 -d<span style="color:#006080;">"&lt;"</span>)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum24">  24:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum25">  25:</span> #extract the &lt;<span style="color:#008000;">;copyright&gt; information for the description of the current bing search image</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum26">  26:</span> currentCopyright=$(curl <span style="color:#006080;">"http://www.bing.com/HPImageArchive.aspx?format=xml&amp;idx=0&amp;n=1"</span> |grep <span style="color:#006080;">"&lt;copyright&gt;.*&lt;.copyright&gt;"</span> |sed -e <span style="color:#006080;">"s/^.*&lt;copyright/&lt;copyright/"</span> | cut -f2 -d<span style="color:#006080;">"&gt;"</span>|cut -f1 -d<span style="color:#006080;">"&lt;"</span>)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum27">  27:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum28">  28:</span> #the InfoAboutBackground needs <span style="color:#0000ff;">to</span> have permissions so that this script can overwrite the contents</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum29">  29:</span> echo $currentBingImage<span style="color:#006080;">": "</span>$currentCopyright &gt;<span style="color:#008000;">; /home/dngoins/Desktop/InfoAboutBackground</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum30">  30:</span> #echo $currentBingImage</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum31">  31:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum32">  32:</span> #set the whole currentImage path</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum33">  33:</span> bingUrl=<span style="color:#006080;">"http://www.bing.com"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum34">  34:</span> currentImage=${bingUrl}${currentBingImage}</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum35">  35:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum36">  36:</span> #download the current bing image and overwrite the bingImage.jpg file</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum37">  37:</span> curl $currentImage -o bingImage.jpg</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum38">  38:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum39">  39:</span> #use the gnome 3 settings utility: gsettings <span style="color:#0000ff;">to</span> change the background</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum40">  40:</span> gsettings set org.gnome.desktop.background picture-uri <span style="color:#006080;">"file:///home/dngoins/WALLPAPER/bingImage.jpg"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum41">  41:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum42">  42:</span> #get the rssFeed &lt;<span style="color:#008000;">;link ref="http://blah.com/image.jpg" /&gt; link</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum43">  43:</span> rssFeed=$(curl <span style="color:#006080;">"http://themeserver.microsoft.com/default.aspx?p=Bing&amp;c=Desktop&amp;m=en-US"</span>  |grep -o '&lt;<span style="color:#008000;">;link ref="[^"]*' | grep -o '[^"]*$' |sed -e "s/http:\/\/.*\.jpg/&lt;url&gt;&amp;&lt;\/url&gt;,/" |sed -e "s/http:\/\/.*\.JPG/&lt;url&gt;&amp;&lt;\/url&gt;,/" )</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum44">  44:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum45">  45:</span> rssFeedParamountPictures=$(curl <span style="color:#006080;">"http://themeserver.microsoft.com/default.aspx?p=Paramount&amp;c=Dynamic&amp;m=en-US"</span>  |grep -o '&lt;<span style="color:#008000;">;link ref="[^"]*' | grep -o '[^"]*$' |sed -e "s/http:\/\/.*\.jpg/&lt;url&gt;&amp;&lt;\/url&gt;,/" |sed -e "s/http:\/\/.*\.JPG/&lt;url&gt;&amp;&lt;\/url&gt;,/" )</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum46">  46:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum47">  47:</span> rssFeedAerial=$(curl <span style="color:#006080;">"http://themeserver.microsoft.com/default.aspx?p=Bing&amp;c=Aerial&amp;m=en-US"</span>  |grep -o '&lt;<span style="color:#008000;">;link ref="[^"]*' | grep -o '[^"]*$' |sed -e "s/http:\/\/.*\.jpg/&lt;url&gt;&amp;&lt;\/url&gt;,/" |sed -e "s/http:\/\/.*\.JPG/&lt;url&gt;&amp;&lt;\/url&gt;,/" )</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum48">  48:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum49">  49:</span> #TODO: get the rssFeed desciption <span style="color:#0000ff;">for</span> each url - </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum50">  50:</span> #rssFeedAbout=$(curl <span style="color:#006080;">"http://themeserver.microsoft.com/default.aspx?p=Bing&amp;c=Desktop&amp;m=en-US"</span> |grep <span style="color:#006080;">"&lt;title&gt;.*&lt;.title&gt;"</span> |sed -e <span style="color:#006080;">"s/&lt;title&gt;.*&lt;.title&gt;/&amp;,/"</span> )</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum51">  51:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum52">  52:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum53">  53:</span> #remove all the spaces <span style="color:#0000ff;">for</span> the time being and replace <span style="color:#0000ff;">with</span> '~'</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum54">  54:</span> removespaces=$(echo $rssFeed | tr ' ' '~')</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum55">  55:</span> removespacesParamount=$(echo $rssFeedParamountPictures | tr ' ' '~')</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum56">  56:</span> removespacesAerial=$(echo $rssFeedAerial | tr ' ' '~')</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum57">  57:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum58">  58:</span> #create an array of &lt;<span style="color:#008000;">;url/&gt;'s</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum59">  59:</span> declare -a urlArray</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum60">  60:</span> urlArray=(`echo $removespaces | tr ',' ' '`)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum61">  61:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum62">  62:</span> declare -a urlArrayParamount</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum63">  63:</span> urlArrayParamount=(`echo $removespacesParamount | tr ',' ' '`)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum64">  64:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum65">  65:</span> declare -a urlArrayAerial</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum66">  66:</span> urlArrayAerial=(`echo $removespacesAerial | tr ',' ' '`)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum67">  67:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum68">  68:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum69">  69:</span> #<span style="color:#0000ff;">for</span> each url <span style="color:#0000ff;">in</span> the array</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum70">  70:</span> <span style="color:#0000ff;">for</span> url <span style="color:#0000ff;">in</span> ${urlArray[@]}<span style="color:#008000;">; do</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum71">  71:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum72">  72:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum73">  73:</span> #replace the '~' <span style="color:#0000ff;">with</span> url encoded %20 <span style="color:#0000ff;">for</span> spaces, and <span style="color:#0000ff;">return</span> just the actual url link: http://blah.com/image.jpg</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum74">  74:</span> image=$(echo $url |grep <span style="color:#006080;">"&lt;url&gt;.*&lt;.url&gt;"</span> |sed -e <span style="color:#006080;">"s/^.*&lt;url/&lt;url/"</span> | cut -f2 -d<span style="color:#006080;">"&gt;"</span>| cut -f1 -d<span style="color:#006080;">"&lt;"</span> | sed -e <span style="color:#006080;">"s/~/%20/"</span> | sed -e <span style="color:#006080;">"s/~/%20/"</span> )</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum75">  75:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum76">  76:</span> #echo <span style="color:#006080;">"Image: $image"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum77">  77:</span> #get the filename</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum78">  78:</span> fileName=$(echo $image |sed -e <span style="color:#006080;">"s/http:\/\/themeserver.microsoft.com\/themeserver\/\/Bing\/Desktop\/en-US\/Images\///"</span> | tr '/' '_')</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum79">  79:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum80">  80:</span> #echo <span style="color:#006080;">"FileName = $fileName"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum81">  81:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum82">  82:</span> <span style="color:#0000ff;">if</span> [ -a /home/dngoins/WALLPAPER/$fileName ]<span style="color:#008000;">; then</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum83">  83:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum84">  84:</span>     echo <span style="color:#006080;">"$fileName already found in directory, so skipping download"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum85">  85:</span> <span style="color:#0000ff;">else</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum86">  86:</span>     #download the image and save it <span style="color:#0000ff;">to</span> the WALLPAPER directory as [name of file].jpg</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum87">  87:</span>     #<span style="color:#0000ff;">for</span> this <span style="color:#0000ff;">to</span> work you need <span style="color:#0000ff;">to</span> give permission <span style="color:#0000ff;">to</span> overwrite this file <span style="color:#0000ff;">in</span> the /home/user/WALLPAPER directory</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum88">  88:</span>     curl `echo $image` -o $fileName</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum89">  89:</span> #    echo <span style="color:#006080;">"Doing Curl for $image and $fileName"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum90">  90:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum91">  91:</span> fi</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum92">  92:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum93">  93:</span> #use the gnome 3 shell settings utility: gsettings <span style="color:#0000ff;">to</span> set the background image</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum94">  94:</span> #gsettings set org.gnome.desktop.background picture-uri <span style="color:#006080;">"file:///home/dngoins/WALLPAPER/"</span>$fileName</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum95">  95:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum96">  96:</span> #loop over and download the <span style="color:#0000ff;">next</span> image <span style="color:#0000ff;">in</span> Bing RSS Theme</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum97">  97:</span> done</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum98">  98:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum99">  99:</span> #wait <span style="color:#0000ff;">for</span> the allocated time <span style="color:#0000ff;">to</span> change <span style="color:#0000ff;">to</span> the Bing RSS Theme images</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum100"> 100:</span> sleep $changeBackgroundTime</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum101"> 101:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum102"> 102:</span> length=$#</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum103"> 103:</span> random_num=$(( $RANDOM % ($length + 1) ))</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum104"> 104:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum105"> 105:</span> <span style="color:#0000ff;">if</span> [ -a <span style="color:#006080;">"/home/dngoins/WALLPAPER/${!random_num}"</span> ] &amp;<span style="color:#008000;">;&amp; [ "${!random_num}" != "currentWallpaper.jpg" ]; then </span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum106"> 106:</span>     cp <span style="color:#006080;">"/home/dngoins/WALLPAPER/${!random_num}"</span> ./currentWallpaper.jpg </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum107"> 107:</span>     gsettings set org.gnome.desktop.background picture-uri <span style="color:#006080;">"file:///home/dngoins/WALLPAPER/currentWallpaper.jpg"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum108"> 108:</span> fi</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum109"> 109:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum110"> 110:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum111"> 111:</span> #<span style="color:#0000ff;">for</span> each url <span style="color:#0000ff;">in</span> the array</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum112"> 112:</span> <span style="color:#0000ff;">for</span> url <span style="color:#0000ff;">in</span> ${urlArrayParamount[@]}<span style="color:#008000;">; do</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum113"> 113:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum114"> 114:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum115"> 115:</span> #replace the '~' <span style="color:#0000ff;">with</span> url encoded %20 <span style="color:#0000ff;">for</span> spaces, and <span style="color:#0000ff;">return</span> just the actual url link: http://blah.com/image.jpg</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum116"> 116:</span> image=$(echo $url |grep <span style="color:#006080;">"&lt;url&gt;.*&lt;.url&gt;"</span> |sed -e <span style="color:#006080;">"s/^.*&lt;url/&lt;url/"</span> | cut -f2 -d<span style="color:#006080;">"&gt;"</span>| cut -f1 -d<span style="color:#006080;">"&lt;"</span> | sed -e <span style="color:#006080;">"s/~/%20/"</span> | sed -e <span style="color:#006080;">"s/~/%20/"</span> )</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum117"> 117:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum118"> 118:</span> #echo <span style="color:#006080;">"Image: $image"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum119"> 119:</span> #get the filename</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum120"> 120:</span> fileName=$(echo $image |sed -e <span style="color:#006080;">"s/http:\/\/themeserver.microsoft.com\/themeserver\/\/Paramount\/Dynamic\/en-US\/Images\///"</span> | tr '/' '_')</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum121"> 121:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum122"> 122:</span> #echo <span style="color:#006080;">"FileName = $fileName"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum123"> 123:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum124"> 124:</span> <span style="color:#0000ff;">if</span> [ -a /home/dngoins/WALLPAPER/$fileName ]<span style="color:#008000;">; then</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum125"> 125:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum126"> 126:</span>     echo <span style="color:#006080;">"$fileName already found in directory, so skipping download"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum127"> 127:</span> <span style="color:#0000ff;">else</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum128"> 128:</span>     #download the image and save it <span style="color:#0000ff;">to</span> the WALLPAPER directory as [name of file].jpg</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum129"> 129:</span>     #<span style="color:#0000ff;">for</span> this <span style="color:#0000ff;">to</span> work you need <span style="color:#0000ff;">to</span> give permission <span style="color:#0000ff;">to</span> overwrite this file <span style="color:#0000ff;">in</span> the /home/user/WALLPAPER directory</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum130"> 130:</span>     curl `echo $image` -o $fileName</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum131"> 131:</span> #    echo <span style="color:#006080;">"Doing Curl for $image and $fileName"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum132"> 132:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum133"> 133:</span> fi</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum134"> 134:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum135"> 135:</span> #use the gnome 3 shell settings utility: gsettings <span style="color:#0000ff;">to</span> set the background image</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum136"> 136:</span> #gsettings set org.gnome.desktop.background picture-uri <span style="color:#006080;">"file:///home/dngoins/WALLPAPER/"</span>$fileName</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum137"> 137:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum138"> 138:</span> #loop over and download the <span style="color:#0000ff;">next</span> image <span style="color:#0000ff;">in</span> Bing RSS Theme</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum139"> 139:</span> done</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum140"> 140:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum141"> 141:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum142"> 142:</span> #wait <span style="color:#0000ff;">for</span> the allocated time <span style="color:#0000ff;">to</span> change <span style="color:#0000ff;">to</span> the Bing RSS Theme images</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum143"> 143:</span> sleep $changeBackgroundTime</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum144"> 144:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum145"> 145:</span> length=$#</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum146"> 146:</span> random_num=$(( $RANDOM % ($length + 1) ))</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum147"> 147:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum148"> 148:</span> <span style="color:#0000ff;">if</span> [ -a <span style="color:#006080;">"/home/dngoins/WALLPAPER/${!random_num}"</span> ] &amp;<span style="color:#008000;">;&amp; [ "${!random_num}" != "currentWallpaper.jpg" ]; then </span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum149"> 149:</span>     cp <span style="color:#006080;">"/home/dngoins/WALLPAPER/${!random_num}"</span> ./currentWallpaper.jpg </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum150"> 150:</span>     gsettings set org.gnome.desktop.background picture-uri <span style="color:#006080;">"file:///home/dngoins/WALLPAPER/currentWallpaper.jpg"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum151"> 151:</span> fi</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum152"> 152:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum153"> 153:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum154"> 154:</span> #<span style="color:#0000ff;">for</span> each url <span style="color:#0000ff;">in</span> the array</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum155"> 155:</span> <span style="color:#0000ff;">for</span> url <span style="color:#0000ff;">in</span> ${urlArrayAerial[@]}<span style="color:#008000;">; do</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum156"> 156:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum157"> 157:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum158"> 158:</span> #replace the '~' <span style="color:#0000ff;">with</span> url encoded %20 <span style="color:#0000ff;">for</span> spaces, and <span style="color:#0000ff;">return</span> just the actual url link: http://blah.com/image.jpg</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum159"> 159:</span> image=$(echo $url |grep <span style="color:#006080;">"&lt;url&gt;.*&lt;.url&gt;"</span> |sed -e <span style="color:#006080;">"s/^.*&lt;url/&lt;url/"</span> | cut -f2 -d<span style="color:#006080;">"&gt;"</span>| cut -f1 -d<span style="color:#006080;">"&lt;"</span> | sed -e <span style="color:#006080;">"s/~/%20/"</span> | sed -e <span style="color:#006080;">"s/~/%20/"</span> )</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum160"> 160:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum161"> 161:</span> #echo <span style="color:#006080;">"Image: $image"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum162"> 162:</span> #get the filename</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum163"> 163:</span> fileName=$(echo $image |sed -e <span style="color:#006080;">"s/http:\/\/themeserver.microsoft.com\/themeserver\/\/Bing\/Aerial\/en-US\/Images\///"</span> | tr '/' '_')</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum164"> 164:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum165"> 165:</span> #echo <span style="color:#006080;">"FileName = $fileName"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum166"> 166:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum167"> 167:</span> <span style="color:#0000ff;">if</span> [ -a /home/dngoins/WALLPAPER/$fileName ]<span style="color:#008000;">; then</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum168"> 168:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum169"> 169:</span>     echo <span style="color:#006080;">"$fileName already found in directory, so skipping download"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum170"> 170:</span> <span style="color:#0000ff;">else</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum171"> 171:</span>     #download the image and save it <span style="color:#0000ff;">to</span> the WALLPAPER directory as [name of file].jpg</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum172"> 172:</span>     #<span style="color:#0000ff;">for</span> this <span style="color:#0000ff;">to</span> work you need <span style="color:#0000ff;">to</span> give permission <span style="color:#0000ff;">to</span> overwrite this file <span style="color:#0000ff;">in</span> the /home/user/WALLPAPER directory</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum173"> 173:</span>     curl `echo $image` -o $fileName</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum174"> 174:</span> #    echo <span style="color:#006080;">"Doing Curl for $image and $fileName"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum175"> 175:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum176"> 176:</span> fi</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum177"> 177:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum178"> 178:</span> #use the gnome 3 shell settings utility: gsettings <span style="color:#0000ff;">to</span> set the background image</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum179"> 179:</span> #gsettings set org.gnome.desktop.background picture-uri <span style="color:#006080;">"file:///home/dngoins/WALLPAPER/"</span>$fileName</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum180"> 180:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum181"> 181:</span> #loop over and download the <span style="color:#0000ff;">next</span> image <span style="color:#0000ff;">in</span> Bing RSS Theme</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum182"> 182:</span> done</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum183"> 183:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum184"> 184:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum185"> 185:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum186"> 186:</span> #all images downloaded so now loop through images</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum187"> 187:</span> <span style="color:#0000ff;">while</span> [ 1 ]</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum188"> 188:</span> <span style="color:#0000ff;">do</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum189"> 189:</span> set — *</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum190"> 190:</span> length=$#</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum191"> 191:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum192"> 192:</span> random_num=$(( $RANDOM % ($length + 1) ))</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum193"> 193:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum194"> 194:</span> #echo <span style="color:#006080;">"file:///home/dngoins/WALLPAPER/${!random_num}"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum195"> 195:</span> <span style="color:#0000ff;">if</span> [ -a <span style="color:#006080;">"/home/dngoins/WALLPAPER/${!random_num}"</span> ] &amp;<span style="color:#008000;">;&amp; [ "${!random_num}" != "currentWallpaper.jpg" ]; then </span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum196"> 196:</span>     cp <span style="color:#006080;">"/home/dngoins/WALLPAPER/${!random_num}"</span> ./currentWallpaper.jpg </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum197"> 197:</span>     gsettings set org.gnome.desktop.background picture-uri <span style="color:#006080;">"file:///home/dngoins/WALLPAPER/currentWallpaper.jpg"</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum198"> 198:</span> fi</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum199"> 199:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum200"> 200:</span> sleep $changeBackgroundTime</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum201"> 201:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum202"> 202:</span> done</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum203"> 203:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum204"> 204:</span> exit</pre>
<p><!--CRLF--></div>
</div>
<p>Results:</p>
<p><a class="thickbox" href="http://dgoins.files.wordpress.com/2011/06/bingrssgnomewallpaper1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="BingRssGnomeWallpaper" border="0" alt="BingRssGnomeWallpaper" src="http://dgoins.files.wordpress.com/2011/06/bingrssgnomewallpaper_thumb1.png?w=1024&#038;h=303" width="1024" height="303"></a></p>
<p>Notice in the image above I have the WIndows Server 2008 R2 image with Bing as the wallpaper, along with the Gnome 3 desktop wallpaper on the Linux host.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/287/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=287&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/06/27/changing-the-gnome-3-desktop-with-images-from-bing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>

		<media:content url="http://dgoins.files.wordpress.com/2011/06/bingrssgnomewallpaper_thumb1.png" medium="image">
			<media:title type="html">BingRssGnomeWallpaper</media:title>
		</media:content>
	</item>
		<item>
		<title>Tellago Announces Technology Updates Webinar</title>
		<link>http://dgoins.wordpress.com/2011/05/05/tellago-announces-technology-updates-webinar/</link>
		<comments>http://dgoins.wordpress.com/2011/05/05/tellago-announces-technology-updates-webinar/#comments</comments>
		<pubDate>Thu, 05 May 2011 16:50:20 +0000</pubDate>
		<dc:creator>dngoins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://dgoins.wordpress.com/2011/05/05/tellago-announces-technology-updates-webinar/</guid>
		<description><![CDATA[If you’re intimately involved with computers, and you probably are because you’re reading this… you probably think you know your stuff!!! After all you’ve been working with various systems for X amount of years and you have probably been burned to the cross, as well as been&#160; raised up to the status of&#160; “god-ship” in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=286&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you’re intimately involved with computers, and you probably are because you’re reading this… you probably think you know your stuff!!! </p>
<p>After all you’ve been working with various systems for X amount of years and you have probably been burned to the cross, as well as been&nbsp; raised up to the status of&nbsp; “god-ship” in your career. The problem is, everytime you look around your shoulder there’s a new technology on the uprising which you haven’t heard about, nor know anything about. Then after a quick blog article, or magazine read, you say to yourself… “Oh that’s just this old technology revamped… I get it!!!” </p>
<p>We at Tellago would like to introduce to you a “virtual video blog” or virtual video magazine…! We&nbsp; have many developers with a wide variety of skills sets on many platforms: Windows, Mac, Linux, you name it. We want to share these technology updates with you through webinars where you can stay up to date on the latest technology buzzes dealing with the 3 most popular platforms.</p>
<p>These webinar series will be a version of what we are doing with the Technology Meetups and Dojos but this time targeting customers, IT executives, etc. Our first two webinars are going to focus on NOSQL databases and Mobile applications. You can find the Technology Updates series at <a href="http://tellago.com/what_we_says/tellago-technology-updates">http://tellago.com/what_we_says/tellago-technology-updates</a>
<p>Read more about it here <a href="http://weblogs.asp.net/gsusx/archive/2011/05/04/announcing-tellago-technology-updates.aspx">http://weblogs.asp.net/gsusx/archive/2011/05/04/announcing-tellago-technology-updates.aspx</a> .
<p>We hope to see you and hear your opinion on this . Thanks</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dgoins.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dgoins.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dgoins.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dgoins.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dgoins.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dgoins.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dgoins.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dgoins.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dgoins.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dgoins.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dgoins.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dgoins.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dgoins.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dgoins.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dgoins.wordpress.com&amp;blog=10189507&amp;post=286&amp;subd=dgoins&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dgoins.wordpress.com/2011/05/05/tellago-announces-technology-updates-webinar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f208e71090be0918e1ecfbdabc41017c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dngoins</media:title>
		</media:content>
	</item>
	</channel>
</rss>
