<?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>James Tombs &#187; safari</title>
	<atom:link href="http://jamestombs.co.uk/tag/safari/feed" rel="self" type="application/rss+xml" />
	<link>http://jamestombs.co.uk</link>
	<description>Development blog from James Tombs about PHP, XHTML + CSS and Drupal</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:15:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[HTML] Make YouTube embed code XHTML valid without Javascript</title>
		<link>http://jamestombs.co.uk/2008-10-09/make-youtube-embed-code-xhtml-valid-without-javascript/832</link>
		<comments>http://jamestombs.co.uk/2008-10-09/make-youtube-embed-code-xhtml-valid-without-javascript/832#comments</comments>
		<pubDate>Thu, 09 Oct 2008 20:49:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[displayed]]></category>
		<category><![CDATA[embed code]]></category>
		<category><![CDATA[embed tag]]></category>
		<category><![CDATA[multimedia content]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[w3c validator]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://jamestombs.co.uk/?p=832</guid>
		<description><![CDATA[When you embed a video on to your website from YouTube you will find that your site will no longer successfully validate on the W3C validator.
This is because the embed tag is not supported, although it works on most browsers.
The code you get from YouTube is something similar to this:

1
2
3
4
5
&#60;object width=&#34;425&#34; height=&#34;344&#34;&#62;
&#60;param name=&#34;movie&#34; value=&#34;http://www.youtube.com/v/jJpx9MEi6_M&#38;hl=en&#38;fs=1&#34;&#62;&#60;/param&#62;
&#60;param name=&#34;allowFullScreen&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>When you embed a video on to your website from YouTube you will find that your site will no longer successfully validate on the W3C validator.</p>
<p>This is because the embed tag is not supported, although it works on most browsers.</p>
<p>The code you get from YouTube is something similar to this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">object</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;425&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;344&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;movie&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.youtube.com/v/jJpx9MEi6_M&amp;hl=en&amp;fs=1&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">param</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;allowFullScreen&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">param</span>&gt;</span>
<span style="color: #009900;">&lt;embed <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.youtube.com/v/jJpx9MEi6_M&amp;hl=en&amp;fs=1&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;application/x-shockwave-flash&quot;</span> allowfullscreen<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;425&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;344&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span>embed&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">object</span>&gt;</span></pre></td></tr></table></div>

<p>Note that line #4 is the embed code that isn&#8217;t supported.</p>
<p>To make the code valid and work in most browsers (tested in IE6+, FF3, Chrome + Safari, Opera).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!--[if !IE]&gt; &lt;--&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">object</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;application/x-shockwave-flash&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;350&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;284&quot;</span> <span style="color: #000066;">data</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.youtube.com/v/jJpx9MEi6_M&amp;hl=en&amp;fs=1&quot;</span>&gt;</span> 
<span style="color: #808080; font-style: italic;">&lt;!--&gt; &lt;![endif]--&gt;</span> 
<span style="color: #808080; font-style: italic;">&lt;!--[if IE]&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;object type=&quot;application/x-shockwave-flash&quot; width=&quot;350&quot; height=&quot;284&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">param</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;movie&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.youtube.com/v/jJpx9MEi6_M&amp;hl=en&amp;fs=1&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>  
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Your browser is not able to display this multimedia content.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">object</span>&gt;</span></pre></td></tr></table></div>

<p>With the use of condition formatting we are able to set out the code to work in most (if not all) browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamestombs.co.uk/2008-10-09/make-youtube-embed-code-xhtml-valid-without-javascript/832/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Google Chrome really Safari in disguise?</title>
		<link>http://jamestombs.co.uk/2008-09-02/google-chrome-really-safari-in-disguise/574</link>
		<comments>http://jamestombs.co.uk/2008-09-02/google-chrome-really-safari-in-disguise/574#comments</comments>
		<pubDate>Tue, 02 Sep 2008 20:29:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PCs]]></category>
		<category><![CDATA[be]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[disguise]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript window]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[paragraph]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[safari menu]]></category>
		<category><![CDATA[uploading]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.p4th3t1c.co.uk/?p=623</guid>
		<description><![CDATA[While enabling Google Gears from within the newly released Google Chrome, I noticed something odd about the wording.
In Firefox and IE, you get the same text:

Make note of the first paragraph. Now if you open up the same javascript window within Google Chrome, you get this:

Once again, note the first paragraph again.&#160; Within Google Chrome [...]]]></description>
			<content:encoded><![CDATA[<p>While enabling <a href="http://gears.google.com/">Google Gears</a> from within the newly released <a href="http://www.google.com/chrome">Google Chrome</a>, I noticed something odd about the wording.</p>
<p>In Firefox and IE, you get the same text:</p>
<p><a href="http://jamestombs.co.uk/wp-content/uploads/2008/09/firefox.jpg" rel="shadowbox[post-574];player=img;"><img class="alignnone size-full wp-image-624" title="firefox" alt="" src="http://jamestombs.co.uk/wp-content/uploads/2008/09/firefox.jpg" width="420" height="288" /></a></p>
<p>Make note of the first paragraph. Now if you open up the same javascript window within Google Chrome, you get this:</p>
<p><a href="http://jamestombs.co.uk/wp-content/uploads/2008/09/google_chrome.jpg" rel="shadowbox[post-574];player=img;"><img class="alignnone size-full wp-image-625" title="google_chrome" alt="" src="http://jamestombs.co.uk/wp-content/uploads/2008/09/google_chrome.jpg" width="420" height="288" /></a></p>
<p>Once again, note the first paragraph again.&#160; Within Google Chrome it mentions the Safari menu. Safari is not installed on this computer so there is no reason for Safari to appear there other than Google Chrome being related to Safari in some way.</p>
<p>Also take note that yesterday, typing Google Chrome in to Google search, the results were very different.&#160; In less than 1 day Google appears to have got it&#8217;s Chrome site to #1.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamestombs.co.uk/2008-09-02/google-chrome-really-safari-in-disguise/574/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Opera accuses Microsoft of anti-competitive behaviour</title>
		<link>http://jamestombs.co.uk/2007-12-13/opera-accuses-microsoft-of-anti-competitive-behaviour/758</link>
		<comments>http://jamestombs.co.uk/2007-12-13/opera-accuses-microsoft-of-anti-competitive-behaviour/758#comments</comments>
		<pubDate>Thu, 13 Dec 2007 18:06:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[antitrust suit]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[be]]></category>
		<category><![CDATA[computer users]]></category>
		<category><![CDATA[consumers]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[european officials]]></category>
		<category><![CDATA[european union]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[genre]]></category>
		<category><![CDATA[hell]]></category>
		<category><![CDATA[internet browser]]></category>
		<category><![CDATA[internet explorer program]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[monopolist]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[norwegian company]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[preinstalled]]></category>
		<category><![CDATA[product]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[rival products]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[sell]]></category>
		<category><![CDATA[software free]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[stake]]></category>
		<category><![CDATA[standards groups]]></category>
		<category><![CDATA[target]]></category>
		<category><![CDATA[unbundle internet explorer]]></category>
		<category><![CDATA[union officials]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows media player]]></category>
		<category><![CDATA[windows operating system]]></category>

		<guid isPermaLink="false">http://www.p4th3t1c.co.uk/2007-12-13/opera-accuses-microsoft-of-anti-competitive-behaviour/129</guid>
		<description><![CDATA[Microsoft has once more come under fire for allegedly anti-competitive behaviour &#8211; this time from software rival Opera. The Norwegian company, which makes an internet browser of the same name, has filed a complaint with European Union officials accusing Microsoft of stifling competition.Opera, which has around 12 million users worldwide, said today that Microsoft had [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Microsoft has once more come under fire for allegedly anti-competitive behaviour &#8211; this time from software rival Opera. The Norwegian company, which makes an internet browser of the same name, has filed a complaint with European Union officials accusing Microsoft of stifling competition.Opera, which has around 12 million users worldwide, said today that Microsoft had been acting anti-competitively by bundling its Internet Explorer program with the Windows operating system.</p>
<p>&#8220;We are filing this complaint on behalf of all consumers who are tired of having a monopolist make choices for them,&#8221; said Jon von Tetzchner, the chief executive of Opera. &#8220;We cannot rest until we&#8217;ve brought fair and equitable options to consumers worldwide.&#8221;</p>
<p>The company said it was looking for a series of measures from European officials, including forcing Microsoft to unbundle Internet Explorer or allowing rival products to be preinstalled in Windows, and compelling Microsoft to follow design guidelines issued by web standards groups.</p></blockquote>
<p>Source: <a href="http://www.guardian.co.uk/technology/2007/dec/13/microsoft.opera.bundling">Guardian</a></p>
<p>Microsoft is once again most likely going to have legal action simliar to that of the Windows Media Player antitrust suit in which the EU fined Microsoft  €280M.</p>
<p><span id="more-758"></span>Opera is now asking the EU to file and antitrust suit for Internet Explorer.  Computer users with some intelligence tend to use Firefox or Opera over Microsofts Internet Explorer claiming them to be both faster and more secure, and in some ways that is true so you can&#8217;t really complain.</p>
<p>Why is Opera only just bringing up this now?  They have been down in the browser rankings for a long time and are trailing behind Mozilla&#8217;s Firefox as well as Apple&#8217;s Safari.  It is most likely because they have a minature stake in the market but feel that they need more as making their software free didn&#8217;t help at all.</p>
<p>In my opinion Microsoft have every right to put Internet Explorer in with Windows.  Why not?  There is nothing stopping the user from getting another browser from elsewhere.  There isn&#8217;t a message saying to access the Internet you must use Internet Explorer.  Apple bundle Safari with OSX do they not?  Why aren&#8217;t Opera filing an antitrust suit against Apple?  Probably because they will get sod all out of it.  Microsoft is a much better target and the EU seem to love taking money out of Microsoft.  Where they money goes no one really knows for sure.</p>
<p>Back to the case of Windows Media Player, there is nothing making you use Windows Media Player, you can get new media players.  Apple also bundle Quicktime and iTunes with their OS, but no complaints or antitrust suits against them.</p>
<p>If Microsoft released their next OS with no browser and no media player there will be outrage and everyone will acuse Microsoft of slacking and delivering a product which isn&#8217;t fit for purpose, so they really have no way of getting around this.</p>
<p>If they didn&#8217;t include a browser and media player, it will be down to the OEMs to decide which software to put on with all their other shit they like to install.</p>
<p>Why don&#8217;t we see any complaints about messenger programs?</p>
<p>Why aren&#8217;t Adobe coming out complaining about MS Paint being included with Windows?  Or some maths software company about the built in Calculator.</p>
<p>Hell, Apple don&#8217;t even allow OEMs to build or sell their computers.  That in my eyes is monopolisation.</p>
<p>When you install Firefox or Opera does Windows tell you not to install it and that Internet Explorer is the only way on to the Internet? No.</p>
<p>So to the people at Opera shut up and carry on making your browser better so that the general public may give a shit about what you are making and pay you some attention.  Then change your name so it isn&#8217;t the same as a genre of music and sound the same as some daft overpaid women on US television.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamestombs.co.uk/2007-12-13/opera-accuses-microsoft-of-anti-competitive-behaviour/758/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
