<?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>cloud goes social &#187; web</title>
	<atom:link href="http://www.cloudgoessocial.net/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cloudgoessocial.net</link>
	<description>computer, travel, movies, music, cuisine and more</description>
	<lastBuildDate>Mon, 21 Mar 2011 21:58:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>ROR on Xampp on Win</title>
		<link>http://www.cloudgoessocial.net/2009/05/17/ror-on-xampp-on-win/</link>
		<comments>http://www.cloudgoessocial.net/2009/05/17/ror-on-xampp-on-win/#comments</comments>
		<pubDate>Sun, 17 May 2009 10:39:00 +0000</pubDate>
		<dc:creator>Cloud</dc:creator>
				<category><![CDATA[tips & howtos]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.cloudgoessocial.net/?p=94</guid>
		<description><![CDATA[For those who don&#8217;t understand the title don&#8217;t worry, this is a &#8220;technical&#8221; post: installing Ruby on Rails (ROR) over an existing XAMPP (Apache, PHP, MySQL, &#8230;) installation in Windows. For all of those who have somehow a Windows &#8220;server&#8221; used to test websites and want to install Ruby and the fantastic Ruby on Rails [...]]]></description>
			<content:encoded><![CDATA[<p>For those who don&#8217;t understand the title don&#8217;t worry, this is a <em>&#8220;technical&#8221;</em> post: installing Ruby on Rails (ROR) over an existing <a href="http://www.apachefriends.org/en/index.html">XAMPP</a> (Apache, PHP, MySQL, &#8230;) installation in Windows. For all of those who have somehow a Windows <em>&#8220;server&#8221;</em> used to test websites and want to install <a href="http://www.ruby-lang.org/en/">Ruby</a> and the fantastic <a href="http://www.rubyonrails.org/">Ruby on Rails</a> framework.</p>
<p><strong>Prerequisites</strong>: a working installation of XAMPP, in my example installed under: <strong>C:\xampp</strong>.</p>
<ol>
<li>Install ROR via the <em>&#8220;one click installer&#8221;</em> which can be found on the ROR site: <a href="http://rubyforge.org/frs/?group_id=167">installers list</a>. To have everything in one <em>&#8220;web-development directory&#8221;</em> when prompted by the installer choose <strong>C:\xampp\ruby</strong></li>
<li>Open the dreaded DOS-prompt or <strong>cmd</strong>: Start->Run->cmd</li>
<li>First off update gem, The version installed will stop whenever an update fails, to solve this update gem first. Let&#8217;s navigate to the ruby bin directory: <br /><code>cd C:\xampp\ruby\bin</code><br /> and then the command: <br /><code>gem update --system</code></li>
<li>Now all the <em>gems</em> are updated, install rails with this command:<br /><code>gem install rails --include-dependencies</code><br /> This will take a while especially for generating the whole documentation, don&#8217;t worry, everything is going all right, wait and be patient</li>
<li>Create a test application with the command:<br /><code>rails C:/xampp/htdocs/testapp</code><br /> If all went fine you will see some output saying that some files have been created. Rails is installed all fine</li>
<li>Now it&#8217;s time to create a Virtual Host in apache to test out our installation. Edit the file: <strong>C:xamppapacheconfextrahttpd-vhosts.conf</strong> with your favourite <em>good</em> editor. I always have installed <a href="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad++</a> and at the end add the following lines:
<pre class="brush: plain; title: ; notranslate">
## ROR
Listen 3000
&lt;VirtualHost *:3000&gt;
	ServerName ROR
	DocumentRoot &quot;C:\xampp\htdocs&quot;
	&lt;Directory &quot;C:\xampp\htdocs&quot;&gt;
		Options ExecCGI FollowSymLinks
		AllowOverride all
		Allow from all
		Order allow,deny
		AddHandler cgi-script .cgi
		AddHandler fastcgi-script .fcgi
	&lt;/Directory&gt;
&lt;/VirtualHost&gt;
## END-ROR
</pre>
</li>
<li>Restart apache from the XAMPP control panel and then go, on your favorite browser to:<br /><code>http://localhost:3000/testapp/public</code><br />To see if everything went fine, the page should look like this screenshot<br />
<div id="attachment_110" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.cloudgoessocial.net/wp-content/uploads/2009/05/picture-1.png" rel="lightbox[94]"><img src="http://www.cloudgoessocial.net/wp-content/uploads/2009/05/picture-1-300x210.png" alt="ROR installed on XAMPP in Windows" title="ROR installed and working" width="300" height="210" class="size-medium wp-image-110" /></a><p class="wp-caption-text">ROR installed on XAMPP in Windows</p></div>
</li>
</ol>
<h3>Versions</h3>
<p>At the moment of this writing this is the list of version numbers for the installed applications running and working as configured in this post:</p>
<ul>
<li>XAMPP: 1.6.6a</li>
<li>ruby -v: ruby 1.8.6 <2008-08-11 patchlevel 287> [i386-mswin32]</li>
<li>gem -v: 1.3.3</li>
<li>rails -v: Rails 2.3.2</li>
</ul>
<p>I would like to thank the author of <a href="http://peri.me/?p=73">this post</a> which is the starting point of my post. I just did some minor changes to remove some errors, especially when updating gems. Also I changed the file to edit to add the Virtual Host to keep things more clean in the <em>http.conf</em> file.</p>
<p>For any trouble don&#8217;t hesitate to contact me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudgoessocial.net/2009/05/17/ror-on-xampp-on-win/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Webradios on OSX: guide to easy listening</title>
		<link>http://www.cloudgoessocial.net/2009/04/17/webradios-on-osx-guide-to-easy-listening/</link>
		<comments>http://www.cloudgoessocial.net/2009/04/17/webradios-on-osx-guide-to-easy-listening/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 10:53:05 +0000</pubDate>
		<dc:creator>Cloud</dc:creator>
				<category><![CDATA[tips & howtos]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[webradio]]></category>

		<guid isPermaLink="false">http://www.cloudgoessocial.net/?p=31</guid>
		<description><![CDATA[I&#8217;m a huge fan of some radios which I&#8217;ve been listening to in my life. For example, while driving in Italy I usually listen to virginradio, while being in Sydney I used to listen to tripleM, both of which usually air good rock music without too much DJs and ads. YES! I want to listen [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a <em>huge</em> fan of some radios which I&#8217;ve been listening to in my life. For example, while driving in Italy I usually listen to <a href="http://www.virginradioitaly.it">virginradio</a>, while being in Sydney I used to listen to <a href="http://www.triplem.com.au/sydney">tripleM</a>, both of which usually air good rock music without too much DJs and ads.<br />
YES! I want to listen to music, not ads or people speaking!</p>
<p>Thankfully most radio stations nowadays also spot an internet streaming. Nightmarefully usually it&#8217;s a flash or WMP (Windows Media Player) streaming. Being a MacOSX user (mostly) or a Linux user (always &#8211; mostly: so basically the time I&#8217;m not on MacOSX) I found both formats bad. The first because it works once and not the other time, the second because while <em>more or less working</em> with <a href="http://www.apple.com/quicktime/">Quicktime</a> (+ some weird nasty plugin [<a href="http://www.telestream.net/flip4mac-wmv/overview.htm">flip4Mac</a>])</p>
<p><strong>ATTEMPTED SOLUTION</strong></p>
<p>What I usually do is easy &#8211; with example:</p>
<ol>
<li>Go to the webpage of the radio &#8211; <a href="http://www.triplem.com.au/sydney"> http://www.triplem.com.au/sydney</a></li>
<li>Find the &#8216;listen online&#8217; button<br />
<div id="attachment_32" class="wp-caption aligncenter" style="width: 349px"><a href="http://www.cloudgoessocial.net/wp-content/uploads/2009/04/listen_online.jpg" rel="lightbox[31]"><img src="http://www.cloudgoessocial.net/wp-content/uploads/2009/04/listen_online.jpg" alt="Listen Online Example for TripleM" title="Listen Online Example" width="339" height="91" class="size-full wp-image-32" /></a><p class="wp-caption-text">Listen Online Example for TripleM</p></div></li>
<li>Open up the source code for the page that the &#8216;listen online&#8217; opens up (usually they use pop-ups windows for such streamings) when there&#8217;s some kind of streaming going on</li>
<li>Search for something like:<br />
<code>asx</code><br />
Or alternatively if you don&#8217;t find any entry:<br />
<code>embed</code>
</li>
<li>
If in the step before you found the <strong>asx</strong> copy all the link, following our example:</p>
<pre class="brush: plain; title: ; notranslate">
...
id=&quot;WMPlayer&quot;
name=&quot;WMPlayer&quot;
src=&quot;http://resources.triplem.com.au/listenfeed/2mmmlivestream.asx&quot;
type=&quot;video/quicktime&quot;
...
</pre>
<p>let&#8217;s copy: <code> http://resources.triplem.com.au/listenfeed/2mmmlivestream.asx </code></p>
<p>If instead in the step before we found the <strong>embed</strong> keyword let&#8217;s look around it to find something like:</p>
<pre class="brush: plain; title: ; notranslate">
...
&lt;EMBED type=&quot;application/x-mplayer2&quot; pluginspage=&quot;http://www.microsoft.com/Windows/MediaPlayer/&quot;
SRC=&quot;http://151.1.245.1/20&quot; name=&quot;nnrVideoPlayer&quot;
autostart=&quot;1&quot; width=&quot;400&quot; height=&quot;70&quot; showcontrols=&quot;1&quot;&gt;
&lt;/EMBED&gt;
...
</pre>
<p>around the code there should be the <strong>src</strong> tag, such as in the example. Let&#8217;s therefore copy:<code> http://151.1.245.1/20 </code>
</li>
<li>
Open your favorite video/audio player, <strong>not</strong> iTunes, such as <a href="http://www.videolan.org/vlc/">VLC</a> and search for something called like &#8216;Open Network&#8217;. In our example, using VLC it&#8217;s: <strong>File->Open Network&#8230;</strong> or even faster the shortcut ⌘N and paste what you just copied:</p>
<p><div id="attachment_40" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.cloudgoessocial.net/wp-content/uploads/2009/04/vlc_open_network.jpg" rel="lightbox[31]"><img src="http://www.cloudgoessocial.net/wp-content/uploads/2009/04/vlc_open_network-300x217.jpg" alt="The right place to paste the information copied" title="VLC Open Network Dialog" width="300" height="217" class="size-medium wp-image-40" /></a><p class="wp-caption-text">The right place to paste the information copied</p></div>
</li>
<li>
Press <strong>OK</strong> and after some buffering time you should be listening to your favorite radio! And without any ads or needing to keep your browser or anything!
</li>
</ol>
<p>This is clearly and <em>hack solution</em> which may work for you or not. If you have problems with your radio streaming and the above solution don&#8217;t hesitate to contact me and I&#8217;ll look into it (whenever I&#8217;ll find some time).</p>
<p>Hope it helped!</p>
<p>ciop ciop</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudgoessocial.net/2009/04/17/webradios-on-osx-guide-to-easy-listening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://resources.triplem.com.au/listenfeed/2mmmlivestream.asx" length="195" type="video/x-ms-asf" />
		</item>
	</channel>
</rss>

