<?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/"
	>

<channel>
	<title>XDnet.co.uk</title>
	<atom:link href="http://xdnet.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://xdnet.co.uk/blog</link>
	<description>Honest, Reliable Webhosting</description>
	<pubDate>Mon, 29 Dec 2008 15:02:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introducing Slice Hosting</title>
		<link>http://xdnet.co.uk/blog/2008/12/29/introducing-slice-hosting/</link>
		<comments>http://xdnet.co.uk/blog/2008/12/29/introducing-slice-hosting/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 15:02:36 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Hosting]]></category>

		<category><![CDATA[XDnet News]]></category>

		<category><![CDATA[forums]]></category>

		<category><![CDATA[new product]]></category>

		<category><![CDATA[semi-dedicated]]></category>

		<category><![CDATA[slice]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=313</guid>
		<description><![CDATA[XDnet has now introduced Slice Hosting, slice hosting is different to most, as with our slice servers you buy chunks of a server. Specifically aimed at high end websites such as forums, slice hosting has less sites per server (max 30) meaning each slice has more resources avalible.
For more information check out the Slice Hosting [...]]]></description>
			<content:encoded><![CDATA[<p>XDnet has now introduced Slice Hosting, slice hosting is different to most, as with our slice servers you buy chunks of a server. Specifically aimed at high end websites such as forums, slice hosting has less sites per server (max 30) meaning each slice has more resources avalible.</p>
<p>For more information check out the <a title="Slice Hosting from XDnet " href="http://xdnet.co.uk/slice-hosting.php" target="_blank">Slice Hosting </a>page or contact <a href="mailto:Sales@xdnet.co.uk">Sales@xdnet.co.uk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/12/29/introducing-slice-hosting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>80% off hosting! Christmas Treat</title>
		<link>http://xdnet.co.uk/blog/2008/12/20/80-off-hosting-christmas-treat/</link>
		<comments>http://xdnet.co.uk/blog/2008/12/20/80-off-hosting-christmas-treat/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 14:26:31 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Promotions]]></category>

		<category><![CDATA[80% off]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=307</guid>
		<description><![CDATA[That&#8217;s right, we are feeling rather generous this Christmas, if you sign up for a hosting account before 31st December 2008 you can get a HUGE 80% off for the first month!
This can be applied to ANY email hosting, ANY shared hosting account and ANY reseller account!
Promo code: xmastreat
Terms:
Any one can take advantage of this [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s right, we are feeling rather generous this Christmas, if you sign up for a hosting account before 31st December 2008 you can get a <strong>HUGE 80% off</strong> for the first month!</p>
<p>This can be applied to ANY email hosting, ANY shared hosting account and ANY reseller account!</p>
<h1><span style="color: #000000;">Promo code: xmastreat</span></h1>
<p>Terms:</p>
<p>Any one can take advantage of this promotion, new and existing clients.</p>
<p>This promotion ends 31st decemeber 2008 - so sign up now!</p>
<p>This is only applicable to NEW purchases.</p>
<p>Clients are free to downgrade their account after the promotional pricing has ended in accordance with the <a title="XDnet :: Terms of Service" href="http://xdnet.co.uk/terms.php" target="_blank">Terms of Service</a> </p>
<h2>FREE 10GB backup with unlimited bandwidth for UK VPS!</h2>
<p>As a special treat sign up for a UK VPS and you can get 10GB off-site backup space with unlimited bandwidth, saving £6/month!</p>
<p>For further details or questions please contact us: <a href="mailto:Sales@xdnet.co.uk">Sales@xdnet.co.uk</a> </p>
<h2><em><span style="color: #008000;">Merry Christmas from XDnet.co.uk!</span></em></h2>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/12/20/80-off-hosting-christmas-treat/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Client System Upgrade</title>
		<link>http://xdnet.co.uk/blog/2008/12/20/client-system-upgrade/</link>
		<comments>http://xdnet.co.uk/blog/2008/12/20/client-system-upgrade/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 14:05:51 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[XDnet News]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=304</guid>
		<description><![CDATA[We would like to inform everyone we have upgraded the client/billing system so it will include a few more features which will hopefully make things just a little bit easier for both XDnet and our clients!
Features include:
Support ticket rating, so you can now tell us how helpful our responses are which helps us to provide [...]]]></description>
			<content:encoded><![CDATA[<p>We would like to inform everyone we have upgraded the client/billing system so it will include a few more features which will hopefully make things just a little bit easier for both XDnet and our clients!</p>
<h2>Features include:</h2>
<p><strong>Support ticket rating,</strong> so you can now tell us how helpful our responses are which helps us to provide a better service, and hopefully ensure we are providing the very best support possible.</p>
<p><strong>SEO Friendly URLS!</strong> we have finally got SEO friendly URLs on the Knowledgebase and other parts of the Client system, which is not only good for Search Engines, but hopefull makes it easier to know what a link is about just from the URL.  Also apologies to any users (i know there was a few!) who caught us in the middle of the upgrade or before the client area templates could be corrected, as some of the links for the knowledge base was a little messed up because of the friendly URL changes, but that has now been corrected and hopefully there should be no further issues.</p>
<p><strong>Ticket Search,</strong> which will enable you to easily search through previous tickets.</p>
<p><strong>Network Issues, </strong>If and when network issues occur or are planned they will be shown on the network issues page in your client area (we are currently revising our client area and for users where this does not show, it will be there soon! - we are working to get the client area to fully reflect the new features and changes).</p>
<p>Feedback on changes, or feedback about things you would like to see on the site is much apprieciated - leave a comment below or pop us an email to support@xdnet.co.uk.</p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/12/20/client-system-upgrade/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SQL Injections - Quick and Easy ways to protect yourself with PHP</title>
		<link>http://xdnet.co.uk/blog/2008/11/23/sql-injections-quick-and-easy-ways-to-protect-yourself-with-php/</link>
		<comments>http://xdnet.co.uk/blog/2008/11/23/sql-injections-quick-and-easy-ways-to-protect-yourself-with-php/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 14:10:16 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Code Snippets]]></category>

		<category><![CDATA[Top Tips]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[injection]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=292</guid>
		<description><![CDATA[MySQL is a lovely way to store data, however as soon as we let users adjust the queries we use it can go pear shaped. Here are some really easy ways to protect yourself from those evil users.
Check Everything!
Seriously, never trust user input. They may not intend to do a SQL inject, but they could [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL is a lovely way to store data, however as soon as we let users adjust the queries we use it can go pear shaped. Here are some really easy ways to protect yourself from those evil users.</p>
<p><strong>Check Everything!</strong></p>
<p>Seriously, <span style="text-decoration: underline;">never</span> trust user input. They may not intend to do a SQL inject, but they could still end up doing it anyway. Any data coming from an uncontrolled source should be checked. In the below example I am going to use the <a href="http://uk2.php.net/manual/en/control-structures.if.php">if()</a> function:</p>
<p><code>&lt;?php<br />
</code><code>if(!is_numeric($_GET['ID'])){ // If it&#8217;s not a number<br />
echo &#8216;Sorry you ID is not a number.&#8217;;</code><code> die();<br />
}<br />
// Do the SQL here.<br />
?&gt; </code></p>
<p><strong>Hash/Encrypt It</strong></p>
<p>Hashing or encrypting something is essentially changing a string of data into something more manageable. In the below example, I&#8217;ll use <a href="http://uk2.php.net/manual/en/function.md5.php">MD5</a> as my hashing method. This should remove any dangerous characters which could lead to a SQL error.</p>
<p><code>&lt;?php<br />
$password = md5($_POST['password']); // run a MD5 on the password<br />
// If the password was 1234, it will now be 81dc9bdb52d04dc20036dbd8313ed055</code></p>
<p>// do the SQL Query<br />
?&gt;</p>
<p>Of course there are other functions to hash or encrypt something. Take a look at the <a href="http://uk2.php.net/manual/en/index.php">PHP manual</a> for more of them.</p>
<p><strong>Serialize</strong><br />
<a href="http://uk2.php.net/manual/en/function.serialize.php">Serializing</a> a string creates a storable representation of a value, personally this is my favorite way of putting some data into SQL because it can store arrays (So when I select the field, I get a big array of data). Here is a very quick example on how to do it.</p>
<p><code>&lt;?php<br />
$data = serialize($_POST['data']);<br />
// do the SQL Query<br />
?&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/11/23/sql-injections-quick-and-easy-ways-to-protect-yourself-with-php/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Stuff</title>
		<link>http://xdnet.co.uk/blog/2008/11/17/new-stuff/</link>
		<comments>http://xdnet.co.uk/blog/2008/11/17/new-stuff/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 00:37:17 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[XDnet News]]></category>

		<category><![CDATA[resellers]]></category>

		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=289</guid>
		<description><![CDATA[Well we have now got all the new bits and bobs on the site and we are eger to get feedback and see what you think, so please feel free to leave a comment or send us an email.
What&#8217;s new?
We have doubledour money back guarantee to 28 days!
Launched our reseller packages, which all include a [...]]]></description>
			<content:encoded><![CDATA[<p>Well we have now got all the new bits and bobs on the site and we are eger to get feedback and see what you think, so please feel free to leave a comment or send us an email.</p>
<h2>What&#8217;s new?</h2>
<p>We have <strong>doubled</strong>our money back guarantee to 28 days!</p>
<p>Launched our <strong>reseller packages</strong>, which all include a <strong>free domain</strong> and as a special launch promotion sign up now using promo code <strong>50offreseller3month</strong> to get half price reseller hosting for the first three months!</p>
<p>Business plan has been upgraded bandwidth from 15GB to a whopping 25GB!</p>
<p>Advanced plan has been upgraded disk space has been upgraded from 800MB to 1GB and bandwidth has jumped from 8GB to 10GB.</p>
<p>We will also be launching a perks program (details coming soon), which will reward our clients who among other things make payments on time. We will are interested to see how this goes and would like to see what kind of effect it has on our current client base.</p>
<p>And of course we have been tweaking the site design, and had added more information about XDnet and the products we provide, we now have detailed information about our <a title="XDnet Datacenters" href="http://xdnet.co.uk/datacenters.php" target="_blank">US and UK datacenter</a> so you can see where your websites live, we have also added new UK dedicated servers.</p>
<p>We have also been able to reduce all UK VPS prices as well as a few others.</p>
<p>Regrettably we have had to slightly increase the price of some of our US products due to the current exchange rate which means, because we work close to cost prices it was unsustainable to provide the products at the previous prices. We intend to keep XDnet as a sustainable web host ensuring stability with your hosting.</p>
<p>We also have a few more tricks up our sleve which we will be implementing soon, so look out and don&#8217;t forget to tell us what you think of changes and we will do our best to make our service as best as it can be fo you.</p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/11/17/new-stuff/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Backup is&#8230; Back up!</title>
		<link>http://xdnet.co.uk/blog/2008/11/10/backup-is-back-up/</link>
		<comments>http://xdnet.co.uk/blog/2008/11/10/backup-is-back-up/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 09:31:15 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[XDnet News]]></category>

		<category><![CDATA[backups]]></category>

		<category><![CDATA[new]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=283</guid>
		<description><![CDATA[We are very pleased to announce that off-site backups is now back in operation!
What this means:
All users can expect their account(s) which includes files, databases, email accounts and everything to be automatically backed up to another server every single day, meaning should something go wrong we can recover your account for you meaning minimal (if any) data loss.
Backups [...]]]></description>
			<content:encoded><![CDATA[<p>We are very pleased to announce that off-site backups is now back in operation!</p>
<p><strong>What this means:</strong></p>
<p>All users can expect their account(s) which includes files, databases, email accounts and everything to be automatically backed up to another server every single day, meaning should something go wrong we can recover your account for you meaning minimal (if any) data loss.</p>
<p>Backups are taken daily, weekly and monthly.</p>
<p>Backups are generally stored for one month and will be deleted periodically to minimise costs.</p>
<p>This also means if for what ever reason you require a backup of your account we can provide it (for a small fee).</p>
<p>Any Questions or Comments please add them below, or contact <a href="mailto:support@xdnet.co.uk">support@xdnet.co.uk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/11/10/backup-is-back-up/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What is RSS and how can I use it?</title>
		<link>http://xdnet.co.uk/blog/2008/11/09/what-is-rss-and-how-can-i-use-it/</link>
		<comments>http://xdnet.co.uk/blog/2008/11/09/what-is-rss-and-how-can-i-use-it/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 11:31:07 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[NEW Technology]]></category>

		<category><![CDATA[Top Tips]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=280</guid>
		<description><![CDATA[RSS (Really Simple Syndication) is used to publish frequently updated content such as blog entries, news headlines or podcasts, XDnet uses the inbuilt RSS feed ]]></description>
			<content:encoded><![CDATA[<h3>Whats RSS?</h3>
<p>RSS (Really Simple Syndication) is used to publish frequently updated content such as blog entries, news headlines or podcasts, XDnet uses the inbuilt RSS feed which wordpress generates - <a href="http://xdnet.co.uk/blog/feed/">http://xdnet.co.uk/blog/feed/</a> so you can subscribe and always stay up-to-date with the going on&#8217;s at XDnet.co.uk</p>
<p>The RSS feed, which is also called a &#8220;web feed,&#8221; or &#8220;channel,&#8221; contains a summary of the blog post or news and a link to the full page with the info and if avalible articles about the event/news. RSS makes it possible for you to keep up with the latest content from your favourite sites in a format which is easier than checking them manually.</p>
<h3>How do I use it?</h3>
<p>RSS content can be read using software called an &#8220;RSS reader&#8221;, &#8220;feed reader&#8221; or an &#8220;aggregator&#8221;. You can subscribe to our feed by entering the feed&#8217;s <a title="XDnet Blog Feed" href="http://xdnet.co.uk/blog/feed">link</a> into the reader or by clicking on the RSS icon (right) or the Orange RSS icon which appears in the top tabs bar. Which ever reader you use it will check our feed, once you have subscribed, regularly for new content, downloading any updates that it finds.</p>
<h3>Using Internet Explorer for feeds</h3>
<p>You can use Internet Explorer 7 to read and manage your RSS feeds and keep you updated.<br />
<a class="external" title="Internet Explorer 7 - RSS Tour" href="http://www.microsoft.com/windows/IE/ie7/tour/rss/">Click to find out how!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/11/09/what-is-rss-and-how-can-i-use-it/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Top tips for getting work done</title>
		<link>http://xdnet.co.uk/blog/2008/11/07/top-tips-for-getting-work-done/</link>
		<comments>http://xdnet.co.uk/blog/2008/11/07/top-tips-for-getting-work-done/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 15:39:59 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Top Tips]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=254</guid>
		<description><![CDATA[Few tips for getting down and getting your work done!]]></description>
			<content:encoded><![CDATA[<p>Here are some quick tips for getting work done <img src='http://xdnet.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul>
<li><em>Make sure you can concentrate,</em> try to get rid of distracting things such a MSN, email and RSS while you work. Interestingly enough, I recently monitored the ratio of work applications to other applications, my results were about 1:5 which was shocking!</li>
<li>This varies from person to person, but <em>music and podcasts can be a distraction.</em> Avoid anything which could need extra attention (such as news programs or music which has lots of lyrics).</li>
<li><em>Avoid taking regular coffee and toilet breaks</em>. It can be difficult to keep your trail of thought if you keep needing to go off and do something.</li>
<li><em>Make sure you have had enough to eat and drink before you work.</em> Like scientists always say &#8220;If you miss breakfast, it&#8217;s hard to concentrate&#8221;. If you really want to go crazy, have some small nibbles near by to keep you full up.</li>
<li><em>Know what your doing! </em>If you are unsure of what you need to do, you could end up just making a pile of crap. So when you start, make notes of what you need to do, so you know what you have done and what is still to be done.</li>
</ul>
<p>I hope this helps ^_^</p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/11/07/top-tips-for-getting-work-done/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fantastico is back!</title>
		<link>http://xdnet.co.uk/blog/2008/10/30/fantastico-is-back/</link>
		<comments>http://xdnet.co.uk/blog/2008/10/30/fantastico-is-back/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 18:17:12 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[XDnet News]]></category>

		<category><![CDATA[fantastico]]></category>

		<category><![CDATA[library]]></category>

		<category><![CDATA[new]]></category>

		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=275</guid>
		<description><![CDATA[XDnet is also working away at some new products and more getting more information on XDnet, and plans to put more emphasise on other products we do, and will be providing. So if you have anything you would like to see, be it a blog post on a specific topic, a knowledge base article which would really help or a product you would like to see XDnet selling]]></description>
			<content:encoded><![CDATA[<p>As you may have noticed we have been missing Fantastico from our shared servers for the past couple of weeks, but its now back!</p>
<p>It took a little longer than expected to sort out licensing and getting it installed, and we are just sorting out some of the settings and files, to try and get all users previous installations fully setup on the new server.</p>
<p>This may take a couple of days but hopefully your current installations will be all safe and sound by the weekend.</p>
<h2>What is Fantastico?</h2>
<p>Fantastico put simply is a script library, a huge selection of great scripts which you can easily install with a click of your mouse and have a blog, forum or almost any type of script running in a couple of minutes.</p>
<p><a href="http://xdnet.co.uk/clients/knowledgebase.php?action=displayarticle&amp;catid=1&amp;id=6">Read more about Fantastico.</a></p>
<p>XDnet is also working away at some new products and more getting more information on XDnet, and plans to put more emphasise on other products we do, and will be providing. So if you have anything you would like to see, be it a blog post on a specific topic, a knowledge base article which would really help or a product you would like to see XDnet selling please feel free to leave a comment, send us an email or open a ticket and we will see if we can satisfy your needs. But don&#8217;t worry, none of the changes will negatively effect current clients - we are also planning some package upgrades and a perks scheme for clients so look out!</p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/10/30/fantastico-is-back/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Embedding your Streams!</title>
		<link>http://xdnet.co.uk/blog/2008/10/15/embedding-your-streams/</link>
		<comments>http://xdnet.co.uk/blog/2008/10/15/embedding-your-streams/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 10:53:48 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Code Snippets]]></category>

		<category><![CDATA[Great Websites]]></category>

		<category><![CDATA[Top Tips]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[embedding]]></category>

		<category><![CDATA[quicktime]]></category>

		<category><![CDATA[stream]]></category>

		<category><![CDATA[wmp]]></category>

		<guid isPermaLink="false">http://xdnet.co.uk/blog/?p=224</guid>
		<description><![CDATA[So you have got your self one of our streaming packages, now how do you make this avalible to users?

Take a look at the basic code and pick up some top tips of an online player too!]]></description>
			<content:encoded><![CDATA[<p><a href="http://xdnet.co.uk/blog/wp-content/uploads/2008/10/1055_player_choice.jpg"></a>So you have got your self one of our <a title="XDnet Streaming SHOUTcast Packages" href="http://xdnet.co.uk/shoutcast.php" target="_blank">streaming packages</a>, now how do you make this avalible to users?</p>
<p>Embedding your stream into a web page, or creating an online player is a very good idea. During this example i will be using one of our clients, Swindon 105.5&#8217;s online player as an example.</p>
<p><a href="http://xdnet.co.uk/blog/wp-content/uploads/2008/10/1055_player_choice1.jpg"><img class="alignright size-full wp-image-244" title="Swindon 105.5 Player Choice" src="http://xdnet.co.uk/blog/wp-content/uploads/2008/10/1055_player_choice1.jpg" alt="" width="286" height="187" /></a>So firstly, its always good to give your users choice as to the player, and there for the plug-in they use to listen to your stream. It is important to remember that just because you prefer using Windows Media Player for example that everyone will have that plug-in installed for their chosen browser, there are many players so give them a choice, on Swindon 105.5&#8217;s online player when you first open the player you are given the choice of Windows Media Player or Quick-Time this option is then saved in a cookie. Which then makes further user experience much better, as repeat users (which for online radio and broadcasting in general is important) can just click and listen to your station, how they want to.</p>
<p>Now we get to the actual player, but of course with the web we can be much more interactive with the user, and you as a webmaster, and/or a radio station can provide information about what they are listening to, who&#8217;s on air and whats next.</p>
<p><a href="http://xdnet.co.uk/blog/wp-content/uploads/2008/10/1055_player_wmp.jpg"><img class="alignright size-full wp-image-245" title="1055_player_wmp" src="http://xdnet.co.uk/blog/wp-content/uploads/2008/10/1055_player_wmp.jpg" alt="" width="367" height="248" /></a></p>
<p>As you can see on the right this is the player window, and this webmaster as kept things simple, as they should be. However some radio stations have their players clogged up with all sorts of rubbish and unrelated information where as this is clean, and to the point.</p>
<p>We have an easy switch player link in the corner to change your player preference, there-fore giving the user more choice.</p>
<p>Also we have information about the current program on air, &#8220;The Big Weekender&#8221;, we can see the show title and the presenters, which helps listeners to know who and what they listen to and form a stronger bond with the presenters and your station.</p>
<p>Quick Plug: You have taken a little look at <a title="Swindon 105.5" href="http://swindon1055.com" target="_blank">Swindon 105.5&#8217;s</a> online player so take a look at their site and have a listen!</p>
<h2>The code:</h2>
<p>So far i have briefly looking at what a good player might include, so design aside we will look at the code you need to embed a player into your web-page for them to listen.</p>
<p>So lets take a look:</p>
<blockquote><p>&lt;object id=&#8221;MediaPlayer&#8221; height=&#8221;45&#8243; classid=&#8221;CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95&#8243; standby=&#8221;Loading&#8230;&#8221; type=&#8221;application/x-oleobject&#8221; codebase=&#8221;<a href="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112</a>&#8220;&gt;<br />
&lt;param name=&#8221;filename&#8221; value=&#8221;listen.m3u&#8221;&gt;<br />
&lt;param name=&#8221;showcontrols&#8221; value=&#8221;true&#8221;&gt;<br />
&lt;param name=&#8221;autostart&#8221; value=&#8221;true&#8221;&gt;<br />
&lt;embed type=&#8221;application/x-mplayer2&#8243; src=&#8221;listen.m3u&#8221; name=&#8221;MediaPlayer&#8221; height=&#8221;45&#8243; width=&#8221;300&#8243; showcontrols=&#8221;1&#8243; showdisplay=&#8221;0&#8243; showstatusbar=&#8221;0&#8243;&gt;&lt;/embed&gt;&lt;/object&gt;</p></blockquote>
<p> The above code will embed a Windows Media Player into your webpage, so lets break this down and little and look at the parts which make it up and control how it behaves.</p>
<h3>Breaking it down.</h3>
<p>So you may have noticed that much of the code seems to do the same job, we have the &lt;object&gt; tag and then we have the &lt;embed&gt; tag within that which seems to duplicate some of the variables. This is because FireFox and Internet Explorer can have problems understanding the code, Internet Explorer likes having the &lt;object&gt; tag where as FireFox (and other browsers) are happy with &lt;embed&gt; for this reason we include both.</p>
<p><strong>codebase:</strong></p>
<p>Codebase which is a attribute in object provides a URL where the exe or plugin can be downloaded, so if a user does not have Windows Media Player installed this can help them find and install the required plugin.</p>
<p>This is not a required attribute and can be left out if desired.</p>
<p><strong>filename:</strong></p>
<p>This is the location of the file (or stream) you wish to play. You can use the direct source of your stream, which will be something like myradio.com:8000, however many users may wish to use playlist files instead, we will explain more about these and how you can use and build these later.</p>
<p><strong>autostart:</strong></p>
<p>This dictates if the stream/file should automatically play on loading or if the user should click play first.</p>
<p>Generally sounds should not be automatically played on websites as it can be offensive and annouying to users, however because in this context we know the user wants to listen to your stream (after all they have opened your player) it would be advised to set auto start to true.</p>
<p><strong>showcontrols:</strong></p>
<p>This option controls if the controls, the buttons like volume, play, stop etc should be shown to the user.</p>
<p>However note that in most modern browser this (along with many other attriubutes) may be ignored and not take effect.</p>
<p>As i mentioned because of browser differences it is important to try and make the code understandable to all browsers.</p>
<p>Attributes should be included in different ways, within &lt;param&gt; tags:</p>
<blockquote><p>&lt;param name=&#8221;autostart&#8221; value=&#8221;true&#8221; /&gt;</p></blockquote>
<p>And also within the &lt;embed&gt; tag itself:</p>
<blockquote><p>&lt;embed type=&#8221;application/x-mplayer2&#8243; src=&#8221;listen.m3u&#8221; autostart=&#8221;1&#8243;&gt;&lt;/embed&gt;</p></blockquote>
<h3>Quick-Time:</h3>
<p>The code for a quick-time player is almost identical to Windows Media Player with small differences most of the parameters/attributes are the same, however obviously there is a difference codebase:</p>
<blockquote><p>CODEBASE=&#8221;<a href="http://www.apple.com/qtactivex/qtplugin.cab">http://www.apple.com/qtactivex/qtplugin.cab</a>&#8220;</p></blockquote>
<p>You should now be equip with the basic code you need to get your stream on you website or online player, we can go into further detail, but that&#8217;s another article.</p>
<p>And of course, we are always happy to help with programming and code writing for our customers, just get in contact for more information.</p>
<p>Please leave comments or questions below.</p>
]]></content:encoded>
			<wfw:commentRss>http://xdnet.co.uk/blog/2008/10/15/embedding-your-streams/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
