<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blownpixel &#187; Web</title>
	<atom:link href="http://www.blownpixel.co.uk/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blownpixel.co.uk</link>
	<description>it&#039;s a design, tech, stuff thing..</description>
	<lastBuildDate>Fri, 16 Jul 2010 21:56:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>HOW TO: configure Google map application to select and use a valid API key when hosted behind multiple domains?</title>
		<link>http://www.blownpixel.co.uk/2010/06/how-to-configure-google-map-application-to-select-and-use-a-valid-api-key-when-hosted-behind-multiple-domains/</link>
		<comments>http://www.blownpixel.co.uk/2010/06/how-to-configure-google-map-application-to-select-and-use-a-valid-api-key-when-hosted-behind-multiple-domains/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 10:27:36 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.blownpixel.co.uk/?p=529</guid>
		<description><![CDATA[I had a client that had a .com and a .co.uk domain name both pointing to a single hosted website. Having previously only had the .co.uk domain name I had only included an api key for that domain]]></description>
			<content:encoded><![CDATA[<p>I had a client that had a .com and a .co.uk domain name both pointing to a single hosted website. Having previously only had the .co.uk domain name I had only included an api key for that domain.</p>
<p>When the site was displayed using the .com domain it threw up an invalid api key error.</p>
<p>Here is the fix:</p>
<p>Some applications may be hosted on multiple domains. For example, many content management systems push the same content to different domains (e.g.example.com and example.net) and wish to have that content single-sourced. Since Google Maps API keys are generated per domain, you&#8217;ll need to generate separate keys for each domain and configure your application to use the correct one. The easiest way to do this in JavaScript is to dynamically generate the 
<div class="codesnip-container" >&lt;script&gt;</div>
<p> tag using 
<div class="codesnip-container" >document.write</div>
<p> and assigning the correct domain-specific key within the src attribute&#8217;s URL as a parameter. In doing so, you&#8217;ll need to pre-generate and hardcode the list of keys within your application.</p>
<p>Create an object which contains a mapping between domain names and its corresponding Google Maps API keys. Use 
<div class="codesnip-container" >window.location.host</div>
<p> to retrieve the domain name your application is running against, and pass it into the object to select the appropriate key.</p>
<p>Below is a JavaScript snippet you can copy and paste into your application. Replace property names labeled 
<div class="codesnip-container" >domain*.com</div>
<p> on the left with your list of domains and assign to each entry its corresponding and unique Google Maps API key.</p>
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;">document.<span class="kw1">write</span><span class="br0">&#40;</span><span class="br0">&#91;</span><br />
&nbsp; <span class="st0">&#8216;&lt;script src=&quot;http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=&#8217;</span><span class="sy0">,</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="st0">&#8216;domain1.com&#8217;</span><span class="sy0">:</span> <span class="st0">&#8216;apikey1&#8242;</span><span class="sy0">,</span><br />
&nbsp; &nbsp; <span class="st0">&#8216;domain2.com&#8217;</span><span class="sy0">:</span> <span class="st0">&#8216;apikey2&#8242;</span><span class="sy0">,</span><br />
&nbsp; &nbsp; <span class="st0">&#8216;domain3.com&#8217;</span><span class="sy0">:</span> <span class="st0">&#8216;apikey3&#8242;</span><span class="sy0">,</span><br />
&nbsp; &nbsp; <span class="st0">&#8216;domainN.com&#8217;</span><span class="sy0">:</span> <span class="st0">&#8216;apikeyN&#8217;</span><br />
&nbsp; <span class="br0">&#125;</span><span class="br0">&#91;</span>window.<span class="me1">location</span>.<span class="me1">host</span><span class="br0">&#93;</span><span class="sy0">,</span><br />
&nbsp; <span class="st0">&#8216;&quot; type=&quot;text/javascript&quot;&gt;&lt;<span class="es0">\/</span>script&gt;&#8217;</span><br />
<span class="br0">&#93;</span>.<span class="me1">join</span><span class="br0">&#40;</span><span class="st0">&#8221;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</div>
<p>When using the snippet above, be sure to include it within your HTML document above any script tags or JavaScript containing references to Google Maps API objects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blownpixel.co.uk/2010/06/how-to-configure-google-map-application-to-select-and-use-a-valid-api-key-when-hosted-behind-multiple-domains/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Up and Down TV&#8230;</title>
		<link>http://www.blownpixel.co.uk/2010/02/up-and-down-tv/</link>
		<comments>http://www.blownpixel.co.uk/2010/02/up-and-down-tv/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 14:31:12 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://www.blownpixel.co.uk/?p=140</guid>
		<description><![CDATA[SeeSaw.com has finally launched into public beta. 

The site is a watch again aggregator of UK Tv broadcast programs,essentially an online Tv station, but much more it has acquired the rights to distribute programmes on the web making them available to viewers legally for unlimited viewing.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.blownpixel.co.uk/wp-content/uploads/2010/02/seesaw.jpeg" rel="lightbox[140]" title="seesaw"><img class="alignright size-medium wp-image-139" title="seesaw" src="http://www.blownpixel.co.uk/wp-content/uploads/2010/02/seesaw-300x300.jpg" alt="" width="300" height="300" /></a>SeeSaw.com has finally launched into public beta.</p>
<p>The site is a watch again aggregator of UK Tv broadcast programs,essentially an online Tv station, but much more it has acquired the rights to distribute programmes on the web making them available to viewers legally for unlimited viewing.</p>
<p>Catch up for free on programmes you’ve missed for up to 30 days or rediscover many of the nation’s old favourites, specially selected by their editors.</p>
<p>You can choose from comedy, drama, lifestyle shows, factual programmes, sport and much more.  If it’s available, you can even watch whole a series in one go.</p>
<p>SeeSaw is quick, easy and free. Whether you’re a PC or Mac user, you can instantly start watching broadcast-quality programmes on the web, all you need is an internet connection with a speed of at least 1 Mbps – broadband or cable, and the latest version of Adobe Flash installed on your computer.</p>
<p>I have to say the quality is fantastic, with a choice of Low, Medium, and high quality delivery. Even on a UK domestic broadband link I was able to watch fullscreen on my 27inch iMac at full quality with no interruption.</p>
<p>You can find seesaw here: <a title="seesaw.com" href="http://www.seesaw.com" target="_blank">www.seesaw.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blownpixel.co.uk/2010/02/up-and-down-tv/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The last word in Social Media&#8230;</title>
		<link>http://www.blownpixel.co.uk/2010/02/the-last-word-in-social-media/</link>
		<comments>http://www.blownpixel.co.uk/2010/02/the-last-word-in-social-media/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 10:11:27 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.blownpixel.co.uk/?p=127</guid>
		<description><![CDATA[Founded in July 2005, Mashable is the world’s largest blog focused exclusively on Web 2.0 and Social Media news.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.blownpixel.co.uk/wp-content/uploads/2010/02/mashable.png" rel="lightbox[127]" title="mashable"><img class="alignright size-medium wp-image-128" style="margin: 10px;" title="mashable" src="http://www.blownpixel.co.uk/wp-content/uploads/2010/02/mashable-300x194.png" alt="" width="300" height="194" /></a>Founded in July 2005, Mashable is the world’s largest blog focused exclusively on Web 2.0 and Social Media news.</p>
<p>With more than 15 million monthly pageviews, Mashable is the most prolific blog reviewing new Web sites and services, publishing breaking news on what’s new on the web and offering social media resources and guides.</p>
<p>Mashable’s audience includes early adopters, social media enthusiasts, entrepreneurs, influencers, brands and corporations, marketing, PR and advertising agencies, Web 2.0 aficionados and technology journalists.</p>
<p>Mashable is also popular with bloggers, Twitter and Facebook users — an increasingly influential demographic.</p>
<p>As described, the site covers virtually all the subjects a denizen of the modern web should be interested in:</p>
<ul>
<li>Social Media</li>
<li>Mobile</li>
<li>Web Video</li>
<li>Entertainment</li>
<li>Tech</li>
</ul>
<p>All these subjects are covered in depth and the reader can find a myriad of sub-categories within each area of interest.</p>
<p>A wealth of knowledge and right up to the second information a visit is a must.</p>
<p>Mashable can be found here: <a href="http://www.mashable.com" target="_blank">www.mashable.com</a><br />
You can follow on Twitter here: <a title="Mashable Twitter" href="http://twitter.com/mashable" target="_blank">http://twitter.com/mashable</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blownpixel.co.uk/2010/02/the-last-word-in-social-media/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>blownpixel&#8230;</title>
		<link>http://www.blownpixel.co.uk/2010/02/blownpixel/</link>
		<comments>http://www.blownpixel.co.uk/2010/02/blownpixel/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 20:02:35 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Blownpixel]]></category>

		<guid isPermaLink="false">http://www.blownpixel.co.uk/?p=26</guid>
		<description><![CDATA["It's a design, tech, stuff thing..."

Well I have finally got around to blowing the cobwebs off the old 'blownpixel', dusting her down, dressing her up with a fancy new look and releasing her to the world again.]]></description>
			<content:encoded><![CDATA[<p><em>&#8220;It&#8217;s a design, tech, stuff thing&#8230;&#8221;</em></p>
<p>Well I have finally got around to blowing the cobwebs off the old &#8216;blownpixel&#8217;, dusting her down, dressing her up with a fancy new look and releasing her to the world again.</p>
<p>If you are looking for some of the old posts / information then please be patient, I am in the process of updating it all to current standards and software and then I will re-post it. If you really need something then please feel free to <a title="contact" href="http://www.blownpixel.co.uk/contact/">contact me</a>.</p>
<p>We will be covering all the usual &#8216;geek&#8217; subjects -</p>
<ul>
<li>Design</li>
<li>Apple</li>
<li>Photography</li>
<li>Web</li>
</ul>
<p>If you have any ideas for posts or wish to contribute <a title="contact" href="http://www.blownpixel.co.uk/contact/">please get in touch</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blownpixel.co.uk/2010/02/blownpixel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
