<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Wootten&#039;s Weblog</title>
	<atom:link href="http://www.ianwootten.co.uk/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ianwootten.co.uk</link>
	<description>Nifty Code and Random Musings</description>
	<lastBuildDate>Sat, 28 Jan 2012 21:02:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Book Review: Code Igniter for Rapid PHP Application Development by 40+ CodeIgniter Framework Tutorials for Kick-Ass PHP Application &#124; Best Open Source Resources for Web Developers &#124; Designers</title>
		<link>http://www.ianwootten.co.uk/2008/01/31/book-review-code-igniter-for-rapid-php-application-development/comment-page-1#comment-87854</link>
		<dc:creator>40+ CodeIgniter Framework Tutorials for Kick-Ass PHP Application &#124; Best Open Source Resources for Web Developers &#124; Designers</dc:creator>
		<pubDate>Sat, 28 Jan 2012 21:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/31/book-review-code-igniter-for-rapid-php-application-development/#comment-87854</guid>
		<description>[...] 29. Book Review: Code Igniter for Rapid PHP Application Development [...]</description>
		<content:encoded><![CDATA[<p>[...] 29. Book Review: Code Igniter for Rapid PHP Application Development [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blog rolling with CouchDB, Express and Node.js by jeangui</title>
		<link>http://www.ianwootten.co.uk/2011/02/07/blog-rolling-with-couchdb-express-and-node-js/comment-page-1#comment-87184</link>
		<dc:creator>jeangui</dc:creator>
		<pubDate>Wed, 18 Jan 2012 14:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=420#comment-87184</guid>
		<description>Hi Ian,

Thanks for your help. I did install sass (&lt;b&gt;npm install sass&lt;/b&gt; and &lt;b&gt;npm install sass -g&lt;/b&gt;) but it still doesnt work.
How shoud I debug this ?
Maybe a problem with Cloud9 ....

Regards
jg</description>
		<content:encoded><![CDATA[<p>Hi Ian,</p>
<p>Thanks for your help. I did install sass (<b>npm install sass</b> and <b>npm install sass -g</b>) but it still doesnt work.<br />
How shoud I debug this ?<br />
Maybe a problem with Cloud9 &#8230;.</p>
<p>Regards<br />
jg</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blog rolling with CouchDB, Express and Node.js by Ian</title>
		<link>http://www.ianwootten.co.uk/2011/02/07/blog-rolling-with-couchdb-express-and-node-js/comment-page-1#comment-87052</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Mon, 16 Jan 2012 16:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=420#comment-87052</guid>
		<description>Jeangui - You don&#039;t need to explicitly require sass, although you&#039;ll need to install it with npm. It&#039;s pulled into express in the line &lt;code&gt;app.use(express.compiler({ src: __dirname + &#039;/views&#039;, enable: [&#039;sass&#039;] }));&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>Jeangui &#8211; You don&#8217;t need to explicitly require sass, although you&#8217;ll need to install it with npm. It&#8217;s pulled into express in the line <code>app.use(express.compiler({ src: __dirname + '/views', enable: ['sass'] }));</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blog rolling with CouchDB, Express and Node.js by jeangui</title>
		<link>http://www.ianwootten.co.uk/2011/02/07/blog-rolling-with-couchdb-express-and-node-js/comment-page-1#comment-87048</link>
		<dc:creator>jeangui</dc:creator>
		<pubDate>Mon, 16 Jan 2012 16:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=420#comment-87048</guid>
		<description>Hi,

Thanks a lot for your tutorial ! It is a very good starting point to learn node.js and play with couchdb.

Everything is going fine from my side but there is still a problem with the style sass compilation. First the link to the style.css.sass file is broken so I did create one from scratch :
&lt;code&gt;
body
  font-family &quot;Helvetica Neue&quot;, &quot;Lucida Grande&quot;, &quot;Arial&quot;
  font-size 13px
  text-align center
  text-stroke 1px rgba(255, 255, 255, 0.1)
  color #555
h1, h2
  margin 0
  font-size 22px
  color #343434
h1
  text-shadow 1px 2px 2px #ddd
  font-size 60px
#articles
  text-align left
  margin-left auto
  margin-right auto
  width 320px
  .article
    margin 20px
    .created_at
        display none
    .title
        font-weight bold
        text-decoration underline
        background-color #eee
    .body
        background-color #ffa
&lt;/code&gt;

I put it in the views/style.css.sass file...

But my web page are never styled. I should miss something.

I am working with cloud9. I did install sass and put 

&lt;code&gt;
var sass = require(&#039;sass&#039;);
&lt;/code&gt;
on top of the app.js file.

Thanks in advance for your help.

Best regards.

Jeangui</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks a lot for your tutorial ! It is a very good starting point to learn node.js and play with couchdb.</p>
<p>Everything is going fine from my side but there is still a problem with the style sass compilation. First the link to the style.css.sass file is broken so I did create one from scratch :<br />
<code><br />
body<br />
  font-family "Helvetica Neue", "Lucida Grande", "Arial"<br />
  font-size 13px<br />
  text-align center<br />
  text-stroke 1px rgba(255, 255, 255, 0.1)<br />
  color #555<br />
h1, h2<br />
  margin 0<br />
  font-size 22px<br />
  color #343434<br />
h1<br />
  text-shadow 1px 2px 2px #ddd<br />
  font-size 60px<br />
#articles<br />
  text-align left<br />
  margin-left auto<br />
  margin-right auto<br />
  width 320px<br />
  .article<br />
    margin 20px<br />
    .created_at<br />
        display none<br />
    .title<br />
        font-weight bold<br />
        text-decoration underline<br />
        background-color #eee<br />
    .body<br />
        background-color #ffa<br />
</code></p>
<p>I put it in the views/style.css.sass file&#8230;</p>
<p>But my web page are never styled. I should miss something.</p>
<p>I am working with cloud9. I did install sass and put </p>
<p><code><br />
var sass = require('sass');<br />
</code><br />
on top of the app.js file.</p>
<p>Thanks in advance for your help.</p>
<p>Best regards.</p>
<p>Jeangui</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Goodbye 1 &amp; 1 by Ian</title>
		<link>http://www.ianwootten.co.uk/2012/01/12/goodbye-1-1/comment-page-1#comment-86813</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Fri, 13 Jan 2012 15:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=503#comment-86813</guid>
		<description>My sentiments exactly. 

I think with the fact that it&#039;s now really trivial to move between registraars as well this is just the kick in the bum I need to move elsewhere.</description>
		<content:encoded><![CDATA[<p>My sentiments exactly. </p>
<p>I think with the fact that it&#8217;s now really trivial to move between registraars as well this is just the kick in the bum I need to move elsewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Goodbye 1 &amp; 1 by Carl Morris</title>
		<link>http://www.ianwootten.co.uk/2012/01/12/goodbye-1-1/comment-page-1#comment-86804</link>
		<dc:creator>Carl Morris</dc:creator>
		<pubDate>Fri, 13 Jan 2012 13:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=503#comment-86804</guid>
		<description>Ian, I&#039;ve had a very similar gripe with 1&amp;1 recently. I&#039;ve been receiving calls and letters even though my account is up-to-date. Somewhere along the line they&#039;ve lost the plot - the fact they use an external agency called Arvato for collections is probably part of the problem. Also they make it sound like a mortgage payment or something when the amount in question is about £10.</description>
		<content:encoded><![CDATA[<p>Ian, I&#8217;ve had a very similar gripe with 1&amp;1 recently. I&#8217;ve been receiving calls and letters even though my account is up-to-date. Somewhere along the line they&#8217;ve lost the plot &#8211; the fact they use an external agency called Arvato for collections is probably part of the problem. Also they make it sound like a mortgage payment or something when the amount in question is about £10.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blog rolling with CouchDB, Express and Node.js by Node.js experiment part 1: Defining my experiment &#171; BaconFriedRice.com</title>
		<link>http://www.ianwootten.co.uk/2011/02/07/blog-rolling-with-couchdb-express-and-node-js/comment-page-1#comment-86653</link>
		<dc:creator>Node.js experiment part 1: Defining my experiment &#171; BaconFriedRice.com</dc:creator>
		<pubDate>Wed, 11 Jan 2012 10:20:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=420#comment-86653</guid>
		<description>[...] hosting.  I actually think that after I finish the blog tutorial with MongoDB, I&#8217;ll do this blog tutorial with CouchDB and see which I like using better.  That&#8217;s probably a better way to decide after [...]</description>
		<content:encoded><![CDATA[<p>[...] hosting.  I actually think that after I finish the blog tutorial with MongoDB, I&#8217;ll do this blog tutorial with CouchDB and see which I like using better.  That&#8217;s probably a better way to decide after [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hosting an Octopress Blog on Amazon S3 by Ian</title>
		<link>http://www.ianwootten.co.uk/2011/09/09/hosting-an-octopress-blog-on-amazon-s3/comment-page-1#comment-86004</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Mon, 02 Jan 2012 00:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=482#comment-86004</guid>
		<description>In time, maybe. For what started out as a personal blog, it&#039;s kind of weird for me to think of moving many of my more personal posts over into an octopress world.

That said - I do really appreciate it&#039;s simplicity for a technical content. Given that&#039;s what the vast majority of my blog is now I may well end up moving across. I&#039;d be sad to leave wordpress though, I&#039;m a veteran.</description>
		<content:encoded><![CDATA[<p>In time, maybe. For what started out as a personal blog, it&#8217;s kind of weird for me to think of moving many of my more personal posts over into an octopress world.</p>
<p>That said &#8211; I do really appreciate it&#8217;s simplicity for a technical content. Given that&#8217;s what the vast majority of my blog is now I may well end up moving across. I&#8217;d be sad to leave wordpress though, I&#8217;m a veteran.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hosting an Octopress Blog on Amazon S3 by James</title>
		<link>http://www.ianwootten.co.uk/2011/09/09/hosting-an-octopress-blog-on-amazon-s3/comment-page-1#comment-86002</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 02 Jan 2012 00:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=482#comment-86002</guid>
		<description>Nice post, but will you be switching to Octopress for your blog?</description>
		<content:encoded><![CDATA[<p>Nice post, but will you be switching to Octopress for your blog?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintaining References to Sockets with Express and Socket.io by Andy</title>
		<link>http://www.ianwootten.co.uk/2011/07/04/maintaining-references-to-sockets-with-express-and-socket-io/comment-page-1#comment-84600</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 16 Dec 2011 21:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/?p=462#comment-84600</guid>
		<description>Hello Ian,

Going from what Bosky and alessio have written, I think what you want to do is something like what I&#039;ve described below.  When a new connection is established, add that socket connection to a list of sockets, which I&#039;ve named &lt;i&gt;clients&lt;/i&gt;:


io.sockets.on(&#039;connection&#039;, function(client) {

    // Adds socket to list of sockets
    clients.push(client);

    // Removes socket from list	of sockets
    client.on(&#039;disconnect&#039;, function() {
        clients.splice(clients.indexOf(client), 1);
    });
});


Then later, when you want to broadcast over those sockets with some sort of message, then iterate over that list of sockets like so:

&lt;code&gt;
app.get(&#039;/dosomething&#039;, function (req, res) {

    console.log(&#039;there are currently &#039; + clients.length + &#039; connections.&#039;);

    for(var i = 0; i &lt; clients.length; i++) {
        (clients[i]).emit(&#039;msg&#039;,&#039;yo&#039;);
    }
    res.send(&#039;Hi&#039;); // msg sent	to
});
&lt;/code&gt;

In that example, I am using /dosomething as a trigger to send a message over all the connections.

I&#039;m not sure this is the preferred way to do such a thing, but it works for now.  Maybe there&#039;s a better way, but since I have about 1 week of socket.io experience, this way is what I&#039;m going with.  :)


Andy</description>
		<content:encoded><![CDATA[<p>Hello Ian,</p>
<p>Going from what Bosky and alessio have written, I think what you want to do is something like what I&#8217;ve described below.  When a new connection is established, add that socket connection to a list of sockets, which I&#8217;ve named <i>clients</i>:</p>
<p>io.sockets.on(&#8216;connection&#8217;, function(client) {</p>
<p>    // Adds socket to list of sockets<br />
    clients.push(client);</p>
<p>    // Removes socket from list	of sockets<br />
    client.on(&#8216;disconnect&#8217;, function() {<br />
        clients.splice(clients.indexOf(client), 1);<br />
    });<br />
});</p>
<p>Then later, when you want to broadcast over those sockets with some sort of message, then iterate over that list of sockets like so:</p>
<p><code><br />
app.get('/dosomething', function (req, res) {</p>
<p>    console.log('there are currently ' + clients.length + ' connections.');</p>
<p>    for(var i = 0; i &lt; clients.length; i++) {<br />
        (clients[i]).emit(&#039;msg&#039;,&#039;yo&#039;);<br />
    }<br />
    res.send(&#039;Hi&#039;); // msg sent	to<br />
});<br />
</code></p>
<p>In that example, I am using /dosomething as a trigger to send a message over all the connections.</p>
<p>I&#8217;m not sure this is the preferred way to do such a thing, but it works for now.  Maybe there&#8217;s a better way, but since I have about 1 week of socket.io experience, this way is what I&#8217;m going with.  <img src='http://www.ianwootten.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

