<?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>svebee (English) &#187; Internet</title>
	<atom:link href="http://en.svebee.com/category/internet/feed" rel="self" type="application/rss+xml" />
	<link>http://en.svebee.com</link>
	<description>Something about everything...</description>
	<lastBuildDate>Tue, 02 Jun 2009 14:05:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to download videos from YouTube?</title>
		<link>http://en.svebee.com/72/how-to-download-videos-from-youtube</link>
		<comments>http://en.svebee.com/72/how-to-download-videos-from-youtube#comments</comments>
		<pubDate>Tue, 02 Jun 2009 14:05:00 +0000</pubDate>
		<dc:creator>svebee</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[download videos youtube]]></category>
		<category><![CDATA[download youtube]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://en.svebee.com/?p=72</guid>
		<description><![CDATA[Probably, there is very small percentage of people who are using the Internet, but have never heard/used the video service in Google ownership – YouTube. Firstly, on YouTube you could find  video clips (music spots and similar) of all different &#8220;qualities“ and resolutions. Last year, in November YouTube has allowed uploading of 720p video [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 5px" src="http://www.svebee.com/images/kako_skinuti_video_youtube/youtube_logo.jpg" alt="Kako skinuti video sa YouTube-a?" align="left" />Probably, there is very small percentage of people who are using the Internet, but have never heard/used the video service in Google ownership – <strong><a href="http://www.youtube.com">YouTube</a></strong>. Firstly, on YouTube you could find  video clips (music spots and similar) of all different &#8220;qualities“ and resolutions. Last year, in November <strong><a href="http://www.youtube.com">YouTube</a></strong> has allowed uploading of <strong>720p</strong> video clips. Videos with lower resolution (which was only supported) you could easily download with <em>Javascipt </em>code in the <strong>Bookmark </strong>folder of your browser (I am using <strong><a href="http://www.mozilla.com/en-US/firefox/">Firefox</a></strong>). With HD video that&#8217;s doesn&#8217;t work anymore, but I have found a matching code for the download of HD video, also.<span id="more-72"></span></p>
<p>Instead, you download video clips (from YouTube) or from other unnamed websites which are usually very slow and not secure, downloading some <em>spyware </em>programs and similar onto your computer. This &#8220;problem“ of downloading videos can easily be solved with Javascript code in your <strong>Bookmarks </strong>folder (checked only with <strong><a href="http://www.mozilla.com/en-US/firefox/">Mozilla Firefox</a></strong>). When you find your favourite video clip, simply click on your Bookmark and after one second you have a <strong>Download link</strong> directly from <strong><a href="http://www.youtube.com">YouTube</a></strong>, and in few seconds you have the video clip downloaded on your own local computer in <em>.mp4</em> format.</p>
<p>How to get it work? Simply right click on <strong>Bookmark toolbar &#8211; New bookmark</strong> or <strong>Bookmarks &#8211; Organize Bookmarks… &#8211; New Bookmark</strong>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/kako_skinuti_video_youtube/original/01.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/kako_skinuti_video_youtube/01_thumb.jpg" alt="Kako skinuti video sa YouTube-a?" /></a><a href="http://www.svebee.com/images/kako_skinuti_video_youtube/original/02.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/kako_skinuti_video_youtube/02_thumb.jpg" alt="Kako skinuti video sa YouTube-a?" /></a></p>
<p>Under <strong>Name:</strong> write something like <strong>&#8220;Download YouTube“</strong> (for HD type <strong>&#8220;Download YouTube HD“</strong>). Under <strong>Location: </strong>type in following <em>Javascript </em>code.</p>
<p style="font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black">Regular video</font></a></strong></p>
<p>For regular (&#8221;non-HD“ content), you use it when you want download regular video clips in <strong>non-HD</strong> resolution.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">javascript<span style="color: #339933;">:</span>if<span style="color: #339933;">%</span>20<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'download-youtube-video'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span>null<span style="color: #339933;">%</span>20<span style="color: #339933;">&amp;&amp;%</span>20<span style="color: #339933;">!!</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">location</span>.<span style="color: #660066;">href</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">%</span>20<span style="color: #009900;">&#123;</span>var<span style="color: #339933;">%</span>20yt_mp4_path<span style="color: #339933;">=</span><span style="color: #3366CC;">'http://www.youtube.com/get_video?fmt=18&amp;video_id='</span><span style="color: #339933;">+</span>swfArgs<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'video_id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&amp;t='</span><span style="color: #339933;">+</span>swfArgs<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'t'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;%</span>20var<span style="color: #339933;">%</span>20div_embed<span style="color: #339933;">=</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'watch-embed-div'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>div_embed.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">=</span>div_embed.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&lt;br%20/&gt;%20&lt;span%20id=<span style="color: #000099; font-weight: bold;">\'</span>download-youtube-video<span style="color: #000099; font-weight: bold;">\'</span>&gt;&lt;a%20href=<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">+</span>yt_mp4_path<span style="color: #339933;">+</span><span style="color: #3366CC;">'<span style="color: #000099; font-weight: bold;">\'</span>&gt;Download%20as%20MP4&lt;/a&gt;%20'</span><span style="color: #339933;">+%</span>20<span style="color: #339933;">%</span>20<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Safari'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">!=-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span><span style="color: #3366CC;">'(control-click%20and%20select%20&lt;i&gt;Download%20linked%20file%20as&lt;/i&gt;)'</span><span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'(right-click%20and%20select%20&lt;i&gt;Save%20'</span><span style="color: #339933;">+%</span>20<span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appName</span><span style="color: #339933;">==</span><span style="color: #3366CC;">'Microsoft%20Internet%20Explorer'</span><span style="color: #339933;">?</span><span style="color: #3366CC;">'target'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'link'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">%</span>20<span style="color: #339933;">+</span><span style="color: #3366CC;">'%20as)&lt;/i&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&lt;/span&gt;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p style="text-align: center"><a href="http://www.svebee.com/images/kako_skinuti_video_youtube/original/03.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/kako_skinuti_video_youtube/03_thumb.jpg" alt="Kako skinuti video sa YouTube-a?" /></a></p>
<p style="font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black">HD (High-Definition) video</font></a></strong></p>
<p>For HD (720p) video, you use it when you want download HD video clips from YouTube.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">javascript<span style="color: #339933;">:</span>if<span style="color: #339933;">%</span>20<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'download-youtube-video'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span>null<span style="color: #339933;">%</span>20<span style="color: #339933;">&amp;&amp;%</span>20<span style="color: #339933;">!!</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">location</span>.<span style="color: #660066;">href</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">/</span>http<span style="color: #339933;">:%</span>5C<span style="color: #339933;">/%</span>5C<span style="color: #339933;">/%</span>5Ba<span style="color: #339933;">-</span>zA<span style="color: #339933;">-</span>Z<span style="color: #339933;">%</span>5C.<span style="color: #339933;">%</span>5D<span style="color: #339933;">*</span>youtube<span style="color: #339933;">%</span>5C.<span style="color: #660066;">com</span><span style="color: #339933;">%</span>5C<span style="color: #339933;">/</span>watch<span style="color: #339933;">/</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">%</span>20<span style="color: #339933;">%</span>7Bvar<span style="color: #339933;">%</span>20yt_mp4_path<span style="color: #339933;">=</span><span style="color: #3366CC;">'http://www.youtube.com/get_video?fmt=22&amp;video_id='</span><span style="color: #339933;">+</span>swfArgs<span style="color: #339933;">%</span>5B<span style="color: #3366CC;">'video_id'</span><span style="color: #339933;">%</span>5D<span style="color: #339933;">+</span><span style="color: #3366CC;">'&amp;t='</span><span style="color: #339933;">+</span>swfArgs<span style="color: #339933;">%</span>5B<span style="color: #3366CC;">'t'</span><span style="color: #339933;">%</span>5D<span style="color: #339933;">;%</span>20var<span style="color: #339933;">%</span>20div_embed<span style="color: #339933;">=</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'watch-embed-div'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>div_embed.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">=</span>div_embed.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'%3Cbr%20/%3E%20%3Cspan%20id=%5C'</span>download<span style="color: #339933;">-</span>youtube<span style="color: #339933;">-</span>video<span style="color: #339933;">%</span>5C<span style="color: #3366CC;">'%3E%3Ca%20href=%5C'</span><span style="color: #3366CC;">'+yt_mp4_path+'</span><span style="color: #339933;">%</span>5C<span style="color: #3366CC;">'%3EDownload%20as%20720p%20HD%20MP4%3C/a%3E%20'</span><span style="color: #339933;">+%</span>20<span style="color: #339933;">%</span>20<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Safari'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">!=-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span><span style="color: #3366CC;">'(control-click%20and%20select%20%3Ci%3EDownload%20linked%20file%20as%3C/i%3E)'</span><span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'(right-click%20and%20select%20%3Ci%3ESave%20'</span><span style="color: #339933;">+%</span>20<span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appName</span><span style="color: #339933;">==</span><span style="color: #3366CC;">'Microsoft%20Internet%20Explorer'</span><span style="color: #339933;">?</span><span style="color: #3366CC;">'target'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'link'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">%</span>20<span style="color: #339933;">+</span><span style="color: #3366CC;">'%20as)%3C/i%3E'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'%3C/span%3E'</span><span style="color: #339933;">;%</span>7Dvoid<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p style="text-align: center"><a href="http://www.svebee.com/images/kako_skinuti_video_youtube/original/04.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/kako_skinuti_video_youtube/04_thumb.jpg" alt="Kako skinuti video sa YouTube-a?" /></a></p>
<p>All you now need do is choose your favourite video clip on YouTube portal and click on adequate Bookmark (for regular or HD video). If it&#8217;s normal/regular/non-HD video it looks like this (after click on preliminary created <em>Bookmark</em>):</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/kako_skinuti_video_youtube/original/05.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/kako_skinuti_video_youtube/05_thumb.jpg" alt="Kako skinuti video sa YouTube-a?" /></a></p>
<p>And if it&#8217;s HD video it looks like this one&#8230;</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/kako_skinuti_video_youtube/original/06.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/kako_skinuti_video_youtube/06_thumb.jpg" alt="Kako skinuti video sa YouTube-a?" /></a></p>
<p>You need to right click on the newly created link and choose <strong>Save Links As&#8230;</strong>. Then you need to type in name of your file/video clip and inevitably put the extension at the end <strong>&#8220;.mp4“</strong> (of course, without the quotation marks). Also, under <strong>Save as Type</strong> choose <strong>All Files</strong>. Click on Save and your video will be shortly downloaded.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/kako_skinuti_video_youtube/original/07.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/kako_skinuti_video_youtube/07_thumb.jpg" alt="Kako skinuti video sa YouTube-a?" /></a></p>
<p>On your computer, you can run it with some of players – <strong><a href="http://www.videolan.org/vlc/">VLC Player</a></strong>, <strong><a href="http://sourceforge.net/projects/guliverkli/">Media Player Classic (MPC)</a></strong> and similar. If you want convert it to some other format, install a program like <strong><a href="http://www.xilisoft.com/video-converter.html">Xilisoft Video Converter</a></strong> <em>(Standard/Platinum/Pro)</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://en.svebee.com/72/how-to-download-videos-from-youtube/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syntax Highlighter/Code Snippet/Plugin</title>
		<link>http://en.svebee.com/52/syntax-highlightercode-snippetplugin</link>
		<comments>http://en.svebee.com/52/syntax-highlightercode-snippetplugin#comments</comments>
		<pubDate>Sun, 03 May 2009 14:56:23 +0000</pubDate>
		<dc:creator>svebee</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Syntax Highlighter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://en.svebee.com/?p=52</guid>
		<description><![CDATA[
&#60;?php echo &#34;Syntax Highlighter&#34; . &#34;/Code Snippet/Plugin&#34;; ?&#62; &#60;br /&#62;

The one thing that I really needed was for easier editing and writing of my posts and putting source code onto my web-page/blog for viewing only, i.e. the code mustn&#8217;t be rendered (translated). Wordpress has one built-in, but it&#8217;s a little poor, something is translated, something [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Syntax Highlighter&quot;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/Code Snippet/Plugin&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &lt;br /&gt;</pre></div></div>

<p>The one thing that I really needed was for easier editing and writing of my posts and putting <strong>source code </strong>onto my web-page/blog for viewing only, i.e. the code mustn&#8217;t be <strong>rendered </strong>(translated). Wordpress has one built-in, but it&#8217;s a little poor, something is translated, something isn&#8217;t and similar. I was looking for some add-on/plugin which would have the capability to highlight/color some parts of code, i.e. code can be easy readable without any <strong>&#8220;translation“</strong> (for example <em>&lt;br&gt;</em> tag musn&#8217;t be rendered as a new line). I have found one interesting add-on called <strong><a href="http://ideathinking.com/blog-v2/?p=13">CodeHighlighter</a></strong> and from the beginning it seems quite good (also, it has the advantageous possibility to put line numbers at the left side of the code). But, when PHP code came up which contained HTML code (especially <em>&lt;br&gt;</em> tag) – it wasn&#8217;t translated properly, so the code which I didn&#8217;t wish to show wasn&#8217;t right, because the <em>&lt;br&gt;</em> tag wasn&#8217;t there. I tried to configure some files, add <em>&lt;br&gt;</em> tag in <em>Visual </em>layout, but all without any success – stupidly, he has translate it anyway.<span id="more-52"></span></p>
<p>Then, I was (again) looking for another plugin and found what I needed, simply named <strong><a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a></strong>. It can <font color=orange>highlight/colour code</font>, add <strong>lines </strong>at left side (from any number) and you can choose the <strong>code language</strong> (<strong><a href="http://qbnz.com/highlighter/">full list</a></strong> of supported languages) when you add it. Here is how you add some source code to a post:</p>
<p style="text-align: center"><img style="margin: 5px" src="/images/syntax_highlighter_en.jpg" alt="Syntax Highlighter/Code Snippet/Plugin" /></a></p>
<p>The plugin which I wasn&#8217;t so enthusiastic about earlier (<strong><a href="http://ideathinking.com/blog-v2/?p=13">CodeHighlighter</a></strong>) and also the now mentioned <strong><a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a></strong> are based on <em><a href="http://qbnz.com/highlighter/index.php">GeSHi</a></em> system which, as I have mentioned, support many avaliable languages.</p>
<p>Here are a few examples how it looks in real (codes are from <strong><a href="http://ideathinking.com/blog-v2/?p=13">CodeHighligher</a></strong> web-site).</p>
<p><strong>C++</strong></p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000ff;">class</span> nsScannerBufferList
<span style="color: #008000;">&#123;</span>
<span style="color: #0000ff;">public</span><span style="color: #008080;">:</span>
<span style="color: #ff0000; font-style: italic;">/**
  * Buffer objects are directly followed by a data segment. The start
  * of the data segment is determined by increment the |this| pointer
  * by 1 unit.
  */</span>
<span style="color: #0000ff;">class</span> Buffer <span style="color: #008080;">:</span> <span style="color: #0000ff;">public</span> PRCList
<span style="color: #008000;">&#123;</span>
<span style="color: #0000ff;">public</span><span style="color: #008080;">:</span>
Buffer<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span>
<span style="color: #000040;">++</span>index_<span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p><strong>PHP (with start-line 5)</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$utf8_string</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
<span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ord</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$utf8_string</span><span style="color: #009900;">&#91;</span> <span style="color: #000088;">$i</span> <span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$value</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #cc66cc;">128</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">// ASCII</span>
<span style="color: #000088;">$unicode</span> <span style="color: #339933;">.=</span> <span style="color: #990000;">chr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$values</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$num_octets</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$value</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">224</span> <span style="color: #009900;">&#41;</span> ? <span style="color: #cc66cc;">2</span> <span style="color: #339933;">:</span> <span style="color: #cc66cc;">3</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$values</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$value</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Perl (with start-line 1)</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #b1b100;">my</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$class</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$mail</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$orig</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">@_</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$new_list</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$class</span><span style="color: #339933;">-&gt;</span>_detect<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$orig</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">or</span> <span style="color: #000066;">return</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$new_list</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">add_to_posts</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>mail <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">id</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #b1b100;">unless</span> Email<span style="color: #339933;">::</span><span style="color: #006600;">Store</span><span style="color: #339933;">::</span><span style="color: #006600;">List</span><span style="color: #339933;">::</span><span style="color: #006600;">Post</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">search</span><span style="color: #009900;">&#40;</span> mail <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$mail</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">id</span><span style="color: #339933;">,</span>
        list <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$new_list</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">id</span>
    <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>CSS</strong></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">pre <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0em</span> <span style="color: #933;">0.5em</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Browser specific (not valid) styles to make preformatted text wrap */</span>
<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* css-3 */</span>
<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -moz-pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Mozilla, since 1999 */</span>
<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Opera 4-6 */</span>
<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -o-pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Opera 7 */</span>
word-wrap<span style="color: #00AA00;">:</span> break-word<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Internet Explorer 5.5+ */</span>
#
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.strike</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">line-through</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://en.svebee.com/52/syntax-highlightercode-snippetplugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Own buttons (HTML view &#8211; Wordpress)</title>
		<link>http://en.svebee.com/50/own-buttons-html-view-wordpress</link>
		<comments>http://en.svebee.com/50/own-buttons-html-view-wordpress#comments</comments>
		<pubDate>Sun, 03 May 2009 14:50:15 +0000</pubDate>
		<dc:creator>svebee</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[html view]]></category>
		<category><![CDATA[own buttons]]></category>
		<category><![CDATA[own taggs]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://en.svebee.com/?p=50</guid>
		<description><![CDATA[As I have little &#8220;break-in“ to my web-page/blog, certain posts are really big/long and they require many different, personal (own) tags. This relates, for example, to Titles (which have a dashed line at top and bottom and a bigger font), pictures, lists, font colour and similar. From the beginning of my web-site I have tried [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 5px" src="http://www.svebee.com/images/vlastiti_gumbi_html-pogled_wordpress.jpg" alt="Vlastiti gumbi (HTML pogled - Wordpress)" align="left" />As I have little &#8220;break-in“ to my web-page/blog, certain posts are really big/long and they require many different, personal (own) tags. This relates, for example, to <strong>Titles </strong>(which have a dashed line at top and bottom and a bigger font), <strong>pictures</strong>, <strong>lists</strong>, <strong>font colour</strong> and similar. From the beginning of my web-site I have tried to be precise and pedantic (as befits my general manner, maybe a little excessively :)) and all my posts are written <strong>&#8220;by hand“</strong> in HTM view in Wordpress. What do I mean &#8220;by hand“? For example, if I want to add a picture to my post, I must add the following code and change it&#8217;s picture location, for each and every single picture, particulary.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>p style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text-align: center&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://www.svebee.com/images/phpmysql_2/original/15.jpg&quot;</span><span style="color: #339933;">&gt;&lt;</span>img style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;margin: 5px&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://www.svebee.com/images/phpmysql_2/15_thumb.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;PHP &amp; MySQL vodič - osnove&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>p<span style="color: #339933;">&gt;</span></pre></div></div>

<p>This is one of the Titles in PHP guide.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a name<span style="color: #339933;">=</span>skupovi_znakova_strings<span style="color: #339933;">&gt;&lt;</span>p style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black&quot;</span><span style="color: #339933;">&gt;</span>Skupovi znakova <span style="color: #009900;">&#40;</span>eng<span style="color: #339933;">.</span> strings<span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> <span style="color: #339933;">&lt;</span>strong<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;&lt;</span>font color<span style="color: #339933;">=</span>blue<span style="color: #339933;">&gt;</span>strings<span style="color: #339933;">.</span>php<span style="color: #339933;">&lt;/</span>font<span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>strong<span style="color: #339933;">&gt;&lt;/</span>p<span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></div></div>

<p><span id="more-50"></span></p>
<p>And so on, they are long and they require very much patience and I need them, for the &#8220;unique“ look of my website, to all be in the <strong>same style</strong>, all titles are the <strong>identical</strong>, all commands are <strong>equal</strong>, the <strong>same colour</strong> and so on. If you write in <strong>&#8220;Visual&#8221;</strong> layout, Wordpress will automatically add many codse for nothing. Also, I like to have everything under &#8220;my control“ so I can directly edit every part of my post, font colour or some picture description. The advantage of this is, as I have said, precise control of and <strong>valid web-pages</strong> (with the presumption you know how to write valid HTML/CSS code).</p>
<p>The disadvantage of this way, is that the <strong>time </strong>taken to write every single post is <strong>very long</strong>. As I wanted to speed it up a little bit, I have copied all the more important tags into one <em>.txt</em> document at my Desktop, so I could easily copy/paste it into my posts, and then I just change my Title, picture location/descirption and similar. However, that was also a little too slow because of constant &#8220;jumping“ from one window to another, selecting, copying and so on. I was looking for some solution, so I could add <strong>my own buttons</strong> in HTML view in Wordpress, for example, the Title open/start tag would be:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a name<span style="color: #339933;">=</span>anchor<span style="color: #339933;">&gt;&lt;</span>p style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black&quot;</span><span style="color: #339933;">&gt;</span></pre></div></div>

<p>and end/closed tag would be:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;/</span>p<span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></div></div>

<p>just like this, for example, <strong>bold</strong>, <em>italic </em>tag and similar which are built-into Wordpress. After a little searching (with Google, of course), I have <strong><a href="http://www.projectwebdesign.com/custom-buttons-to-wordpress-post-editor">found it</a></strong>. You need to edit a <em>JavaScript </em>file in <em>wp-includes/js/quicktags.js</em> and copy the 7 lines of code for &#8220;add your own button&#8221;. Since there are already some buttons, it&#8217;s enough to copy them and adapt them for your own needs, they&#8217;ll be automatically added in HTML layout in Wordpress. So we have:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">edButtons<span style="color: #009900;">&#91;</span>edButtons<span style="color: #339933;">.</span>length<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span>
<span style="color: #000000; font-weight: bold;">new</span> edButton<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ed_code'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'code'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'&lt;code&gt;'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'&lt;/code&gt;'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'c'</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>We copy the following part, and paste it underneath and change it to suit your own needs.<br />
<strong>Line 1</strong> and <strong>2</strong>, leave as they are, you can just change extension after &#8220;ed_“ in something meaingful, for example for &#8220;spoiler alert“ I put just &#8220;spoiler“.<br />
<strong>Line 3</strong> is the name of that button – what will write in HTML view in Wordpress on it.<br />
<strong>Line 4</strong> is start tag (open tag).<br />
<strong>Line 5</strong> is end tag (closed tag).<br />
<strong>Line 6</strong> you can adjust for your own convenience, for example, beginning letter of the tag.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">edButtons<span style="color: #009900;">&#91;</span>edButtons<span style="color: #339933;">.</span>length<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span>
<span style="color: #000000; font-weight: bold;">new</span> edButton<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ed_spoiler'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'spoiler'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'[spoiler name=&quot;&quot;]'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'[/spoiler]'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'sp'</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The code, which I put, is my button for insert a <em>&#8220;spoiler alert&#8221;</em> (a spoiler is the content which mustn&#8217;t be seen at first view, for example, the end of some movie/game) in my post, I select my text and press my button named &#8220;spoiler“ and then the tags are automatically added around it (the text).</p>
]]></content:encoded>
			<wfw:commentRss>http://en.svebee.com/50/own-buttons-html-view-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Radio &#8211; ShoutCast</title>
		<link>http://en.svebee.com/46/internet-radio-shoutcast</link>
		<comments>http://en.svebee.com/46/internet-radio-shoutcast#comments</comments>
		<pubDate>Sun, 03 May 2009 14:36:15 +0000</pubDate>
		<dc:creator>svebee</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[internet radio]]></category>
		<category><![CDATA[sam broadcaster]]></category>
		<category><![CDATA[shoutcast]]></category>

		<guid isPermaLink="false">http://en.svebee.com/?p=46</guid>
		<description><![CDATA[
In this tutorial, I&#8217;ll describe how to set-up your own internet radio streaming &#8211; you&#8217;ll send information (songs/voice/whatever&#8230;) from your computer to a server (which you have bought), which will foward the songs further to your radio listeners. Also, I&#8217;ll describe how to make a form on your web-server (web-site) which will show what is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/shoutcast.gif" alt="Internet Radio – ShoutCast – SAM Broadcaster"/></p>
<p>In this tutorial, I&#8217;ll describe how to set-up your <strong>own internet radio streaming</strong> &#8211; you&#8217;ll send information (songs/voice/whatever&#8230;) from your computer to a server (which you have bought), which will foward the songs further to your radio listeners. Also, I&#8217;ll describe how to make a form on your web-server (web-site) which will show what is currently playing, what&#8217;s next, most popular songs, formular for requests (visitor request some song &#8211; and radio <strong>automaticly </strong>plays it) and so on (a playlist).<span id="more-46"></span></p>
<p style="color: red"><strong>WARNING: First do ALL WITHOUT No-IP.com, and when you&#8217;re done and everything is OK, then back to the first steps and do with No-IP.com static Host.</strong></p>
<p style="font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black"> Neccessary:</p>
<li>Paypal account (for server paying)</li>
<li>SAM Broadcaster v4.2.2</li>
<li>Web-server (classic with support for PHP and MySQL databases); access to Cpanel</li>
</ul>
<p style="font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black"> Rent/buy a ShoutCast server/hosting</p>
<p>First of all, you need to buy a ShoutCast server which will &#8220;serve customers&#8221; (because for most of people, the normal upload speed at home is only enough for about 3-5 people simultaneuosly). I have tried a very good and cheap one (if you order by yourself without <strong><a href="http://en.svebee.com/contact">contacting me</a></strong>, you&#8217;ll pay a few times more) for hosting (no bandwidth limit), so if you&#8217;re interested &#8211; <a href="http://en.svebee.com/contact"><strong>contact me</strong></a>. I have written this tutorial based upon that host, so some of pictures are connected with it.</p>
<p>When you have contacted me, I will refer you to a good &#038; cheap hosting site and when you  have paid them, they will give you information for the server in the following form:</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/01.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/01_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Go on <strong><a href="http://www.streampanel.biz/">www.streampanel.biz</a></strong> and log in.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/02.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/02_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Click on <em>Server Management – Manage</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/03.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/03_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Change <em>Admin Password</em> and <em>Password</em>. Also write down <em>Port Base</em>. At the bottom write down <em>Public name</em> – name of your Radio Station. After you fill them all &#8211; click on <strong>Update</strong>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/04.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/04_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>After that click on <strong>Start </strong>- server will start up.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/05.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/05_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/06.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/06_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p style="font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black">MySQL database</p>
<p>After you bought your ShoutCast server, the first thing you must to do for your &#8220;radio programme&#8221; is to allow connections to (MySQL) database on your website. Because, in our case, the database is neccessary for the correct working of the SAM Broadcaster &#8211; with it we list our songs on website, send <em>requests </em>and similar. So, go to the Cpanel on your website &#8211; mostly it&#8217;s <em>www.yourwebsite.com/cpanel</em>.</p>
<p>Log in and then click under category <strong>&#8220;Databases&#8221;</strong> on <strong>&#8220;Remote MySQL&#8221;</strong>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/07.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/07_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>In the given box, you must type in the <strong>IP address</strong> which will connect to the database on your website (it must be YOUR IP address). If you want, you can type in your current IP address (find it on <strong><a href="http://www.whatismyip.com/">www.whatismyip.com</a></strong>) but I don&#8217;t recommend that because if your radio station will be online more than 24 hours &#8211; your (mostly dynamic) IP address will <strong>change</strong>. There are offers for static IP addresses, but for us that&#8217;s too expensive. There is a solution for this problem. Go to <strong><a href="http://www.no-ip.com/">www.no-ip.com</a></strong>, create your account and log in. In your member area click on <strong>&#8220;Add Host&#8221;</strong>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/08.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/08_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>At <strong>Hostname:</strong> type in your future (static) &#8220;IP address&#8221;, that address will &#8220;act&#8221; as your real IP address. There are many names reserved, so be creative. On the right-hand side you can choose the &#8220;form&#8221; of your address &#8211; pick what you like. At <strong>&#8220;Host Type:&#8221;</strong> leave it as it is (<em>DNS Host (A)</em>). At IP Address ,probably it will automaticly write your current IP address. If not, type it yourself (you can find it at the right upper corner). <strong>&#8220;Assign to Group:&#8221;</strong> leave as it is. Click on <strong>&#8220;Create Host</strong>&#8220;.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/09.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/09_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Address will be created.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/10.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/10_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Next step, you must download a little piece of software which will be installed on your computer and which will contact the server when your (dynamic) IP address is changed &#8211; so it will be (again) &#8211; <em>mojradio.no-ip.info</em> (in our case). Program can be download at the following <strong><a href="http://www.download.com/No-IP-DUC-Dynamic-DNS-Update-Client-/3000-2165_4-10055182.html?tag=lst-1">address</a></strong>. Install it and run. Log in with your account (on No-IP.com) and your address will be automaticly added  &#8211; <em>mojradio.no-ip.info</em>. All you need  do is click on it so the smiley will be &#8220;shy&#8221; (red cheeks).</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/11.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/11_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>After that just leave it in <em>Tray</em>.</p>
<p>After you have created your static IP address (Host), you must type in the estimated field in your Cpanel &#8211; under <strong>Remote MySQL</strong> type it in and click on <strong>Add</strong>. Address is added.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/12.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/12_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p><strong>WARNING: </strong>Temporarily allow access to your dynamic (real) IP address (example: 42.131.43.234) &#8211; after you run program (SAM Broadcaster) you can remove it. If you turn off the program, in the meantime your IP address change, so you won&#8217;t be able to run it (database error), so then you must have you real IP address allowed in Cpanel.</p>
<p>After that, make the database for your &#8220;radio station&#8221;.  Go on Cpanel and click on <strong>MySQL Databases</strong>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/13.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/13_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Create new database (whatever name; in our case it will be <strong>tzruscom_mojradio</strong>) and assign it user with <strong>ALL PRIVILEGES</strong> &#8211; in our case that will be <em>tzruscom_testna</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/14.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/14_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Your database created.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/15.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/15_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p style="font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black">SAM Broadcaster (v4.2.2)</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/16.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/16_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Now we move on &#8220;main&#8221; part &#8211; installation of SAM Broadcaster programme. Open up installation file (<em>sambc-up.exe</em>) and installation will begin.</p>
<p>Click on <em>Yes</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/17.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/17_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Click on <em>Next</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/18.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/18_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Click on <em>Accept</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/19.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/19_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Click on <em>Next</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/20.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/20_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Choose<strong> MySQL</strong> and click on <em>Next</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/21.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/21_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Choose <strong>Specify custom settings</strong> and <strong>Remote serve</strong>r. At <strong>username </strong>type in user name of database (in your Cpanel) &#8211; in our case that&#8217;s <strong>tzruscom_testna</strong>. At <strong>password </strong>type in password of that user, and at <strong>Database type</strong> in name of database which will be for your radio station (<strong>tzruscom_mojradio</strong>). At Host type in domain of your website (<strong>without WWW!</strong>). Leave the Port setting as it is (<em>3306</em>).</p>
<p>Click on <em>Next</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/22.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/22_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>The program should be successfully installed (if some error occurs, if something you did went wrong &#8211; allow access to database, check for wrong typing of username/password and similar) and it will generate tables in database.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/23.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/23_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>After that type in serial key for program activation:</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/24.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/24_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Run program (all people with version &#8220;from net&#8221; must deselect all, put &#8220;update&#8221; and then they can run program).</p>
<p>Program should load up and pop-up windows for importing songs (Media Library) and <strong>SoundFX </strong>module. Both, leave as they are (selected) and click <em>&#8216;Continue&#8217;</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/25.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/25_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Now, you should wait for a little while (for communication with the server), and after that you can choose a directory (some) of your songs &#8211; choose and click on<em> OK</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/26.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/26_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p><strong>SAM Broadcaster</strong> will import the songs (if you have many songs, I reccomend importing in pieces because if you import one huge directory of music, the program can freeze), wait till it has finished importing (<strong>Q:</strong> Why is it so slow??<strong> A:</strong> Because there is neccesary communication between your (home) computer and server, and (probably) your speeds (upload speed) are a little slow (~512kbps)&#8230;</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/27.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/27_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>and there is first screen of your program.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/28.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/28_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>At left side there is a list of your imported songs &#8211; under <strong>Playlist &#8220;Tracks&#8221;</strong>. At <strong>Queue </strong>there is list of songs that are ready to be played on the radio, <strong>History </strong>- history of your played songs and <strong>Voice FX</strong> &#8211; microphone settings (you can turn on microphone and press <strong>Press to Talk</strong> and speak <strong>LIVE </strong>at your Internet radio).</p>
<p>Click on <strong>Desktop B</strong> and click on <strong>+</strong> (plus) at <strong>Encoders</strong></p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/29.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/29_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Choose <strong>MP3 </strong>(if you need <strong>128kbps</strong> encoding) or mp3PRO for 64kbps or lower. We will use <strong>128kbps</strong> (as our ShoutCast server which we bought &#8211; allows it) and click on <em>OK</em>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/30.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/30_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>At Format choose <strong>128kb/s, 44,1kHz, Stereo</strong>.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/31.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/31_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Click on <strong>Server Details</strong> and at <strong>Server Type</strong> select (if it isn&#8217;t already) &#8211; <strong>ShoutCast</strong>. At <strong>Server IP</strong> type in IP of your server (you can see it on <em>www.streampanel.biz</em> after you log in) &#8211; in our case <em>208.53.138.125</em>. At <strong>Server Port</strong> type in port which you get (in our case) <em>8757 </em>- you can check it at <strong>Server Managment – Portbase</strong>. At <strong>Password</strong>, type in the password of your server (you can see it/change at <em>Server Management &#8211; Manage</em>). At <strong>Station name</strong> type in the name of your radio station, at <strong>Genre </strong>- type of your music, <strong>Website URL</strong> &#8211; site of radio station and click on <em>OK </em>(if you want you can fill up <em>AIM/ICQ/IRC</em> <em>Channel </em>fields).</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/32.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/32_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>After that click right click on <em>Encoder </em>and click on <strong>Start </strong>(or select and then press F9).</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/33.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/33_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Program should successfully connect and write <em>&#8220;Encoded (time), streamd 0 bytes (time)&#8221;</em>. It&#8217;s time to play some music! Switch on Desktop A and play some song.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/34.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/34_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>If you switch back to <strong>Dekstop B</strong> you&#8217;ll see the size at <strong>Streamed </strong>is raising.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/35.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/35_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Go to the  IP address of your server with internet browser (208.53.138.125:8757) and you should see the name of song, name of radio station, how many listeners you have and similar.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/36.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/36_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>If it&#8217;s all as I mentioned, the thing is fully funcional.</p>
<p style="font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black"> Changing configuration (config)</p>
<p>Now, we must enable that &#8216;current song&#8217; is shown at our web-site (directly from Internet), so visitors can <em>request </em>songs and similar. Go to the following folder <em>&#8220;C:\Program Files\SpacialAudio\SAMBC\samPHPweb“</em> and copy it all (samPHPweb) to some other place (ex. Dekstop). Open up folder and file <strong>config.php</strong> with Wordpad/Notepad.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/37.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/37_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>Change the following lines in file <strong>config.php</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//Station general details</span>
  <span style="color: #000088;">$station</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;My station name&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$email</span>    <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;email@mailbox.com&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$logo</span>     <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;images/logo.gif&quot;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$stationid</span>   <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>           <span style="color: #666666; font-style: italic;">//The ID of your registered station on AudioRealm.com</span>
  <span style="color: #000088;">$sam</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;host&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//The IP address of the machine SAM is running on (DO NOT use a local IP address like 127.0.0.1 or 192.x.x.x)</span>
  <span style="color: #000088;">$sam</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;port&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;1221&quot;</span><span style="color: #339933;">;</span>      <span style="color: #666666; font-style: italic;">//The port SAM handles HTTP requests on. Usually 1221.</span></pre></div></div>

<p>into</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">  <span style="color: #666666; font-style: italic;">//Station general details</span>
  <span style="color: #000088;">$station</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Moj radio&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$email</span>    <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;info@tzrus.com&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$logo</span>     <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;images/logo.gif&quot;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$stationid</span>   <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>           <span style="color: #666666; font-style: italic;">//The ID of your registered station on AudioRealm.com</span>
  <span style="color: #000088;">$sam</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;host&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;mojradio.no-ip.info&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//The IP address of the machine SAM is running on (DO NOT use a local IP address like 127.0.0.1 or 192.x.x.x)</span>
  <span style="color: #000088;">$sam</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;port&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;1221&quot;</span><span style="color: #339933;">;</span>      <span style="color: #666666; font-style: italic;">//The port SAM handles HTTP requests on. Usually 1221.</span></pre></div></div>

<p><strong>Station</strong> – name of your radio station, email – your e-mail address, logo leave as it is (path), <strong>stationid</strong> leave 0, <strong>$sam[„host“]</strong> type in your host / static IP address – in our case that is <strong>mojradio.no-ip.info</strong>. <strong>Port </strong>leave as it is <em>(1221</em>).</p>
<p>After that open up file <strong>dbconfig.xml.php</strong> and change following:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt;?/* </span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;CONFIG</span> <span style="color: #000066;">application</span>=<span style="color: #ff0000;">&quot;SAM&quot;</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;4.2.1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Driver<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>MYSQL<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Driver<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Host<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>localhost <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Host<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Port<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>3306<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Port<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>database<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>username<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Password<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>password<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Password<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/CONFIG<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 */?&gt;</pre></div></div>

<p>into</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt;?/* </span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;CONFIG</span> <span style="color: #000066;">application</span>=<span style="color: #ff0000;">&quot;SAM&quot;</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;4.2.1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Driver<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>MYSQL<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Driver<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Host<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>localhost<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Host<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Port<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>3306<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Port<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>tzruscom_mojradio<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>tzruscom_testna<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Password<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>blabla<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Password<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/CONFIG<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 */?&gt;</pre></div></div>

<p>When you have done that, upload the complete directory to your web-server. If you get the following screen (in Internet browser) everything is OK.</p>
<p style="text-align: center"><a href="http://www.svebee.com/images/internet_radio/original/38.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/internet_radio/38_thumb.jpg" alt="Internet Radio – ShoutCast – SAM Broadcaster" /></a></p>
<p>If you get error <strong>&#8220;MySQL error – couldn&#8217;t connect to database“</strong> one possible problem could be the ports (<em>1221 </em>and <em>3306</em>) which must be &#8220;free&#8221; &#8211; you must <strong>pass them</strong> through your router. An easy way to detect this is download the following script and within it, change these two lines (and ofcourse than upload it to your web-server):</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$hostNameOrIP</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;mojradio.no-ip.info&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$hostPort</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;1221&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>that it will read in the first case, and in the second</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$hostNameOrIP</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot; mojradio.no-ip.info &quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$hostPort</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;3306&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>If both are <strong>PASSED</strong>, then it&#8217;s fine, if it&#8217;s <strong>FAILED</strong>, then you must pass them through your router (tutorials for this can be found here &#8211; <strong><a href="http://portforward.com/">portforward.com</a></strong>).</p>
]]></content:encoded>
			<wfw:commentRss>http://en.svebee.com/46/internet-radio-shoutcast/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Desktop &#8211; TeamViewer</title>
		<link>http://en.svebee.com/12/remote-desktop-teamviewer</link>
		<comments>http://en.svebee.com/12/remote-desktop-teamviewer#comments</comments>
		<pubDate>Wed, 15 Apr 2009 13:58:23 +0000</pubDate>
		<dc:creator>svebee</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[teamviewer]]></category>

		<guid isPermaLink="false">http://en.svebee.com/?p=12</guid>
		<description><![CDATA[Remote Desktop, put simply, is a connection between two computers where one controls the other in a way where one sees the screen of other. Actually, it&#8217;s like you are sitting in front of that computer although physically you aren&#8217;t there ( of course some things are disabled), but most of things can be done [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 5px" src="/images/teamviewer/teamviewer_logo.png" alt="Remote Desktop - TeamViewer Logo" align="left" /><a href="http://en.wikipedia.org/wiki/Remote_Desktop_Protocol"><strong>Remote Desktop</strong></a>, put simply, is a connection between two computers where one controls the other in a way where one sees the screen of other. Actually, it&#8217;s like you are sitting in front of that computer although physically you aren&#8217;t there ( of course some things are disabled), but most of things can be done and you are still in front of your own computer, at home. If you were in a situation where you must repair the software  on somebody&#8217;s computer you can just imagine how much Remote Desktop could make things easier because you don&#8217;t need to transport that computer because of some banal problem which you can simply solve at your home computer in the comfort of your own chair, whilst saving you time and money with the same productivity (software only, of course, because for hardware (unfortunately) you must have physical access to computer). There are a lot of solutions for Remote Desktop, Windows operating system have <strong><a href="http://www.microsoft.com/windowsXp/using/mobility/getstarted/Remoteintro.mspx">one</a></strong>, there are web solutions like <strong><a href="https://secure.logmein.com/home.asp?lang=en">LogMeIn</a></strong> (this company is also popular because of program <a href="https://secure.logmein.com/products/hamachi/vpn.asp"><strong>Hamachi</strong></a> for creating virtual LAN networks), and there are &#8220;normal&#8221; (programs) solutions from other companies representative of which is <a href="http://www.teamviewer.com/index.aspx"><strong>TeamViewer</strong></a>.<span id="more-12"></span></p>
<p>LogMeIn has its own advantages, but for more possibilities (which other programs don&#8217;t have) you need to pay some money, while for private usage TeamViewer is free and the best one for easily solving some simple problems which most users of Remote Desktop may want to solve. The one within the Windows operating system is good, but a little complicated. Here again, I mention TeamViewer because of programs <strong>simplicity </strong>- all you need to do is download one little application <em>(1,5MB)</em> onto the computer you want to remote control and it&#8217;s running <strong>(it&#8217;s doesn&#8217;t require an installation)</strong>, you&#8217;ll get your ID and password which you need to tell the other computer (which controls it) and at the same moment you connect to your computer you are connected. Of course, you can see how &#8220;someone&#8221; moves your mouse, looking for some pictures and similar. TeamViewer doesn&#8217;t require you to open some ports on the router, configuring some scripts or options you may have never heard of, everything is reduced to the <strong>most simple step</strong>. Compliments to the authors! In short, I&#8217;ll explain what you need to do so you could use Remote Desktop to connect to another computer with the TeamViewer program.</p>
<p>On the computer you want to remotely control, you need to download one little application <a href="http://www.teamviewer.com/download/TeamViewerQS.exe"><strong>TeamViewer Quick Support</strong></a>, size about <em>1,5MB</em> &#8211; you can tell the user of the computer over MSN, e-mail or something similar. After he has downloaded the application (the user which is in front of that computer), he needs to double click on it to open it. He will get the next window:</p>
<p style="text-align: center"><a href="/images/teamviewer/original/01.jpg"><img style="margin: 5px" src="/images/teamviewer/01_thumb.jpg" alt="Remote Desktop - TeamViewer" /></a></p>
<p>All you need to know (he could use telephone, email or something) is the <strong>ID </strong>and <strong>password </strong>which have been shown to him when he ran the program. And here is the ending of his painful job.</p>
<p>The user who will have control over Remote Desktop needs to download the whole application &#8211; <a href="http://www.teamviewer.com/download/TeamViewer_Setup.exe"><strong>TeamViewer</strong></a>. Installation is simple and without any complications. After you run the program, you&#8217;ll see this.</p>
<p style="text-align: center"><a href="/images/teamviewer/original/02.jpg"><img style="margin: 5px" src="/images/teamviewer/02_thumb.jpg" alt="Remote Desktop - TeamViewer" /></a></p>
<p>Probably, it is already clear to you how simple everything is, all you need to do is fill in the ID which you have from the user of the other (remotely controled) computer.</p>
<p>Then you need to choose <strong>Remote Desktop</strong> as an option. <strong>Presentation </strong>can be chosen, if you want to show your presentation to others (so then they will be watching at your computer, but they can&#8217;t manage it, they can only watch), <strong>File Transfer</strong> can be chosen if you just need to transfer some files (therefore, File Transfer can work in combination with Remote Desktop, simultaneously) and <strong>VPN </strong>for <em>virtual private networks</em> &#8211; for advanced users.</p>
<p style="text-align: center"><a href="/images/teamviewer/original/03.jpg"><img style="margin: 5px" src="/images/teamviewer/03_thumb.jpg" alt="Remote Desktop - TeamViewer" /></a></p>
<p>You&#8217;ll get a window for the password, of course, you also have to get it from the user from the other (remotely controlled) computer. Type in the password and click <em>Log On</em>.</p>
<p style="text-align: center"><a href="/images/teamviewer/original/04.jpg"><img style="margin: 5px" src="/images/teamviewer/04_thumb.jpg" alt="Remote Desktop - TeamViewer" /></a></p>
<p>That&#8217;s it, you are <strong>connected </strong>and you are staring at another computers screen, miles away from you.</p>
<p style="text-align: center"><a href="/images/teamviewer/original/06.jpg"><img style="margin: 5px" src="/images/teamviewer/06_thumb.jpg" alt="Remote Desktop - TeamViewer" /></a></p>
<p>If it&#8217;s little slow for you, you can change options under <em>View &#8211; Quality</em> and you can choose <em>Custom Settings</em> and <em>Edit custom settings&#8230;</em> put colour on <strong>Grayscale </strong>- black and white scale (no colours) what will speed up the connection (there is less information which needs to be transferred because there are no colours), and you could perform normal work in the black &#038; white variant.</p>
<p style="text-align: center"><a href="/images/teamviewer/original/05.jpg"><img style="margin: 5px" src="/images/teamviewer/05_thumb.jpg" alt="Remote Desktop - TeamViewer" /></a></p>
<p>You can record sessions (you can configure, so when you connect to somebody&#8217;s computer, it automatically starts recording a session &#8211; <em>TeamViewer &#8211; Extras &#8211; Options &#8211; Advanced &#8211; Session Recording</em>, where you can also choose the <em>location </em>of the recordings) with Extras &#8211; Record &#8211; Start/Stop (<strong>WARNING:</strong> sessions are recorded in <em>.tvs</em> format which you can watch only with TeamViewer program and they take up a little space (few MB for longer sessions). It&#8217;s possible to set up <strong>File Transfer</strong> &#8211; windows will pop-up and you&#8217;ll see on the left side of your computer, and on the right side remotely controlled computer with all the disks, partitions, files and folders. As you transfer files, the user in front of remotely controlled computer can see which of your folders are being accessed, what is being downloaded or uploaded and so on.</p>
<p style="text-align: center"><a href="/images/teamviewer/original/07.jpg"><img style="margin: 5px" src="/images/teamviewer/07_thumb.jpg" alt="Remote Desktop - TeamViewer" /></a><a href="/images/teamviewer/original/08.jpg"><img style="margin: 5px" src="/images/teamviewer/08_thumb.jpg" alt="Remote Desktop - TeamViewer" /></a></p>
<p>There are a lot more possibilites which I won&#8217;t mention nor describe them here (eg. chat with remotely controlled computer under <em>Extras &#8211; Chat</em>, <em>Reboot </em>computer and similar) &#8211; I&#8217;m leaving you some researching of this simple and minimalist program. I hope that <strong>Remote Desktop</strong> will save you time, money and nerves.</p>
]]></content:encoded>
			<wfw:commentRss>http://en.svebee.com/12/remote-desktop-teamviewer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
